Commit Graph

49 Commits

Author SHA1 Message Date
Pietro Gagliardi 884bd5c862 Implemented tabPreferredSize(). This finally eliminates windows/OLDtab.c. 2015-06-02 10:20:59 -04:00
Pietro Gagliardi ae54ff0141 Reimplemented uiTab tab stop handling. 2015-06-01 22:00:50 -04:00
Pietro Gagliardi b109ab4bb9 Removed a stale TODO. 2015-06-01 21:50:34 -04:00
Pietro Gagliardi 2a71d2dc78 Fixed a typo. 2015-06-01 21:50:06 -04:00
Pietro Gagliardi 54d727bf42 Changed handling of WS_TABSTOP in uiTab so that it is only applied if there are tabs. This gets rid of the need for our complex HasTabStops() handling. 2015-06-01 21:46:39 -04:00
Pietro Gagliardi d90eeb84f7 More tab work and tab TODOs. 2015-06-01 21:25:57 -04:00
Pietro Gagliardi c96fa44786 Fixed tabDelete() not properly preserving the child control. 2015-06-01 21:14:30 -04:00
Pietro Gagliardi 4db24bff05 Implemented tabContainerUpdateState() and removed migrated code from windows/OLDtab.c. 2015-06-01 21:01:26 -04:00
Pietro Gagliardi 993bc58691 Separated tab page child assignment from the constructor to keep the vtable together. 2015-06-01 20:12:55 -04:00
Pietro Gagliardi 678ddbedf3 Finished uiTab destruction code. 2015-06-01 17:37:43 -04:00
Pietro Gagliardi bc4ac108ce Started properly handling uiControl functions in uiTab and tabPage. Removed a few stale TODOs as well. 2015-06-01 17:21:21 -04:00
Pietro Gagliardi f9f5abc802 Reimplemented tab page margins. 2015-05-31 10:53:20 -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 26f2808c75 More migration and file moving. That just leaves windows/windows.c. 2015-05-30 19:54:01 -04:00
Pietro Gagliardi f6d9e1ea1e More work trying to get tab pages to work. There's something up with boxes, but there's also something up with theme dialog textures... 2015-05-30 13:15:43 -04:00
Pietro Gagliardi fe2e647fc4 Fixed some of the errors in the new tab page code. 2015-05-30 12:34:39 -04:00
Pietro Gagliardi 1a55d1fcb3 Started splitting the role of a tab page over to a new internal control. 2015-05-30 12:28:52 -04:00
Pietro Gagliardi da8613d833 More fixes. 2015-05-30 03:28:50 -04:00
Pietro Gagliardi d00bd04031 More fixes. 2015-05-30 03:16:55 -04:00
Pietro Gagliardi 6cbe6b5c0e Migrated windows/radiobuttons.c and some more fixes. 2015-05-29 22:28:00 -04:00
Pietro Gagliardi 7fdb9f3424 More error fixing. 2015-05-29 20:53:12 -04:00
Pietro Gagliardi af4c9ae0c9 Added uiControlHandle() implementations to the various controls. 2015-05-29 19:48:27 -04:00
Pietro Gagliardi 6dba84b99b Started doing a migration of the many many many controls over to the new object system. 2015-05-29 18:03:24 -04:00
Pietro Gagliardi a0dbad7c2a Added an HWND parameter to all the event handlers. This is needed for radio buttons. 2015-05-21 14:52:21 -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 33d6609675 Fixed errors in the previous commit. 2015-05-18 15:27:56 -04:00
Pietro Gagliardi 8b3b0c4baa Reimplemented uiTabDelete()... kinda. 2015-05-18 15:11:59 -04:00
Pietro Gagliardi 3ec28551e6 Fixed groupbox-caused tab issues on Windows for now (uninitialized memory bug; will preoprly fix later). 2015-05-18 15:00:12 -04:00
Pietro Gagliardi df867375ce Implemented margins in the new Windows uiTab. 2015-05-18 13:03:22 -04:00
Pietro Gagliardi 68da6be00d More TODOs. 2015-05-18 12:57:57 -04:00
Pietro Gagliardi 4202ae2666 More TODOs. 2015-05-18 12:17:35 -04:00
Pietro Gagliardi 2ea6607594 Implemented tab changing on the Windows backend's new tab.c. 2015-05-18 12:10:54 -04:00
Pietro Gagliardi e1554c38ef Handled window coordinates properly in resizes. 2015-05-18 12:04:52 -04:00
Pietro Gagliardi e06f9ae9fe Started reimplementing uiTab on Windows. 2015-05-18 11:41:09 -04:00
Pietro Gagliardi d8624c87c9 InsertBefore -> InsertAt. 2015-05-18 10:32:08 -04:00
Pietro Gagliardi ef794a6db5 Dropped Page from uiTab method names. This keeps things consistent and allows us to do a more important change: InsertBefore -> InsertAt. 2015-05-18 10:20:11 -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 f3ef834dc3 Moved the Windows uiTab, the Windows uiGroup, and the test tab out of the way while we debug why things only look bad on wine. 2015-05-17 13:01:42 -04:00
Pietro Gagliardi ceda3882a8 Moved the old uiTab and uiGroup back now that that memory clobbering error is done. Not quite clean... 2015-05-16 22:57:41 -04:00
Pietro Gagliardi b66de79fec Fixed another small error in windows/tab.c. 2015-05-16 20:33:20 -04:00
Pietro Gagliardi 70b4c72c96 Started a new, bare-bones windows/tab.c for testing. 2015-05-16 20:28:35 -04:00
Pietro Gagliardi 4c3166ab48 Moved uiTab and uiGroup out of the way for now on Windows. 2015-05-16 20:02:06 -04:00
Pietro Gagliardi cf31df5c2b Fixed build errors to some extent. 2015-05-16 11:37:45 -04:00
Pietro Gagliardi 8594646e45 Migrated windows/group.c. Also forgot a line in windows/tab.c. 2015-05-15 21:06:52 -04:00
Pietro Gagliardi ab4c534360 Migrated windows/tab.c. 2015-05-15 18:54:13 -04:00