77// dummy functions
88void WinxDummyCursorEventHandle (int x , int y ) {}
99void WinxDummyButtonEventHandle (int type , int button ) {}
10- void WinxDummyKeybordEventHandle (int type , int key ) {}
10+ void WinxDummyKeyboardEventHandle (int type , int key ) {}
1111void WinxDummyScrollEventHandle (int scroll ) {}
1212void WinxDummyCloseEventHandle () {}
1313void WinxDummyResizeEventHandle (int width , int height ) {}
@@ -95,7 +95,7 @@ typedef struct {
9595 WinxCursor * cursor_icon ;
9696 WinxCursorEventHandle cursor ;
9797 WinxButtonEventHandle button ;
98- WinxKeybordEventHandle keyboard ;
98+ WinxKeyboardEventHandle keyboard ;
9999 WinxScrollEventHandle scroll ;
100100 WinxCloseEventHandle close ;
101101 WinxResizeEventHandle resize ;
@@ -1045,9 +1045,9 @@ void winxSetButtonEventHandle(WinxButtonEventHandle handle) {
10451045 winx -> button = handle ? handle : WinxDummyButtonEventHandle ;
10461046}
10471047
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 ;
10511051}
10521052
10531053void winxSetScrollEventHandle (WinxScrollEventHandle handle ) {
@@ -1074,7 +1074,7 @@ void winxResetEventHandles() {
10741074 WINX_CONTEXT_ASSERT ("winxResetEventHandles" );
10751075 winx -> cursor = WinxDummyCursorEventHandle ;
10761076 winx -> button = WinxDummyButtonEventHandle ;
1077- winx -> keyboard = WinxDummyKeybordEventHandle ;
1077+ winx -> keyboard = WinxDummyKeyboardEventHandle ;
10781078 winx -> scroll = WinxDummyScrollEventHandle ;
10791079 winx -> close = WinxDummyCloseEventHandle ;
10801080 winx -> resize = WinxDummyResizeEventHandle ;
@@ -1100,4 +1100,3 @@ void winxSetCursorIcon(WinxCursor* cursor) {
11001100 winxUpdateCursorState (winx -> capture , winx -> cursor_icon );
11011101 }
11021102}
1103-
0 commit comments