Overview
Comment: | Change wrong OF prefix to OG. |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA3-256: |
8bf49d590050b0addc0b164b0fa17698 |
User & Date: | js on 2012-01-05 15:38:40 |
Other Links: | manifest | tags |
Context
2012-01-05
| ||
15:42 | Remove useless whitespaces. check-in: 5e7f2ca83f user: js tags: trunk | |
15:38 | Change wrong OF prefix to OG. check-in: 8bf49d5900 user: js tags: trunk | |
15:38 | Update .hgignore. check-in: 13d403c9f3 user: js tags: trunk | |
Changes
Modified win32/OGApplication.m from [2c830d0590] to [4a3c603165].
︙ | ︙ | |||
70 71 72 73 74 75 76 | } //---------------------------------------------------------------------------------------------------------------------------------- @end //================================================================================================================================== void win32_init(int *argc, char ***argv) { //register a single window class; we'll customize later, as needed | | | 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; |
︙ | ︙ |
Modified win32/OGWidget.m from [e6393d7b4b] to [1d9e0e9e1a].
︙ | ︙ | |||
37 38 39 40 41 42 43 | //---------------------------------------------------------------------------------------------------------------------------------- - init { self = [super init]; widget = NULL; HINSTANCE hInst = (HINSTANCE)GetModuleHandle(NULL); | | | 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 | //---------------------------------------------------------------------------------------------------------------------------------- - init { self = [super init]; widget = NULL; HINSTANCE hInst = (HINSTANCE)GetModuleHandle(NULL); widget = CreateWindowEx(WS_EX_LEFT, "OGWidgetClass", "OGWidget", WS_OVERLAPPEDWINDOW, 0, 0, 1, 1, NULL, NULL, hInst, NULL); SetWindowLong(widget, GWL_USERDATA, (int)self); @try { if (isa == [OGWidget class]) @throw [OFNotImplementedException exceptionWithClass: isa |
︙ | ︙ |