Changeset 1822545 in mainline for uspace/lib/guigfx/src/canvas.c


Ignore:
Timestamp:
2019-10-21T00:17:28Z (5 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
7b882c1f
Parents:
d18f3b7
Message:

Add typedef for scalar coordinate

Because today I feel like adding it

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/guigfx/src/canvas.c

    rd18f3b7 r1822545  
    9595{
    9696        canvas_gc_t *cgc = (canvas_gc_t *) arg;
    97         int x, y;
     97        gfx_coord_t x, y;
    9898
    9999        // XXX We should handle p0.x > p1.x and p0.y > p1.y
     
    188188        canvas_gc_t *cgc = (canvas_gc_t *) arg;
    189189        canvas_gc_bitmap_t *cbm = NULL;
    190         int w, h;
     190        gfx_coord_t w, h;
    191191        errno_t rc;
    192192
Note: See TracChangeset for help on using the changeset viewer.