Commit Graph

1125 Commits

Author SHA1 Message Date
Pietro Gagliardi 7ab0ebbcab Switched from InvalidateRect() to RedrawWindow(). Fixes some minor bugs. 2015-06-04 16:36:28 -04:00
Pietro Gagliardi 3b8533f033 Forgot to uninit the util window. 2015-06-04 15:17:23 -04:00
Pietro Gagliardi 6a7d0d87eb Removed a TODO about Vista-specific options for Windows text functions; there are none relevent to us. 2015-06-04 15:05:47 -04:00
Pietro Gagliardi efc5e9c801 Some TODO resolution and expository comments. 2015-06-04 15:02:19 -04:00
Pietro Gagliardi 28656fc3d0 Implemented automatic date/time format changes for the date/time format date/time picker. Some diagnostic string updates in windows/tab.c as well. 2015-06-04 10:55:54 -04:00
Pietro Gagliardi 225248ecb8 Implemented WM_WININICHANGE forwarding for the date/time picker. Right now, it only has an effect for the built-in styles. The same change for the date/time picker itself will come next. 2015-06-04 10:47:24 -04:00
Pietro Gagliardi 47f856263c Split apart the date/time string stuff from uiNewDateTimePicker(). This is in preparation for WM_WININICHANGE handling. 2015-06-04 09:55:28 -04:00
Pietro Gagliardi 2aa1227238 Added a swap horizontal/vertical uiBox mode to the test program. 2015-06-04 00:51:41 -04:00
Pietro Gagliardi 4d48b08ae2 Fixed errors in the previous commit. 2015-06-04 00:30:34 -04:00
Pietro Gagliardi 3ecd94e9b4 Added a framework for handling WM_WININICHANGE to child windows; this will be used by the date-time picker. 2015-06-04 00:26:13 -04:00
Pietro Gagliardi fd6cfa54b3 Made some variables that should be static static. 2015-06-03 23:16:58 -04:00
Pietro Gagliardi 068e76236a Removed a stale TODO. 2015-06-03 18:03:20 -04:00
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 be747af77c Settled Z-ordering for spinboxes. 2015-06-03 15:58:47 -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 0b7dc94822 Fixed up the layout of test/pge5.c. The change necessary to make it work will come next. 2015-06-03 15:19:37 -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 96570d78be Temporarily turned off control background painting for wine. 2015-06-03 14:41:37 -04:00
Pietro Gagliardi 55dbade482 More TODOs, sigh... 2015-06-03 12:35:02 -04:00
Pietro Gagliardi f4c9647d2c TODO resolution and updates. 2015-06-03 12:10:08 -04:00
Pietro Gagliardi ee17ba6e46 Some separator work. 2015-06-02 18:48:41 -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 f26a3a18de Forgot to make containers WS_EX_CONTROLPARENT; this fixes tab navigation hanging issues. Now we can implement the Z-order functions! 2015-06-02 17:28:23 -04:00
Pietro Gagliardi 9c6fc415c5 Quick comment fix. 2015-06-02 15:10:58 -04:00
Pietro Gagliardi 572084aaeb More TODO resolution/shuffling. 2015-06-02 14:22:49 -04:00
Pietro Gagliardi b3adda2287 More TODO resolution in windows/init.c. 2015-06-02 14:12:12 -04:00
Pietro Gagliardi b793692199 Some TODO resolution. 2015-06-02 13:21:27 -04:00
Pietro Gagliardi 5260c4cd96 Some TODO updates. 2015-06-02 12:55:12 -04:00
Pietro Gagliardi d96f7a5c07 More TODOs. 2015-06-02 12:48:49 -04:00
Pietro Gagliardi 680c9face7 Fixed windows/init.c to properly report HRESULT error codes. 2015-06-02 12:31:47 -04:00
Pietro Gagliardi cf05629175 Settled WS_EX_CLIENTEDGE issues. 2015-06-02 12:16:14 -04:00
Pietro Gagliardi 199222eb31 Temporarily turned off container backgrounds for WS_EX_CLIENTEDGE tests. 2015-06-02 11:58:22 -04:00
Pietro Gagliardi 4893bdb3cd Some TODO resolution. 2015-06-02 11:56:44 -04:00
Pietro Gagliardi 0f6b70b65c Updated some TODOs. 2015-06-02 11:28:30 -04:00
Pietro Gagliardi a25d7b2a0c Some TODO resolution and stale TODO deletion in windows/spinbox.c. Also decided to keep defaultOnChanged() where it was. 2015-06-02 10:35:10 -04:00
Pietro Gagliardi 884bd5c862 Implemented tabPreferredSize(). This finally eliminates windows/OLDtab.c. 2015-06-02 10:20:59 -04:00
Pietro Gagliardi a48aa36251 Some TODO resolution. 2015-06-01 22:12:39 -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 6ae28f0199 More TODOs. 2015-06-01 20:15:32 -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 6d64922055 Handled events in tab pages. 2015-06-01 19:27:28 -04:00
Pietro Gagliardi 54e71b3357 Started splitting out contribution-related TODOs into a separate list. Also fixed a typo in windows/tabpage.c. 2015-06-01 19:12:54 -04:00