Changeset 1822545 in mainline
- Timestamp:
- 2019-10-21T00:17:28Z (5 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 7b882c1f
- Parents:
- d18f3b7
- Location:
- uspace
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/gfxdemo/gfxdemo.c
rd18f3b7 r1822545 54 54 * @param h Height 55 55 */ 56 static errno_t demo_rects(gfx_context_t *gc, int w, int h)56 static errno_t demo_rects(gfx_context_t *gc, gfx_coord_t w, gfx_coord_t h) 57 57 { 58 58 gfx_color_t *color = NULL; … … 96 96 * @param h Height 97 97 */ 98 static errno_t demo_bitmap(gfx_context_t *gc, int w, int h)98 static errno_t demo_bitmap(gfx_context_t *gc, gfx_coord_t w, gfx_coord_t h) 99 99 { 100 100 gfx_bitmap_t *bitmap; … … 160 160 * @param h Height 161 161 */ 162 static errno_t demo_loop(gfx_context_t *gc, int w, int h)162 static errno_t demo_loop(gfx_context_t *gc, gfx_coord_t w, gfx_coord_t h) 163 163 { 164 164 errno_t rc; … … 215 215 surface_t *surface = NULL; 216 216 canvas_t *canvas = NULL; 217 int vw, vh;217 gfx_coord_t vw, vh; 218 218 errno_t rc; 219 219 -
uspace/lib/congfx/src/console.c
rd18f3b7 r1822545 92 92 console_gc_t *cgc = (console_gc_t *) arg; 93 93 int rv; 94 int x, y;94 gfx_coord_t x, y; 95 95 96 96 // XXX We should handle p0.x > p1.x and p0.y > p1.y … … 191 191 console_gc_t *cgc = (console_gc_t *) arg; 192 192 console_gc_bitmap_t *cbm = NULL; 193 int w, h;193 gfx_coord_t w, h; 194 194 errno_t rc; 195 195 … … 250 250 { 251 251 console_gc_bitmap_t *cbm = (console_gc_bitmap_t *)bm; 252 int x, y;252 gfx_coord_t x, y; 253 253 int rv; 254 254 pixel_t clr; -
uspace/lib/gfx/include/types/gfx/coord.h
rd18f3b7 r1822545 40 40 #include <stdint.h> 41 41 42 typedef int gfx_coord_t; 43 42 44 typedef struct { 43 int x;44 int y;45 gfx_coord_t x; 46 gfx_coord_t y; 45 47 } gfx_coord2_t; 46 48 -
uspace/lib/guigfx/src/canvas.c
rd18f3b7 r1822545 95 95 { 96 96 canvas_gc_t *cgc = (canvas_gc_t *) arg; 97 int x, y;97 gfx_coord_t x, y; 98 98 99 99 // XXX We should handle p0.x > p1.x and p0.y > p1.y … … 188 188 canvas_gc_t *cgc = (canvas_gc_t *) arg; 189 189 canvas_gc_bitmap_t *cbm = NULL; 190 int w, h;190 gfx_coord_t w, h; 191 191 errno_t rc; 192 192 -
uspace/srv/hid/display/output.c
rd18f3b7 r1822545 49 49 surface_t *surface = NULL; 50 50 canvas_t *canvas = NULL; 51 int vw, vh;51 gfx_coord_t vw, vh; 52 52 errno_t rc; 53 53
Note:
See TracChangeset
for help on using the changeset viewer.