Commit Graph

23 Commits

Author SHA1 Message Date
Pietro Gagliardi d326407f05 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 64b746c9a1 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 50a227058a Changed the allocation logging from a compile-time setting to the first initialization option. 2015-04-09 22:38:11 -04:00
Pietro Gagliardi d9315e6d8f Added uiWindowMargined() and implemented it on all platforms. 2015-04-09 21:11:56 -04:00
Pietro Gagliardi a7281f9034 Added uiStackPadded(). 2015-04-09 20:04:18 -04:00
Pietro Gagliardi 1a525dea31 Finished Windows conversion. Works perfectly! 2015-04-09 17:57:08 -04:00
Pietro Gagliardi 471b3a57e7 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 3f05be544c Implemented padding in uiStack. 2015-04-09 15:59:40 -04:00
Pietro Gagliardi 9c2fe78f78 Added uiWindowSetMargined(). 2015-04-09 13:42:42 -04:00
Pietro Gagliardi 6d93fce5b5 Implemented uiCheckbox(Set)Checked() on Mac OS X. 2015-04-09 13:01:23 -04:00
Pietro Gagliardi ca607f8fb7 Added uiCheckboxChecked() and uiCheckboxSetChecked(). 2015-04-09 12:52:34 -04:00
Pietro Gagliardi 07f3b4698e Implemented uiCheckbox on Windows. Fixed build issues in the test program. 2015-04-09 12:32:59 -04:00
Pietro Gagliardi d52a0b9a7d Added uiCheckboxOnToggled(). 2015-04-09 12:26:59 -04:00
Pietro Gagliardi 2917d568d2 Added a checkbox to the test program. It won't do anything just yet... 2015-04-09 12:14:18 -04:00
Pietro Gagliardi a0073727c8 Re-enabled the text manipulation code in the test program. 2015-04-09 02:43:49 -04:00
Pietro Gagliardi c6d3a068a9 Decided to call it uiEntry for now. 2015-04-08 23:22:59 -04:00
Pietro Gagliardi 317217de5a Decided not to take the suggestions of some TODOs in ui.h. 2015-04-08 19:53:15 -04:00
Pietro Gagliardi 54e947eed3 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 03d94db0fd Added uiStack. Not yet tested; need to do a few things first. 2015-04-07 18:53:09 -04:00
Pietro Gagliardi 3b52095ab0 Added uiControlHandle() and fixed other uiButton issues. 2015-04-07 04:12:03 -04:00
Pietro Gagliardi a7293951f7 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 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 ee1653f542 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