aboutsummaryrefslogtreecommitdiffstats
path: root/src/gwin
diff options
context:
space:
mode:
authorinmarket <inmarket@ugfx.org>2016-08-24 17:48:09 +1000
committerinmarket <inmarket@ugfx.org>2016-08-24 17:48:09 +1000
commitea0419c29bc4aed1b60662d781d94382dcb8e336 (patch)
tree58899faf33276a2809cbe59228be0e7bf1a8e4fb /src/gwin
parentbc336ee15fe5fbf732e82986be234afc85c4c56e (diff)
downloaduGFX-ea0419c29bc4aed1b60662d781d94382dcb8e336.tar.gz
uGFX-ea0419c29bc4aed1b60662d781d94382dcb8e336.tar.bz2
uGFX-ea0419c29bc4aed1b60662d781d94382dcb8e336.zip
Tidy up function names in the gwin virtual keyboard
Diffstat (limited to 'src/gwin')
-rw-r--r--src/gwin/gwin_keyboard.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/gwin/gwin_keyboard.c b/src/gwin/gwin_keyboard.c
index 45021910..b8a54e8e 100644
--- a/src/gwin/gwin_keyboard.c
+++ b/src/gwin/gwin_keyboard.c
@@ -114,7 +114,7 @@ static int NumKeyRows(const char **keyset) {
return len;
}
-static void _SendKeyboardEventToListener(GSourceListener *psl, GKeyboardObject *gk) {
+static void SendVirtualKeyEventToListener(GSourceListener *psl, GKeyboardObject *gk) {
GEventKeyboard *pe;
const GVSpecialKey *skey;
unsigned i;
@@ -157,18 +157,18 @@ static void _SendKeyboardEventToListener(GSourceListener *psl, GKeyboardObject *
geventSendEvent(psl);
}
-static void _SendKeyboardEvent(GKeyboardObject *gk) {
+static void SendVirtualKeyEvent(GKeyboardObject *gk) {
GSourceListener *psl;
// Send to the "All Keyboards" source listeners
psl = 0;
while ((psl = geventGetSourceListener(AllKeyboards, psl)))
- _SendKeyboardEventToListener(psl, gk);
+ SendVirtualKeyEventToListener(psl, gk);
// Send to the keyboard specific source listeners
psl = 0;
while ((psl = geventGetSourceListener((GSourceHandle)gk, psl)))
- _SendKeyboardEventToListener(psl, gk);
+ SendVirtualKeyEventToListener(psl, gk);
}
@@ -257,7 +257,7 @@ static void _SendKeyboardEvent(GKeyboardObject *gk) {
// Send the key if required
if (skey->sendkey && skey->sendkey[0])
- _SendKeyboardEvent(gk);
+ SendVirtualKeyEvent(gk);
// Update the display
_gwinUpdate((GHandle)gw);
@@ -274,7 +274,7 @@ static void _SendKeyboardEvent(GKeyboardObject *gk) {
}
// Send the key
- _SendKeyboardEvent(gk);
+ SendVirtualKeyEvent(gk);
// Update the display
_gwinUpdate((GHandle)gw);