aboutsummaryrefslogtreecommitdiffstats
path: root/src/gwin/gwin_keyboard.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gwin/gwin_keyboard.c')
-rw-r--r--src/gwin/gwin_keyboard.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/gwin/gwin_keyboard.c b/src/gwin/gwin_keyboard.c
index 88d97583..70257f36 100644
--- a/src/gwin/gwin_keyboard.c
+++ b/src/gwin/gwin_keyboard.c
@@ -17,12 +17,12 @@
#include "gwin_class.h"
#include "gwin_keyboard_layout.h"
-typedef uint8_t utf8;
-typedef uint16_t utf16;
-typedef uint32_t utf32;
+typedef gU8 utf8;
+typedef gU16 utf16;
+typedef gU32 utf32;
// A character code - note this is not UTF-32 but a representation of the UTF-8 code stream for a single character.
-typedef uint32_t ucode;
+typedef gU32 ucode;
static GSourceHandle AllKeyboards;
@@ -393,7 +393,7 @@ void gwinKeyboardDraw_Normal(GWidgetObject *gw, void *param) {
const char *pcap;
const utf8 *krow;
gCoord x, y, cx, cy;
- uint8_t rows, cols, row, col, kcols;
+ gU8 rows, cols, row, col, kcols;
ucode key;
fixed fx, fy;
const GColorSet *pcol;