Commit Graph

16 Commits

Author SHA1 Message Date
Pietro Gagliardi 79a7e18b8d Implemented the text functions on Windows. 2015-04-09 11:12:01 -04:00
Pietro Gagliardi 1f18d88f56 Split toUTF16() into a new file; other Windows text functions will also be there. 2015-04-09 09:24:08 -04:00
Pietro Gagliardi c6d7e33121 Decided to not call InvalidateRect() in the Windows updateParent(); the Cocoa one doesn't either, and besides, if controls expose something then the parent areas would be invalidated anyway :/ More TODO removal. 2015-04-08 21:08:53 -04:00
Pietro Gagliardi fef91d9820 "Fixed" initial Windows window shows for now (see previous commit). Not yet a clean fix; need to test some things on real Windows first. 2015-04-08 20:53:34 -04:00
Pietro Gagliardi 47723aa8d9 More TODO resolution. 2015-04-08 20:14:10 -04:00
Pietro Gagliardi 7b1dfbf1d6 Unified the allocators across all platforms so that everyone uses uiAlloc() and friends. 2015-04-07 19:04:09 -04:00
Pietro Gagliardi 587da1f40f Added uiContainer, the GtkFixed equivalent for use by the GTK+ backend. Fixed up formatting of the uipriv_*.h files. 2015-04-07 12:59:01 -04:00
Pietro Gagliardi 32c6555fc0 Moved Windows container functions from util_windows.c to container_windows.c. 2015-04-07 11:39:15 -04:00
Pietro Gagliardi 54dd1f4001 Hooked up resizing. Now to make a control that uses this. 2015-04-07 03:39:47 -04:00
Pietro Gagliardi c404590960 Fixed build issues. Now I just need to hook resizing into uiWindow and implement a control and we'll be set... 2015-04-07 03:12:34 -04:00
Pietro Gagliardi a3c26ff652 Hooked everything else together (initialParent, ui_windows.h in uipriv_windows.h). Now to fix build issues... (like a missing const in const char * fixed here too). 2015-04-07 03:02:07 -04:00
Pietro Gagliardi d14735883d Hooked up the WM_COMMAND and WM_NOTIFY bouncers. 2015-04-07 02:55:33 -04:00
Pietro Gagliardi 816461ecbf Added Common Controls code again (because we're going to need the subclassing functions now). 2015-04-07 02:11:31 -04:00
Pietro Gagliardi dd8de11cc2 More work on the Windows control hooking. 2015-04-07 01:33:26 -04:00
Pietro Gagliardi ab936d304f Added a public API for creating raw Windows controls. Removed include guards from uipriv_*.h. 2015-04-07 00:56:06 -04:00
Pietro Gagliardi 1d76d53593 Changed ui_*.h to uipriv_*.h pending a public non-portable API. 2015-04-07 00:26:27 -04:00