summaryrefslogtreecommitdiff
path: root/include/expo.h
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2025-05-02 08:46:31 -0600
committerSimon Glass <sjg@chromium.org>2025-05-30 09:49:32 +0100
commit8aa384d01a079ec2d816f7051a7208a337727338 (patch)
tree88d8384ab93ad5d261238f056e0b68bfc485c97d /include/expo.h
parent85a2954c29cf8631ccd0fb2c2c348711f8b5260e (diff)
expo: Rename x and y in struct scene_obj_bbox
These coordinates are the top left values, so rename them to x0 and y0 in preparation for changing the width and height to x1 and y1 Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'include/expo.h')
-rw-r--r--include/expo.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/expo.h b/include/expo.h
index 42e934e3ff2..84dc77f771e 100644
--- a/include/expo.h
+++ b/include/expo.h
@@ -194,14 +194,14 @@ enum scene_obj_t {
/**
* struct scene_obj_bbox - Dimensions of an object
*
- * @x: x position, in pixels from left side
- * @y: y position, in pixels from top
+ * @x0: x position, in pixels from left side
+ * @y0: y position, in pixels from top
* @w: width, in pixels
* @h: height, in pixels
*/
struct scene_obj_bbox {
- int x;
- int y;
+ int x0;
+ int y0;
int w;
int h;
};