summaryrefslogtreecommitdiff
path: root/apps/graphics/traveler/include/trv_graphics.h
diff options
context:
space:
mode:
Diffstat (limited to 'apps/graphics/traveler/include/trv_graphics.h')
-rw-r--r--apps/graphics/traveler/include/trv_graphics.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/apps/graphics/traveler/include/trv_graphics.h b/apps/graphics/traveler/include/trv_graphics.h
index 69790e627..b51a8d4fc 100644
--- a/apps/graphics/traveler/include/trv_graphics.h
+++ b/apps/graphics/traveler/include/trv_graphics.h
@@ -86,14 +86,16 @@ struct trv_graphics_info_s
NXHANDLE hnx; /* The connection handle */
NXHANDLE bgwnd; /* Background window handle */
#else
- trv_coord_t stride; /* Length of a line in bytes */
+ trv_coord_t hoffset; /* Horizontal to start of data (in columns) */
+ trv_coord_t voffset; /* Offset to start of data (in rows) */
+ trv_coord_t stride; /* Length of a line (in bytes) */
#endif
trv_coord_t hwwidth; /* Display width (pixels) */
trv_coord_t hwheight; /* Display height (rows) */
trv_coord_t swwidth; /* Software render width (pixels) */
trv_coord_t swheight; /* Software render height height (rows) */
- uint8_t vscale; /* Log2 vertical image scale factor */
- uint8_t hscale; /* Log2 horizontal image scale factor */
+ uint8_t vscale; /* Vertical image scale factor */
+ uint8_t hscale; /* Horizontal image scale factor */
struct trv_palette_s palette; /* Color palette */
FAR dev_pixel_t *hwbuffer; /* Hardware frame buffer */
FAR trv_pixel_t *swbuffer; /* Software render buffer */