Commit Graph

29 Commits

Author SHA1 Message Date
Pietro Gagliardi 068e76236a Removed a stale TODO. 2015-06-03 18:03:20 -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 fd846cb01f Installed the Z-order stuff into box.c; tab order is now correct. There are some loose ends, though. 2015-06-02 17:42:51 -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 8f28577148 Moved (most) Windows files that were already good. 2015-05-30 19:14:20 -04:00
Pietro Gagliardi b65292da46 More SysFunc migration-away. 2015-05-30 17:17:20 -04:00
Pietro Gagliardi da8613d833 More fixes. 2015-05-30 03:28:50 -04:00
Pietro Gagliardi 7fdb9f3424 More error fixing. 2015-05-29 20:53:12 -04:00
Pietro Gagliardi 9431f2a837 Migrated windows/container.c. More fixes. 2015-05-29 20:44:30 -04:00
Pietro Gagliardi ef08a106f9 Prepared a few things for migrating windows/container.c. 2015-05-29 20:40:54 -04:00
Pietro Gagliardi ecd14aaa12 Moved the new control stuff back. 2015-05-29 14:56:11 -04:00
Pietro Gagliardi cbdaa780ff Started removing onWM_HSCROLL from uiWindowsMakeControlsParams. 2015-05-21 12:43:40 -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 96bd7013f8 Converted the WM_NOTIFY and WM_HSCROLL handlers to use the new windows/events.c system. 2015-05-21 11:29:25 -04:00
Pietro Gagliardi 6a6ddc61f9 Started a major overhaul of the control system on Windows. Events are now handled using registered handlers rather than having them be part of the singleHWND. This is needed for radio buttons. Right now, only WM_COMMAND has been modified as such. 2015-05-20 22:46:50 -04:00
Pietro Gagliardi e1744b17a2 Added uiSlider. 2015-05-20 10:29:57 -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 ca697fa533 Reworked (most of) windows/control.c to play with the portable control base. Not too happy with having to store the uiControl in the singleHWND for the subclass procedure, but... I think I've reached the breaking point with this particular object-oriented model. 2015-05-18 22:32:22 -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 f5f38d1fa5 Began working on reworking the resizing code AGAIN. 2015-05-17 20:48:55 -04:00
Pietro Gagliardi d5a87a0be5 More compiler error fixes and TODOs. 2015-05-16 01:55:34 -04:00
Pietro Gagliardi 65cc67e0e1 Fixed some build errors. 2015-05-16 01:45:20 -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 b1e1fed484 Removed some uses of initialParent. 2015-05-14 22:33:19 -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