Commit Graph

2886 Commits

Author SHA1 Message Date
Pietro Gagliardi ac8e59c004 Hooked up the Windows menu event system and fixed some bugs in it. Still need to define menu events in general... 2015-04-21 18:52:57 -04:00
Pietro Gagliardi dc386a599e Added a framework for handling menu events on Windows. 2015-04-21 18:44:31 -04:00
Pietro Gagliardi 9ef8019159 Quick OS X menu fixup. 2015-04-21 18:24:48 -04:00
Pietro Gagliardi 2f1a806a31 More TODOs. 2015-04-21 18:10:48 -04:00
Pietro Gagliardi de3c1cc0ea Implemented the standard application menu on the Mac OS X backend. 2015-04-21 18:09:12 -04:00
Pietro Gagliardi e26257006f Converted the OS X menu code to the changes in the past few commits and made a few other small changes. 2015-04-21 00:46:30 -04:00
Pietro Gagliardi b6a2233d0b Adjusted the Windows menu code for the recent changes (see past few commits). 2015-04-20 23:46:02 -04:00
Pietro Gagliardi 1b1cd2e11e Changed the GTK+ backend menu code to honor what was just changed. 2015-04-20 23:38:23 -04:00
Pietro Gagliardi a1e720bc05 Restructured the uiMenu type system. Will apply to the backends soon. 2015-04-20 23:35:26 -04:00
Pietro Gagliardi b45be6e5ab Turned off switch enum checks. There's nothing wrong with an omitted enum case; it might have been odne already! 2015-04-20 22:37:49 -04:00
Pietro Gagliardi b258e1fc82 Began implementing menus on Mac OS X. 2015-04-20 22:34:31 -04:00
Pietro Gagliardi f303f066e2 Started implementing menus on Windows. 2015-04-20 20:26:21 -04:00
Pietro Gagliardi b7e2905c72 More implementation of menus on GTK+. 2015-04-20 18:56:42 -04:00
Pietro Gagliardi 9f82838632 Started implementing menus in general and on the Unix backend. 2015-04-20 18:34:51 -04:00
Pietro Gagliardi fbe806a348 Defined an interface for menus. 2015-04-20 18:06:27 -04:00
Pietro Gagliardi 845104a1a1 Started a framework for menus. 2015-04-20 17:34:49 -04:00
Pietro Gagliardi 50bf3b8cab Even *more* uiButton.md fixups. 2015-04-20 15:29:06 -04:00
Pietro Gagliardi 3f92d7877e More uiButton fixups. 2015-04-20 15:27:45 -04:00
Pietro Gagliardi 326ce9f662 More uiButton documentation. 2015-04-20 15:25:46 -04:00
Pietro Gagliardi cefe53f3a9 Started uiButton documentation. 2015-04-20 15:16:31 -04:00
Pietro Gagliardi c3adfb7225 Changed uiStack to uiBox. 2015-04-20 10:19:25 -04:00
Pietro Gagliardi 409480e93a Changed 's' to 'b' in stack.c. This is the first part of the change from uiStack to uiBox. 2015-04-20 10:11:58 -04:00
Pietro Gagliardi c5e5edf8f0 More TODOs. 2015-04-20 10:03:54 -04:00
Pietro Gagliardi 5c1858c35d More lifetime notes. 2015-04-20 10:02:05 -04:00
Pietro Gagliardi 21a29a5468 More destruction rules following code. 2015-04-19 22:59:06 -04:00
Pietro Gagliardi 0af03e5410 More TODOs. 2015-04-19 22:54:01 -04:00
Pietro Gagliardi 24469a6e7b Added code to check that a control is not destroyed while it has a parent. This isn't enough for uiStack, though... 2015-04-19 22:53:09 -04:00
Pietro Gagliardi 91522894c1 More stuff in lifetimes.md. 2015-04-19 22:10:11 -04:00
Pietro Gagliardi d181acc10e Reworte part of lifetimes.md. 2015-04-19 22:08:09 -04:00
Pietro Gagliardi 5639681f69 More TODOs. 2015-04-19 18:05:00 -04:00
Pietro Gagliardi 883776b89b More lifetimes.md work. 2015-04-19 17:12:28 -04:00
Pietro Gagliardi c2c03949d2 More lifetimes.md work. 2015-04-19 17:08:03 -04:00
Pietro Gagliardi 8534261f35 FINALLY implemented uiTabDeletePage() on Mac OS X. 2015-04-19 11:53:31 -04:00
Pietro Gagliardi 3da538b41e More TODOs. 2015-04-19 11:42:10 -04:00
Pietro Gagliardi c99e8d4af4 Added uiTab page tracking to the Mac OS X backend; necessary for tabDeletePage(). Fixed some small NULL pointer errors in some other files too. 2015-04-19 11:41:23 -04:00
Pietro Gagliardi 8179d66ae6 More error checking in unix/parent.c. 2015-04-19 09:42:06 -04:00
Pietro Gagliardi 54b45a9f09 More TODOs. 2015-04-19 01:37:59 -04:00
Pietro Gagliardi a5e4060b67 Started splitting out lifetime management code into its own place on the GTK+ backend. 2015-04-19 01:37:11 -04:00
Pietro Gagliardi 085e06d054 Started documenting object lifetimes. 2015-04-19 01:29:22 -04:00
Pietro Gagliardi 1c3105d669 Restored Page 1. 2015-04-19 00:32:32 -04:00
Pietro Gagliardi 5ceda42d74 More OS X lifetime stuff. 2015-04-18 23:17:13 -04:00
Pietro Gagliardi 57329ea332 Implemented the desire background behavior for controls in windows/parent.c. Only one thing remains: clipping. 2015-04-18 20:31:32 -04:00
Pietro Gagliardi 9492e0b1c1 Settled WM_PRINTCLIENT for uiParent on Windows. 2015-04-18 20:27:12 -04:00
Pietro Gagliardi 92474f94af Implemented WM_PAINT for uiParent on Windows. It seems to work... 2015-04-18 20:20:47 -04:00
Pietro Gagliardi dc2967619c Turned off the Page 1 controls for now. This will be for testing drawing the proper background on Windows parents. 2015-04-18 19:58:57 -04:00
Pietro Gagliardi a2311c4c19 More TODOs. 2015-04-18 18:33:41 -04:00
Pietro Gagliardi cf8871c524 Cleaned up the new control lifetime logic on Windows. 2015-04-18 18:07:57 -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 89d584cdcd Finished cleaning up the GTK+ lifetiming code. Yeah, this will definitely work. 2015-04-18 17:46:37 -04:00
Pietro Gagliardi 48c609b5c3 Cleaned up the lifetime code in unix/newcontrol.c a fair bit. 2015-04-18 17:36:12 -04:00