Commit Graph

18 Commits

Author SHA1 Message Date
Pietro Gagliardi ec95a4a2dd Laid the foundation for padding. 2015-04-09 15:25:18 -04:00
Pietro Gagliardi 7148b26afb Implemented uiWindowSetMargined() on Windows. 2015-04-09 13:51:01 -04:00
Pietro Gagliardi 880008b716 Implemented the text functions on Windows. 2015-04-09 11:12:01 -04:00
Pietro Gagliardi 2b52563cd9 Split toUTF16() into a new file; other Windows text functions will also be there. 2015-04-09 09:24:08 -04:00
Pietro Gagliardi fa8389e98a 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 a2d785e22a "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 b9c38ebd20 More TODO resolution. 2015-04-08 20:14:10 -04:00
Pietro Gagliardi 3b1e5148d9 Unified the allocators across all platforms so that everyone uses uiAlloc() and friends. 2015-04-07 19:04:09 -04:00
Pietro Gagliardi 79d1877202 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 5db89a524b Moved Windows container functions from util_windows.c to container_windows.c. 2015-04-07 11:39:15 -04:00
Pietro Gagliardi fecb7caa14 Hooked up resizing. Now to make a control that uses this. 2015-04-07 03:39:47 -04:00
Pietro Gagliardi a09430113f 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 54259ed98b 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 300c86b590 Hooked up the WM_COMMAND and WM_NOTIFY bouncers. 2015-04-07 02:55:33 -04:00
Pietro Gagliardi 0d3e64a44d 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 249cc1f2f0 More work on the Windows control hooking. 2015-04-07 01:33:26 -04:00
Pietro Gagliardi 9742cc02df 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 9298bc9e37 Changed ui_*.h to uipriv_*.h pending a public non-portable API. 2015-04-07 00:26:27 -04:00