s/KEYOBARD/KEYBOARD/g
authorMichael Jennings <mej@kainx.org>
Fri, 25 Jul 2008 02:21:03 +0000 (02:21 +0000)
committerMichael Jennings <mej@kainx.org>
Fri, 25 Jul 2008 02:21:03 +0000 (02:21 +0000)
SVN revision: 35210

legacy/ecore/src/lib/ecore_x/Ecore_X.h
legacy/ecore/src/lib/ecore_x/xlib/ecore_x_e.c

index 2631cb3..050e9bc 100644 (file)
@@ -986,16 +986,16 @@ typedef enum _Ecore_X_Window_Configure_Mask {
 } Ecore_X_Window_Configure_Mask;
 
 typedef enum _Ecore_X_Virtual_Keyboard_State {
-    ECORE_X_VIRTUAL_KEYOBARD_STATE_UNKNOWN = 0,
-    ECORE_X_VIRTUAL_KEYOBARD_STATE_OFF,
-    ECORE_X_VIRTUAL_KEYOBARD_STATE_ON,
-    ECORE_X_VIRTUAL_KEYOBARD_STATE_ALPHA,
-    ECORE_X_VIRTUAL_KEYOBARD_STATE_NUMERIC,
-    ECORE_X_VIRTUAL_KEYOBARD_STATE_PIN,
-    ECORE_X_VIRTUAL_KEYOBARD_STATE_PHONE_NUMBER,
-    ECORE_X_VIRTUAL_KEYOBARD_STATE_HEX,
-    ECORE_X_VIRTUAL_KEYOBARD_STATE_TERMINAL,
-    ECORE_X_VIRTUAL_KEYOBARD_STATE_PASSWORD
+    ECORE_X_VIRTUAL_KEYBOARD_STATE_UNKNOWN = 0,
+    ECORE_X_VIRTUAL_KEYBOARD_STATE_OFF,
+    ECORE_X_VIRTUAL_KEYBOARD_STATE_ON,
+    ECORE_X_VIRTUAL_KEYBOARD_STATE_ALPHA,
+    ECORE_X_VIRTUAL_KEYBOARD_STATE_NUMERIC,
+    ECORE_X_VIRTUAL_KEYBOARD_STATE_PIN,
+    ECORE_X_VIRTUAL_KEYBOARD_STATE_PHONE_NUMBER,
+    ECORE_X_VIRTUAL_KEYBOARD_STATE_HEX,
+    ECORE_X_VIRTUAL_KEYBOARD_STATE_TERMINAL,
+    ECORE_X_VIRTUAL_KEYBOARD_STATE_PASSWORD
 } Ecore_X_Virtual_Keyboard_State;
 
 
index 1bc4457..e36d04a 100644 (file)
@@ -47,16 +47,16 @@ ecore_x_e_virtual_keyboard_get(Ecore_X_Window win)
 static Ecore_X_Virtual_Keyboard_State
 _ecore_x_e_vkbd_state_get(Ecore_X_Atom atom)
 {
-   if (atom == ECORE_X_ATOM_E_VIRTUAL_KEYBOARD_ON) return ECORE_X_VIRTUAL_KEYOBARD_STATE_ON;
-   if (atom == ECORE_X_ATOM_E_VIRTUAL_KEYBOARD_OFF) return ECORE_X_VIRTUAL_KEYOBARD_STATE_OFF;
-   if (atom == ECORE_X_ATOM_E_VIRTUAL_KEYBOARD_ALPHA) return ECORE_X_VIRTUAL_KEYOBARD_STATE_ALPHA;
-   if (atom == ECORE_X_ATOM_E_VIRTUAL_KEYBOARD_NUMERIC) return ECORE_X_VIRTUAL_KEYOBARD_STATE_NUMERIC;
-   if (atom == ECORE_X_ATOM_E_VIRTUAL_KEYBOARD_PIN) return ECORE_X_VIRTUAL_KEYOBARD_STATE_PIN;
-   if (atom == ECORE_X_ATOM_E_VIRTUAL_KEYBOARD_PHONE_NUMBER) return ECORE_X_VIRTUAL_KEYOBARD_STATE_PHONE_NUMBER;
-   if (atom == ECORE_X_ATOM_E_VIRTUAL_KEYBOARD_HEX) return ECORE_X_VIRTUAL_KEYOBARD_STATE_HEX;
-   if (atom == ECORE_X_ATOM_E_VIRTUAL_KEYBOARD_TERMINAL) return ECORE_X_VIRTUAL_KEYOBARD_STATE_TERMINAL;
-   if (atom == ECORE_X_ATOM_E_VIRTUAL_KEYBOARD_PASSWORD) return ECORE_X_VIRTUAL_KEYOBARD_STATE_PASSWORD;
-   return ECORE_X_VIRTUAL_KEYOBARD_STATE_UNKNOWN;
+   if (atom == ECORE_X_ATOM_E_VIRTUAL_KEYBOARD_ON) return ECORE_X_VIRTUAL_KEYBOARD_STATE_ON;
+   if (atom == ECORE_X_ATOM_E_VIRTUAL_KEYBOARD_OFF) return ECORE_X_VIRTUAL_KEYBOARD_STATE_OFF;
+   if (atom == ECORE_X_ATOM_E_VIRTUAL_KEYBOARD_ALPHA) return ECORE_X_VIRTUAL_KEYBOARD_STATE_ALPHA;
+   if (atom == ECORE_X_ATOM_E_VIRTUAL_KEYBOARD_NUMERIC) return ECORE_X_VIRTUAL_KEYBOARD_STATE_NUMERIC;
+   if (atom == ECORE_X_ATOM_E_VIRTUAL_KEYBOARD_PIN) return ECORE_X_VIRTUAL_KEYBOARD_STATE_PIN;
+   if (atom == ECORE_X_ATOM_E_VIRTUAL_KEYBOARD_PHONE_NUMBER) return ECORE_X_VIRTUAL_KEYBOARD_STATE_PHONE_NUMBER;
+   if (atom == ECORE_X_ATOM_E_VIRTUAL_KEYBOARD_HEX) return ECORE_X_VIRTUAL_KEYBOARD_STATE_HEX;
+   if (atom == ECORE_X_ATOM_E_VIRTUAL_KEYBOARD_TERMINAL) return ECORE_X_VIRTUAL_KEYBOARD_STATE_TERMINAL;
+   if (atom == ECORE_X_ATOM_E_VIRTUAL_KEYBOARD_PASSWORD) return ECORE_X_VIRTUAL_KEYBOARD_STATE_PASSWORD;
+   return ECORE_X_VIRTUAL_KEYBOARD_STATE_UNKNOWN;
 }
 
 static Ecore_X_Atom
