Commit Graph

63 Commits

Author SHA1 Message Date
Pietro Gagliardi 00e31d0a2b Finished Windows cleanup management. Everything (almost, only parentWindow is still around, but that shouldn't be a uiWindow to begin with) now cleaned! 2015-04-08 00:51:50 -04:00
Pietro Gagliardi 78aa64f7ca Implemented uiButton.preferredSize() on Windows. This includes adding a function to get the width of text in a control. 2015-04-07 19:32:16 -04:00
Pietro Gagliardi 5b36956ecb Wrote up the initial uiButton implementation. It (mostly; just needs text and for that I need to add a uiControlHandle()) works! 2015-04-07 04:02:21 -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 9e26519338 Added subclassing, which finishes off newcontrol_windows.c. 2015-04-07 02:46:27 -04:00
Pietro Gagliardi 9579a57501 More Windows control work. 2015-04-07 01:51:17 -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
Pietro Gagliardi 20061b8e78 Decided to start with the parenting stuff now. 2015-04-07 00:23:01 -04:00
Pietro Gagliardi 2c680dfa75 Started writing code for handling single-HWND controls on Windows. Similar code will exist for single-GtkWidget controls on GTK+ and single-NSView controls on Cocoa. 2015-04-06 22:26:53 -04:00
Pietro Gagliardi 58da9ce2bd Started working on uiControl. 2015-04-06 21:53:31 -04:00
Pietro Gagliardi 4d89e6ae71 Implemented what we have so far, but on Windows. 2015-04-06 17:41:33 -04:00