Commit Graph

32 Commits

Author SHA1 Message Date
Pietro Gagliardi e76b34b670 Split windows/area.c into a bunch of files to make it much more manageable. Also did half of the migration to the new uiArea system. 2015-12-18 12:00:46 -05:00
Pietro Gagliardi f77955aefb Added uiQueueMain() (basically g_idle_add()) and implemented it on all platforms except Haiku. A test to come. After this we can start rewriting the Go package ui at long last. 2015-12-04 23:42:03 -05:00
Pietro Gagliardi e6e264408f Implemented dialog parenting on Windows. Eliminated the dialog helper. uiArea still works (and still responds to key events), but IsDialogMessage() isn't being called for the active window anymore... 2015-11-28 10:53:48 -05:00
Pietro Gagliardi 3a5a4557ab Switch uiArea from using a custom message pump to using a message filter for input handling. This allows us to rewrite the dialog system to avoid needing to block ALL windows and set a proper parent window. 2015-11-27 21:45:30 -05:00
Pietro Gagliardi ab97e26efc Moved all the common stuff in a new folder common/. This is part of the makefile simplification. 2015-10-16 18:31:14 -04:00
Pietro Gagliardi e4e72e55bb Merged the Windows uiArea back into the main library. 2015-10-09 11:17:58 -04:00
Pietro Gagliardi 35a4098a35 Made the uiWindow grow when necessary. 2015-09-02 16:26:54 -04:00
Pietro Gagliardi 3f1b72721e Implemented uiTab minimum size and uiWindow resize restriction. 2015-09-02 16:02:06 -04:00
Pietro Gagliardi 54332b90fb Finally merged out the redo folder. 2015-09-02 13:48:06 -04:00
Pietro Gagliardi cefd262f42 More migration. Just control.c left, and then we can build. 2015-08-31 15:14:02 -04:00
Pietro Gagliardi 8213eac2d7 Moved everything up a directory level. 2015-08-27 12:05:11 -04:00
Pietro Gagliardi d98ca5dfd4 Removed more files from the top level. 2015-08-27 11:59:59 -04:00
Pietro Gagliardi bd4716c949 Started code for handling WM_QUERYENDSESSION and its console equivalent. 2015-05-09 14:22:51 -04:00
Pietro Gagliardi 3f3191ea7a More Windows uiUninit() implementation. 2015-05-08 15:01:23 -04:00
Pietro Gagliardi 04923399fe Implemented uninitMenus() on Windows. 2015-05-08 14:23:22 -04:00
Pietro Gagliardi 85ca2a0901 Wrote uninitAlloc() on Windows. 2015-05-08 14:05:16 -04:00
Pietro Gagliardi efbdf14d5f Made all instances of SetWindowPos() and MoveWindow() use the same wrapper functions so they can all use the same flags. Only the SetWindoPos() that sets the initial size of a uiWindow is unaffected (since that is a special case). 2015-05-07 17:40:13 -04:00
Pietro Gagliardi 329b4f29dd Implemented tab navigation across tabs on Windows. 2015-05-06 18:37:21 -04:00
Pietro Gagliardi c5e5fbd909 Laid the foundation for proper tab navigation in uiTabs. 2015-05-06 18:05:07 -04:00
Pietro Gagliardi 93ead4043e Added a wrapper around MapWindowRect() to simplify error handling. This will be needed for future changes to windows/container.c. 2015-05-05 13:12:48 -04:00
Pietro Gagliardi 3260de37b3 BOOL -> int in initAlloc() on Windows. 2015-05-02 12:29:55 -04:00
Pietro Gagliardi a70d56d77c Switched to the Windows API heap functions in windows/alloc.c. 2015-05-02 12:27:53 -04:00
Pietro Gagliardi 5ad2bfd6f0 Cleaned up uipriv*.h. 2015-05-01 10:14:11 -04:00
Pietro Gagliardi 75b4d28569 Implemented menu destruction on Windows. 2015-04-30 17:05:41 -04:00
Pietro Gagliardi 6c6bce3702 Moved everything back to the top level. 2015-04-29 11:02:38 -04:00
Pietro Gagliardi 4c280ca42c Removed or moved a bunch of stale files from the old source. All that's left now is to re-add the main controls and recreate the test program. 2015-04-29 10:20:25 -04:00
Pietro Gagliardi dc386a599e Added a framework for handling menu events on Windows. 2015-04-21 18:44:31 -04:00
Pietro Gagliardi f303f066e2 Started implementing menus on Windows. 2015-04-20 20:26:21 -04:00
Pietro Gagliardi 55fe50463f Changed Windows onWM_DESTROY to a generic onDestroy handler with a data parameter. This will make decoupling widget destruction from WM_DESTROY (like we did on GTK+ by decoupling from ::destroy) easier. 2015-04-18 18:02:16 -04:00
Pietro Gagliardi d79acdf876 More Windows backend cleanup. 2015-04-17 11:19:42 -04:00
Pietro Gagliardi 5e5df97642 Migrated windows/button.c. This might be better; I don't know yet... 2015-04-17 10:40:52 -04:00
Pietro Gagliardi d4fb903c07 Moved the uipriv_*.h files to the respective folders. The ui_*.h files stay up here; they'll be moved to IDLs later. 2015-04-15 18:51:04 -04:00