@@ -64,15 +64,15 @@ _ecore_x_e_vkbd_atom_get(Ecore_X_Virtual_Keyboard_State state)
 {
    switch (state)
      {
-      case ECORE_X_VIRTUAL_KEYOBARD_STATE_OFF: return ECORE_X_ATOM_E_VIRTUAL_KEYBOARD_OFF;
-      case ECORE_X_VIRTUAL_KEYOBARD_STATE_ON: return ECORE_X_ATOM_E_VIRTUAL_KEYBOARD_ON;
-      case ECORE_X_VIRTUAL_KEYOBARD_STATE_ALPHA: return ECORE_X_ATOM_E_VIRTUAL_KEYBOARD_ALPHA;
-      case ECORE_X_VIRTUAL_KEYOBARD_STATE_NUMERIC: return ECORE_X_ATOM_E_VIRTUAL_KEYBOARD_NUMERIC;
-      case ECORE_X_VIRTUAL_KEYOBARD_STATE_PIN: return ECORE_X_ATOM_E_VIRTUAL_KEYBOARD_PIN;
-      case ECORE_X_VIRTUAL_KEYOBARD_STATE_PHONE_NUMBER: return ECORE_X_ATOM_E_VIRTUAL_KEYBOARD_PHONE_NUMBER;
-      case ECORE_X_VIRTUAL_KEYOBARD_STATE_HEX: return ECORE_X_ATOM_E_VIRTUAL_KEYBOARD_HEX;
-      case ECORE_X_VIRTUAL_KEYOBARD_STATE_TERMINAL: return ECORE_X_ATOM_E_VIRTUAL_KEYBOARD_TERMINAL;
-      case ECORE_X_VIRTUAL_KEYOBARD_STATE_PASSWORD: return ECORE_X_ATOM_E_VIRTUAL_KEYBOARD_PASSWORD;
+      case ECORE_X_VIRTUAL_KEYBOARD_STATE_OFF: return ECORE_X_ATOM_E_VIRTUAL_KEYBOARD_OFF;
+      case ECORE_X_VIRTUAL_KEYBOARD_STATE_ON: return ECORE_X_ATOM_E_VIRTUAL_KEYBOARD_ON;
+      case ECORE_X_VIRTUAL_KEYBOARD_STATE_ALPHA: return ECORE_X_ATOM_E_VIRTUAL_KEYBOARD_ALPHA;
+      case ECORE_X_VIRTUAL_KEYBOARD_STATE_NUMERIC: return ECORE_X_ATOM_E_VIRTUAL_KEYBOARD_NUMERIC;
+      case ECORE_X_VIRTUAL_KEYBOARD_STATE_PIN: return ECORE_X_ATOM_E_VIRTUAL_KEYBOARD_PIN;
+      case ECORE_X_VIRTUAL_KEYBOARD_STATE_PHONE_NUMBER: return ECORE_X_ATOM_E_VIRTUAL_KEYBOARD_PHONE_NUMBER;
+      case ECORE_X_VIRTUAL_KEYBOARD_STATE_HEX: return ECORE_X_ATOM_E_VIRTUAL_KEYBOARD_HEX;
+      case ECORE_X_VIRTUAL_KEYBOARD_STATE_TERMINAL: return ECORE_X_ATOM_E_VIRTUAL_KEYBOARD_TERMINAL;
+      case ECORE_X_VIRTUAL_KEYBOARD_STATE_PASSWORD: return ECORE_X_ATOM_E_VIRTUAL_KEYBOARD_PASSWORD;
       default: return 0;
      }
    return 0;
@@ -96,7 +96,7 @@ ecore_x_e_virtual_keyboard_state_get(Ecore_X_Window win)
    
    if (!ecore_x_window_prop_atom_get(win, ECORE_X_ATOM_E_VIRTUAL_KEYBOARD_STATE,
                                     &atom, 1))
-     return ECORE_X_VIRTUAL_KEYOBARD_STATE_UNKNOWN;
+     return ECORE_X_VIRTUAL_KEYBOARD_STATE_UNKNOWN;
    return _ecore_x_e_vkbd_state_get(atom);
 }