Commit Graph

17 Commits

Author SHA1 Message Date
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 b540d93e3d Fixed errors in the previous commit. 2015-06-01 13:02:43 -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 ee2286489a Began work to finalize migration to the new object system; moving finished files out of the way. 2015-05-30 16:53:47 -04:00
Pietro Gagliardi 7fdb9f3424 More error fixing. 2015-05-29 20:53:12 -04:00
Pietro Gagliardi ecd14aaa12 Moved the new control stuff back. 2015-05-29 14:56:11 -04:00
Pietro Gagliardi 23f6c3271c Finished migrating WM_HSCROLLhandlers away from being in the creation parameters. 2015-05-21 13:04:57 -04:00
Pietro Gagliardi 50c7adf597 Removed onWM_NOTIFY from uiWIndowsMakeControlParams. 2015-05-21 12:39:19 -04:00
Pietro Gagliardi 12b4d0a7c0 Removed onWM_COMMAND from uiWindowsMakeControlParams. 2015-05-21 12:07:11 -04:00
Pietro Gagliardi 854f036197 Added onWM_HSCROLL to the Windows control creation parameters since sliders will be using it; also did other assorted preparations for sliders. 2015-05-19 23:16:46 -04:00
Pietro Gagliardi e1554c38ef Handled window coordinates properly in resizes. 2015-05-18 12:04:52 -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 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 cf727b07de Migrated windows/newcontrol.c back, mostly. Also decided what to do about comctl32.dll. 2015-05-14 19:28:30 -04:00
Pietro Gagliardi 34d9203712 Allowed passing lpParam to CreateWindowEx() in ui_windows.h. 2015-05-14 18:28:23 -04:00
Pietro Gagliardi 06cad86f55 More rewriting imports. Also moved ui.h to out/. 2015-05-14 09:43:52 -04:00