Commit Graph

17 Commits

Author SHA1 Message Date
Pietro Gagliardi f6fdf932e1 Switch to using DeferWindowPos() in Windows resizes. It doesn't optimize anything just yet (because it's still recursively invoked), but it can be optimized later (by not responding to container resizes and only using container updates); and more important, it puts (most of) the resizing invocations in one place. 2015-05-05 15:10:37 -04:00
Pietro Gagliardi b2e9b646a4 Got rid of typedefs in the various newcontrol files for consistency. 2015-05-04 15:51:23 -04:00
Pietro Gagliardi d98a2291cb More enable/disable container stuff. 2015-05-04 11:09:28 -04:00
Pietro Gagliardi b15f5ff1c7 Started implementing container enable/disable on Windows. More TODOs. 2015-05-04 09:53:53 -04:00
Pietro Gagliardi 2186192502 Changed c-> to uiControl(c)-> in the various newcontrol files for consistency. 2015-05-03 14:44:46 -04:00
Pietro Gagliardi 454b3ecb03 Changed the various OS-side control creation functions to use Make like uiMakeContainer() does instead of New. 2015-05-02 20:51:00 -04:00
Pietro Gagliardi 127f025eee Decided not to bother with destruction blocking for now. 2015-04-30 13:30:00 -04:00
Pietro Gagliardi 8f79f0596f Set hidden flag variables BEFORE updating parent containers. Otherwise, parents won't reposition children correctly on systems where updates happen immediately (like OS X). 2015-04-29 14:25:34 -04:00
Pietro Gagliardi 6c6bce3702 Moved everything back to the top level. 2015-04-29 11:02:38 -04:00
Pietro Gagliardi 90bb60a435 Moved windows/newcontrol.c and windows/tab.c back. Totally not migrated yet. 2015-04-29 01:34:03 -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 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 8dcdbd0878 Started the work to settle lifetime issues on the Windows backend. 2015-04-18 14:06:12 -04:00
Pietro Gagliardi e9c00b6b65 More windows/newcontrol.c migration. 2015-04-16 01:53:23 -04:00
Pietro Gagliardi 6674944c0a Migrated newcontrol.c and button.c on the Windows backend. 2015-04-16 01:52:31 -04:00
Pietro Gagliardi e69c0c93eb Split all OS backends into their own folders. 2015-04-15 18:49:45 -04:00