Commit Graph

26 Commits

Author SHA1 Message Date
Pietro Gagliardi e5be9e1810 Added uiWindow ContainerUpdateState() and removed an unnecessary TODO. 2015-06-03 17:57:04 -04:00
Pietro Gagliardi 95646538f7 Reimplemented window margins. 2015-06-03 17:42:08 -04:00
Pietro Gagliardi 27e7057672 Removed a TODO in windows/window.c; we need to guard *anyway* (for example, with empty windows). 2015-06-03 17:30:17 -04:00
Pietro Gagliardi f01b6303e9 Have controls whose size depends on their text request a resize on text changed. This fixes the TODO removed in the previous commit. Also removed the single-HWND control text functions and added more TODOs. 2015-06-03 15:49:44 -04:00
Pietro Gagliardi 4edef818b9 Split apart the uiControl text stuff in the same way the other uiControl functions are split in windows/control.c. This is a prerequisite for autoresizing on text change. Also simplified the title handling code in windows/window.c; it can use these functions too. 2015-06-03 14:55:33 -04:00
Pietro Gagliardi 8a84b9e062 Fixed some compiler warnings. 2015-05-30 22:18:30 -04:00
Pietro Gagliardi c0c6aef610 Moved everything back now that everything's been migrated. Now to test the build! 2015-05-30 21:31:28 -04:00
Pietro Gagliardi 8f51e01b4c Completed the migration of windows/window.c. 2015-05-30 21:30:55 -04:00
Pietro Gagliardi 205887d77d More windows/window.c migration. 2015-05-30 21:24:33 -04:00
Pietro Gagliardi 2070551003 Got rid of uiWindow functions that only complain() about not bieng allowed to use them on uiWindow. This is the first step toward *truly* migrating uiWindow to the new uiControl system. 2015-05-30 21:17:53 -04:00
Pietro Gagliardi c1773621ac More fixes. It builds and runs now, but isn't quite perfect. 2015-05-30 11:44:37 -04:00
Pietro Gagliardi 7da5e52621 More fixes. 2015-05-30 02:14:27 -04:00
Pietro Gagliardi 44bbad70e5 Removed/moved around the remnants of the autogenerated typefuncs system. 2015-05-29 22:45:17 -04:00
Pietro Gagliardi 89f2b5e665 More migration. This just leaves box.c and windows/menu.c, I think... 2015-05-29 22:29:52 -04:00
Pietro Gagliardi e7102c0c61 Set up the boilerplate for dialog boxes. 2015-05-22 17:41:36 -04:00
Pietro Gagliardi a4cfd3880d Converted uiSizing to a dynamically allocated structure. This will be needed for handling coordinate conversion. 2015-05-18 11:46:50 -04:00
Pietro Gagliardi 2a5cdb6662 Re-enabled events on Windows. 2015-05-18 09:52:37 -04:00
Pietro Gagliardi 7c5459ff01 Windows resize work. 2015-05-17 21:15:39 -04:00
Pietro Gagliardi 97cb70527e Finished the type system. 2015-05-17 19:07:07 -04:00
Pietro Gagliardi 1307bbdfcc More dynamic typing work. 2015-05-17 18:33:18 -04:00
Pietro Gagliardi cf31df5c2b Fixed build errors to some extent. 2015-05-16 11:37:45 -04:00
Pietro Gagliardi 7ea67007fc Re-added uiControlContainerShow() and uiControlContainerHide(). This is needed on Windows for uiTab. 2015-05-15 18:34:17 -04:00
Pietro Gagliardi f380912665 Added sizing information acquisition to the new Windows backend; started clearing out the old windows/container.c. 2015-05-15 16:04:10 -04:00
Pietro Gagliardi b49bfbca6c Forgot windowQueueResize() in previous commit. 2015-05-15 15:43:11 -04:00
Pietro Gagliardi 07a3df6dd8 Finished migrating windows/window.c. 2015-05-15 15:39:45 -04:00
Pietro Gagliardi b891871c4e Started migrating windows/window.c back. 2015-05-14 20:40:41 -04:00