diff options
Diffstat (limited to 'src/gwin/gwin_keyboard.c')
-rw-r--r-- | src/gwin/gwin_keyboard.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gwin/gwin_keyboard.c b/src/gwin/gwin_keyboard.c index b8a54e8e..f75c2bee 100644 --- a/src/gwin/gwin_keyboard.c +++ b/src/gwin/gwin_keyboard.c @@ -174,7 +174,7 @@ static void SendVirtualKeyEvent(GKeyboardObject *gk) { #if GINPUT_NEED_MOUSE // Find the key from the keyset and the x, y position - static void KeyFindKey(GKeyboardObject *gk, coord_t x, coord_t y) { + static void KeyFindKey(GKeyboardObject *gk, gCoord x, gCoord y) { const utf8 *krow; fixed f; int idx; @@ -210,7 +210,7 @@ static void SendVirtualKeyEvent(GKeyboardObject *gk) { } // A mouse up has occurred (it may or may not be over the button) - static void KeyMouseUp(GWidgetObject *gw, coord_t x, coord_t y) { + static void KeyMouseUp(GWidgetObject *gw, gCoord x, gCoord y) { #define gk ((GKeyboardObject *)gw) KeyFindKey(gk, x, y); @@ -281,7 +281,7 @@ static void SendVirtualKeyEvent(GKeyboardObject *gk) { } // A mouse move has occurred (it may or may not be over the button) - static void KeyMouseMove(GWidgetObject *gw, coord_t x, coord_t y) { + static void KeyMouseMove(GWidgetObject *gw, gCoord x, gCoord y) { #define gk ((GKeyboardObject *)gw) KeyFindKey(gk, x, y); @@ -392,7 +392,7 @@ void gwinKeyboardDraw_Normal(GWidgetObject *gw, void *param) { char cap[5]; const char *pcap; const utf8 *krow; - coord_t x, y, cx, cy; + gCoord x, y, cx, cy; uint8_t rows, cols, row, col, kcols; ucode key; fixed fx, fy; |