Commit Graph

74 Commits

Author SHA1 Message Date
Pietro Gagliardi 37975ae082 Laid the foundation for control showing, hiding, enabling, and disabling. 2015-04-11 14:12:12 -04:00
Pietro Gagliardi 6277c34337 Decided to kill uiInitError and return the message as a const char * instead. Will need to implement on Windows. 2015-04-10 16:54:06 -04:00
Pietro Gagliardi 6f5b5dc4e4 Decided that uiCheckboxSetChecked() should NOT trigger an event. This required changing the GTK+ backend to make it so; the Windows and Mac OS X backends are fine (setting their checkbox state programmatically will not send a signal; thanks to ThunderSnow in irc.freenode.net/#macdev for confirming this for Mac OS X). 2015-04-09 23:48:04 -04:00
Pietro Gagliardi 4e03a117da Changed the allocation logging from a compile-time setting to the first initialization option. 2015-04-09 22:38:11 -04:00
Pietro Gagliardi 759feeb7a1 Added uiWindowMargined() and implemented it on all platforms. 2015-04-09 21:11:56 -04:00
Pietro Gagliardi 5c2ead2fea Added uiStackPadded(). 2015-04-09 20:04:18 -04:00
Pietro Gagliardi d84df8f38f Finished Windows conversion. Works perfectly! 2015-04-09 17:57:08 -04:00
Pietro Gagliardi 6d600f08cd Big change time: decided to stop playing around with hiding and made both uiControl and uiSizing public. Also restructured uiSizing to make system-dependent data in another structure. 2015-04-09 16:37:04 -04:00
Pietro Gagliardi 1575a0dc7c Implemented padding in uiStack. 2015-04-09 15:59:40 -04:00
Pietro Gagliardi 4c13ac57d5 Added uiWindowSetMargined(). 2015-04-09 13:42:42 -04:00
Pietro Gagliardi f5745325b2 Implemented uiCheckbox(Set)Checked() on Mac OS X. 2015-04-09 13:01:23 -04:00
Pietro Gagliardi 3d3d84c146 Added uiCheckboxChecked() and uiCheckboxSetChecked(). 2015-04-09 12:52:34 -04:00
Pietro Gagliardi 69b794c0b0 Implemented uiCheckbox on Windows. Fixed build issues in the test program. 2015-04-09 12:32:59 -04:00
Pietro Gagliardi c2d98a8b0e Added uiCheckboxOnToggled(). 2015-04-09 12:26:59 -04:00
Pietro Gagliardi 8d30e1df39 Added a checkbox to the test program. It won't do anything just yet... 2015-04-09 12:14:18 -04:00
Pietro Gagliardi ba66d7308a Re-enabled the text manipulation code in the test program. 2015-04-09 02:43:49 -04:00
Pietro Gagliardi 9f645e3ad3 Decided to call it uiEntry for now. 2015-04-08 23:22:59 -04:00
Pietro Gagliardi ae31cbc089 Decided not to take the suggestions of some TODOs in ui.h. 2015-04-08 19:53:15 -04:00
Pietro Gagliardi df4c5f270c Started work on ensuring things get cleaned up. Added a destroy() method to uiControl and implemented most of the work for Windows. 2015-04-08 00:43:35 -04:00
Pietro Gagliardi 6370c7d063 Added uiStack. Not yet tested; need to do a few things first. 2015-04-07 18:53:09 -04:00
Pietro Gagliardi 978e9b5e94 Added uiControlHandle() and fixed other uiButton issues. 2015-04-07 04:12:03 -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 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 fc19f776c4 Started doing the C rewrite. Defined the basic initialization and main loop and window API and implemented them on GTK+. 2015-04-06 12:20:51 -04:00