70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
|
}
//----------------------------------------------------------------------------------------------------------------------------------
@end
//==================================================================================================================================
void win32_init(int *argc, char ***argv)
{
//register a single window class; we'll customize later, as needed
char *clsName = "OFWidgetClass";
HINSTANCE hInst = (HINSTANCE)GetModuleHandle(NULL);
WNDCLASSEX wcx;
wcx.cbSize = sizeof(wcx);
wcx.style = CS_VREDRAW | CS_HREDRAW;
wcx.lpfnWndProc = (WNDPROC)win32_OGWndProc;
wcx.cbClsExtra = 0;
wcx.cbWndExtra = 0;
|
|
|
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
|
}
//----------------------------------------------------------------------------------------------------------------------------------
@end
//==================================================================================================================================
void win32_init(int *argc, char ***argv)
{
//register a single window class; we'll customize later, as needed
char *clsName = "OGWidgetClass";
HINSTANCE hInst = (HINSTANCE)GetModuleHandle(NULL);
WNDCLASSEX wcx;
wcx.cbSize = sizeof(wcx);
wcx.style = CS_VREDRAW | CS_HREDRAW;
wcx.lpfnWndProc = (WNDPROC)win32_OGWndProc;
wcx.cbClsExtra = 0;
wcx.cbWndExtra = 0;
|