GitHub Sale: sign up for any paid plan this week and pay nothing until January 1, 2009!  [ hide ]

public
Description: a tiny graphical app kit for ruby
Homepage: http://code.whytheluckystiff.net/shoes
Clone URL: git://github.com/why/shoes.git
 * shoes/native/windows.c: compiler errors on windows, had a bunch of the 
 structures in the last commit wrong.
why (author)
Sun Jul 20 19:02:07 -0700 2008
commit  bcad64c008afbe6ad5db2a217356d6ff615d544e
tree    e9ac4fa9ff62eb4a2f84d60cbdcc5c222512e3e5
parent  cfff5b86d14c2598b7a4d395f75b79b76a0f73aa
...
47
48
49
50
 
51
52
53
...
83
84
85
86
 
87
88
89
...
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
 
 
 
 
 
 
 
 
 
 
 
 
703
704
705
...
47
48
49
 
50
51
52
53
...
83
84
85
 
86
87
88
89
...
688
689
690
 
 
 
 
 
 
 
 
 
 
 
 
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
0
@@ -47,7 +47,7 @@ void shoes_native_init()
0
   InitCtrlEx.dwICC = ICC_PROGRESS_CLASS;
0
   InitCommonControlsEx(&InitCtrlEx);
0
   shoes_classex_init();
0
- shoes_world->hidden = CreateWindow(SHOES_HIDDENCLS, SHOES_HIDDENCLS, WS_OVERLAPPEDWINDOW,
0
+ shoes_world->os.hidden = CreateWindow(SHOES_HIDDENCLS, SHOES_HIDDENCLS, WS_OVERLAPPEDWINDOW,
0
     CW_USEDEFAULT, 0, CW_USEDEFAULT, 0, NULL, NULL, shoes_world->os.instance, NULL);
0
 }
0
 
0
@@ -83,7 +83,7 @@ int shoes_windows_catch_message(unsigned int name, VALUE obj, void *data) {
0
 
0
 int shoes_native_message(unsigned int name, VALUE obj, void *data)
0
 {
0
- return SendMessage(shoes_world->hiddenwnd, SHOES_WM_MESSAGE + name, obj, (LPARAM)data);
0
+ return SendMessage(shoes_world->os.hidden, SHOES_WM_MESSAGE + name, obj, (LPARAM)data);
0
 }
0
 
0
 void shoes_native_slot_mark(SHOES_SLOT_OS *slot)
0
@@ -688,18 +688,18 @@ shoes_classex_init()
0
 {
0
   shoes_code code = SHOES_OK;
0
 
0
- shoes_world->hiddenex.cbSize = sizeof(WNDCLASSEX);
0
- shoes_world->hiddenex.style = 0;
0
- shoes_world->hiddenex.lpfnWndProc = (WNDPROC)shoes_hidden_win32proc;
0
- shoes_world->hiddenex.cbClsExtra = 0;
0
- shoes_world->hiddenex.cbWndExtra = 0;
0
- shoes_world->hiddenex.hInstance = shoes_world->os.instance;
0
- shoes_world->hiddenex.hIcon = NULL;
0
- shoes_world->hiddenex.hCursor = NULL;
0
- shoes_world->hiddenex.hbrBackground = NULL;
0
- shoes_world->hiddenex.lpszMenuName = NULL;
0
- shoes_world->hiddenex.lpszClassName = SHOES_HIDDENCLS;
0
- shoes_world->hiddenex.hIconSm = NULL;
0
+ shoes_world->os.hiddenex.cbSize = sizeof(WNDCLASSEX);
0
+ shoes_world->os.hiddenex.style = 0;
0
+ shoes_world->os.hiddenex.lpfnWndProc = (WNDPROC)shoes_hidden_win32proc;
0
+ shoes_world->os.hiddenex.cbClsExtra = 0;
0
+ shoes_world->os.hiddenex.cbWndExtra = 0;
0
+ shoes_world->os.hiddenex.hInstance = shoes_world->os.instance;
0
+ shoes_world->os.hiddenex.hIcon = NULL;
0
+ shoes_world->os.hiddenex.hCursor = NULL;
0
+ shoes_world->os.hiddenex.hbrBackground = NULL;
0
+ shoes_world->os.hiddenex.lpszMenuName = NULL;
0
+ shoes_world->os.hiddenex.lpszClassName = SHOES_HIDDENCLS;
0
+ shoes_world->os.hiddenex.hIconSm = NULL;
0
 
0
   if (!RegisterClassEx(&shoes_world->os.hiddenex))
0
   {

Comments

    No one has commented yet.