Pietro Gagliardi
|
9f8d16b26a
|
Revert "Switch to using DeferWindowPos() in Windows resizes. It doesn't optimize anything just yet (because it's still recursively invoked), but it can be optimized later (by not responding to container resizes and only using container updates); and more important, it puts (most of) the resizing invocations in one place."
Decided not to make the code that much more complicated.
This reverts commit f6fdf932e1 .
|
2015-05-05 15:19:55 -04:00 |
Pietro Gagliardi
|
f6fdf932e1
|
Switch to using DeferWindowPos() in Windows resizes. It doesn't optimize anything just yet (because it's still recursively invoked), but it can be optimized later (by not responding to container resizes and only using container updates); and more important, it puts (most of) the resizing invocations in one place.
|
2015-05-05 15:10:37 -04:00 |
Pietro Gagliardi
|
f35d68907b
|
More flicker work and TODOs.
|
2015-05-05 14:44:10 -04:00 |
Pietro Gagliardi
|
7f56079257
|
Disabled WM_PRINTCLIENT in uiContainer on Windows for now.
|
2015-05-05 14:37:25 -04:00 |
Pietro Gagliardi
|
4ba82c6eeb
|
Started refactoring uiContainer painting on Windows to be more efficient and handle WM_PRINTCLIENT.
|
2015-05-05 14:00:55 -04:00 |
Pietro Gagliardi
|
93ead4043e
|
Added a wrapper around MapWindowRect() to simplify error handling. This will be needed for future changes to windows/container.c.
|
2015-05-05 13:12:48 -04:00 |
Pietro Gagliardi
|
047d5aaa4d
|
Added error checking to the container painting code. More TODOs.
|
2015-05-05 13:01:20 -04:00 |
Pietro Gagliardi
|
40993b33ab
|
One person reports flicker, one person doesn't... I'll have to investigate myself.
|
2015-05-05 11:02:32 -04:00 |
Pietro Gagliardi
|
84b263ade6
|
Removed windows/OLDcontainer.c; we finally implemented everything from it.
|
2015-05-05 09:40:34 -04:00 |
Pietro Gagliardi
|
913025c3de
|
More TODOs.
|
2015-05-05 09:34:43 -04:00 |
Pietro Gagliardi
|
c0cc7f2df4
|
Implemented uiContainer transparent background drawing.
|
2015-05-05 09:10:58 -04:00 |
Pietro Gagliardi
|
2d49baa2f1
|
Seemingly fixed redraw issues with uiContainer on Windows control background painting. Now to paint uiContainer's background itself.
|
2015-05-05 00:16:25 -04:00 |
Pietro Gagliardi
|
2968d48d9e
|
Figured out something workable for control backgrounds on Windows!
|
2015-05-04 23:06:16 -04:00 |
Pietro Gagliardi
|
4e56f2d2b5
|
Disabled the WM_CTLCOLORxxx handler for now.
|
2015-05-04 22:04:24 -04:00 |
Pietro Gagliardi
|
d4245a448d
|
Moved the WM_CTLCOLORxxx handler back into the Windows uiContainer.
|
2015-05-04 20:36:33 -04:00 |
Pietro Gagliardi
|
e808b155cc
|
Moved a TODO to the long-term TODO list.
|
2015-05-04 20:11:58 -04:00 |
Pietro Gagliardi
|
0ad6cbb4b5
|
Removed a now-stale TODO thanks to some past commits.
|
2015-05-04 20:11:05 -04:00 |
Pietro Gagliardi
|
8b8be286ff
|
Made private functions in the various bin source files static.
|
2015-05-04 17:42:20 -04:00 |
Pietro Gagliardi
|
b2e9b646a4
|
Got rid of typedefs in the various newcontrol files for consistency.
|
2015-05-04 15:51:23 -04:00 |
Pietro Gagliardi
|
854d1f49af
|
Made preferredSize function names consistent on Windows. Stale TODO cleanup.
|
2015-05-04 14:56:26 -04:00 |
Pietro Gagliardi
|
7f41a3982f
|
Finished implementing uiTab enable/disable on Windows.
|
2015-05-04 14:45:18 -04:00 |
Pietro Gagliardi
|
5c9751f4d4
|
Set up a framework on Windows for implementing tab enable/disable.
|
2015-05-04 14:42:23 -04:00 |
Pietro Gagliardi
|
23e3230156
|
Fixed control enabling on Windows uiWindows.
|
2015-05-04 14:32:55 -04:00 |
Pietro Gagliardi
|
4716781e78
|
Finished container enable/disable on Windows for now.
|
2015-05-04 14:05:36 -04:00 |
Pietro Gagliardi
|
d98a2291cb
|
More enable/disable container stuff.
|
2015-05-04 11:09:28 -04:00 |
Pietro Gagliardi
|
b15f5ff1c7
|
Started implementing container enable/disable on Windows. More TODOs.
|
2015-05-04 09:53:53 -04:00 |
Pietro Gagliardi
|
862f84292f
|
Fixed an error in windows/container.c.
|
2015-05-03 19:58:37 -04:00 |
Pietro Gagliardi
|
fd4c559e86
|
Removed the typename argument from uiAlloc() and uiRealloc().
|
2015-05-03 19:52:24 -04:00 |
Pietro Gagliardi
|
997db39bb7
|
Decided not to optimize Windows menu item lookup.
|
2015-05-03 17:37:36 -04:00 |
Pietro Gagliardi
|
23cfcc8c6d
|
Confirmed that tabs are taken into account with TCM_ADJUSTRECT on Windows.
|
2015-05-03 17:21:48 -04:00 |
Pietro Gagliardi
|
aa568e51cf
|
Implemented uiControlPreferredSize() on Windows uiTabs.
|
2015-05-03 17:13:40 -04:00 |
Pietro Gagliardi
|
fc1044aab9
|
Quick TODOTODOTODO... resolution.
|
2015-05-03 16:56:58 -04:00 |
Pietro Gagliardi
|
2186192502
|
Changed c-> to uiControl(c)-> in the various newcontrol files for consistency.
|
2015-05-03 14:44:46 -04:00 |
Pietro Gagliardi
|
51cdb1817e
|
Added WS_EX_CONTROLPARENT to uiContainer on Windows.
|
2015-05-03 14:12:45 -04:00 |
Pietro Gagliardi
|
e8600450aa
|
TODO elaboration.
|
2015-05-03 12:36:35 -04:00 |
Pietro Gagliardi
|
61bcfa1a7e
|
Cleaned up and resolved DllMain() TODOs and issues.
|
2015-05-03 12:34:10 -04:00 |
Pietro Gagliardi
|
80c79d31a3
|
Changed the Windows window-creation code to handle menu wrapping.
|
2015-05-03 12:15:24 -04:00 |
Pietro Gagliardi
|
643ed46b00
|
Cleaned up windows/container.c resize(). More TODOs.
|
2015-05-03 11:55:34 -04:00 |
Pietro Gagliardi
|
dc5b7f4c59
|
Some TODO resolution in windows/tab.c. Wine bug filed (https://bugs.winehq.org/show_bug.cgi?id=38527); first tab behavior verified with program in wine bug.
|
2015-05-03 11:47:06 -04:00 |
Pietro Gagliardi
|
d50701b3a7
|
TODO consolidation.
|
2015-05-03 10:21:36 -04:00 |
Pietro Gagliardi
|
454b3ecb03
|
Changed the various OS-side control creation functions to use Make like uiMakeContainer() does instead of New.
|
2015-05-02 20:51:00 -04:00 |
Pietro Gagliardi
|
57bc11d67c
|
TODO consolidation.
|
2015-05-02 14:58:29 -04:00 |
Pietro Gagliardi
|
3260de37b3
|
BOOL -> int in initAlloc() on Windows.
|
2015-05-02 12:29:55 -04:00 |
Pietro Gagliardi
|
a70d56d77c
|
Switched to the Windows API heap functions in windows/alloc.c.
|
2015-05-02 12:27:53 -04:00 |
Pietro Gagliardi
|
effb919176
|
Added DllMain() to the Windows code.
|
2015-05-01 10:19:44 -04:00 |
Pietro Gagliardi
|
5094f08994
|
Fixed build errors from the previous commit.
|
2015-05-01 10:16:02 -04:00 |
Pietro Gagliardi
|
5ad2bfd6f0
|
Cleaned up uipriv*.h.
|
2015-05-01 10:14:11 -04:00 |
Pietro Gagliardi
|
122b1b0d2c
|
Some TODO consolidation.
|
2015-05-01 10:11:22 -04:00 |
Pietro Gagliardi
|
7dc7c5a5cd
|
Resolved a minor TODO in windows/menu.c.
|
2015-04-30 23:34:56 -04:00 |
Pietro Gagliardi
|
83f936a637
|
Fixed menus on Windows to avoid pointers moving underfoot.
|
2015-04-30 18:30:25 -04:00 |