7
7
// dummy functions
8
8
void WinxDummyCursorEventHandle (int x , int y ) {}
9
9
void WinxDummyButtonEventHandle (int type , int button ) {}
10
- void WinxDummyKeybordEventHandle (int type , int key ) {}
10
+ void WinxDummyKeyboardEventHandle (int type , int key ) {}
11
11
void WinxDummyScrollEventHandle (int scroll ) {}
12
12
void WinxDummyCloseEventHandle () {}
13
13
void WinxDummyResizeEventHandle (int width , int height ) {}
@@ -95,7 +95,7 @@ typedef struct {
95
95
WinxCursor * cursor_icon ;
96
96
WinxCursorEventHandle cursor ;
97
97
WinxButtonEventHandle button ;
98
- WinxKeybordEventHandle keyboard ;
98
+ WinxKeyboardEventHandle keyboard ;
99
99
WinxScrollEventHandle scroll ;
100
100
WinxCloseEventHandle close ;
101
101
WinxResizeEventHandle resize ;
@@ -1045,9 +1045,9 @@ void winxSetButtonEventHandle(WinxButtonEventHandle handle) {
1045
1045
winx -> button = handle ? handle : WinxDummyButtonEventHandle ;
1046
1046
}
1047
1047
1048
- void winxSetKeybordEventHandle ( WinxKeybordEventHandle handle ) {
1049
- WINX_CONTEXT_ASSERT ("winxSetKeybordEventHandle " );
1050
- winx -> keyboard = handle ? handle : WinxDummyKeybordEventHandle ;
1048
+ void winxSetKeyboardEventHandle ( WinxKeyboardEventHandle handle ) {
1049
+ WINX_CONTEXT_ASSERT ("winxSetKeyboardEventHandle " );
1050
+ winx -> keyboard = handle ? handle : WinxDummyKeyboardEventHandle ;
1051
1051
}
1052
1052
1053
1053
void winxSetScrollEventHandle (WinxScrollEventHandle handle ) {
@@ -1074,7 +1074,7 @@ void winxResetEventHandles() {
1074
1074
WINX_CONTEXT_ASSERT ("winxResetEventHandles" );
1075
1075
winx -> cursor = WinxDummyCursorEventHandle ;
1076
1076
winx -> button = WinxDummyButtonEventHandle ;
1077
- winx -> keyboard = WinxDummyKeybordEventHandle ;
1077
+ winx -> keyboard = WinxDummyKeyboardEventHandle ;
1078
1078
winx -> scroll = WinxDummyScrollEventHandle ;
1079
1079
winx -> close = WinxDummyCloseEventHandle ;
1080
1080
winx -> resize = WinxDummyResizeEventHandle ;
@@ -1100,4 +1100,3 @@ void winxSetCursorIcon(WinxCursor* cursor) {
1100
1100
winxUpdateCursorState (winx -> capture , winx -> cursor_icon );
1101
1101
}
1102
1102
}
1103
-
0 commit comments