Commit Graph

31 Commits

Author SHA1 Message Date
Pietro Gagliardi f24e177d99 Mostly fixed Labels on Windows being offset slightly; need to finish the fix by making it not apply to standalone Labels and adding comments. 2014-08-08 23:47:06 -04:00
Pietro Gagliardi 0cf86eeb03 Added nested and empty tabs to the test program, and fixed up relevant documentation. 2014-08-08 22:28:58 -04:00
Pietro Gagliardi ddbb719918 Made containers transparent on Windows. This is the first of a four-part set (though IDK if it will be four commits) to make both containers and areas both transparent and flicker-free. Also added a Space() tab to the test program to test the transparency. 2014-08-06 21:34:31 -04:00
Pietro Gagliardi b46167f1e2 Fixed up the implementation of Area on GTK+ and the Area test. Seems to be fine, though for some reason holding down a mouse button doesn't generate a drag in GTK+ 3.10... 2014-08-05 00:34:24 -04:00
Pietro Gagliardi 28764445b9 Re-added Area on the GTK+ backend. Not yet working; need to reconnect signals. 2014-08-04 23:31:11 -04:00
Pietro Gagliardi 585f5f5b62 Applied previous commit's change to the test program. 2014-08-03 09:13:25 -04:00
Pietro Gagliardi bdc8aac4d6 Added preferred size tests to zz_test.go; these will help for what we're about to do (implement Control.preferredSize() on all other platforms). 2014-07-30 22:42:32 -04:00
Pietro Gagliardi 8b1756e952 Re-added Stack. Of course it only works right on GTK+ right now... the other platforms's Control.preferredSize()s aren't implemented yet! 2014-07-29 23:23:45 -04:00
Pietro Gagliardi f4bb7360d4 Added Label and implemented it on all platforms. 2014-07-29 13:48:31 -04:00
Pietro Gagliardi ab8acd99b9 Fixed a small error in the zz_test.go rewrite from a few commits ago. 2014-07-29 01:40:17 -04:00
Pietro Gagliardi 389269bc66 Fixed the test program crashing after a while (prevent the Window and Controls from being garbage-collected from under us). 2014-07-28 23:55:52 -04:00
Pietro Gagliardi 7cb6ca1243 Began the implementation of Table on Windows. 2014-07-28 20:52:32 -04:00
Pietro Gagliardi 0b82f37bcb Added the basic Table interface. Now to implement it... 2014-07-28 17:59:50 -04:00
Pietro Gagliardi bea4df1abf Began final simplification of size code. spaced is now a global variable; either all controls are given spacing now, or none will. beginResize() is a method on container again. Done on GTK+ and Mac OS X for now. I'm going to go ahead and implement this on Windows in a bit, regardless of whether that Stack Overflow question get answered or not, because ugggggggggh I just want to continue working on this project for fuck's sake! 2014-07-28 14:00:01 -04:00
Pietro Gagliardi d34ffa326c Made the sizing recursive chain idempotent and added a -spaced option to the test program to test spacing. 2014-07-26 14:11:03 -04:00
Pietro Gagliardi 4515849e22 Implemented TextField on Windows. 2014-07-26 06:57:11 -04:00
Pietro Gagliardi 4680e35300 Simplified the control nesting model by removing Control.unparent() and requiring all Windows to have a Control at construct time; implemented such on Windows. 2014-07-25 17:34:45 -04:00
Pietro Gagliardi 9ea22218ff Implemented Tab on Windows. 2014-07-25 15:58:24 -04:00
Pietro Gagliardi d57d2aa2de Added Checkbox on the GTK+ backend, added a checkbox to the test program, and fixed a small error in the GTK+ widgetbase.parent() that kept the new widget hidden. 2014-07-21 21:07:14 -04:00
Pietro Gagliardi 214dc6cd5c Ah, fixed the stalling: logic error in the test program itself. 2014-07-19 10:16:00 -04:00
Pietro Gagliardi e73e7ab733 Fixed more conversion kinks. Now for a major change... 2014-07-19 10:07:42 -04:00
Pietro Gagliardi 32061353a1 Updated the test program to be Request-less. Now to test... 2014-07-19 09:58:57 -04:00
Pietro Gagliardi 08f5c42639 Added a test case for Window.Close(). 2014-07-18 22:30:07 -04:00
Pietro Gagliardi e4b379f84a Added button click events to the Mac OS X backend. 2014-07-17 12:02:39 -04:00
Pietro Gagliardi 5ebd89984a Added parenting/unparenting of controls to the GTK+ backend and the test program. 2014-07-15 20:48:16 -04:00
Pietro Gagliardi 244061d878 Changed the semantics of uitask() to allow it to handle recursive main loops properly; important for Stop() to work correctly on non-Windows systems. 2014-07-13 20:26:16 -04:00
Pietro Gagliardi f36451d26e Added Stop() and implemented it on Windows. 2014-07-13 01:14:55 -04:00
Pietro Gagliardi b4357db4be Added the beginning of the Mac OS X code. 2014-07-08 16:47:28 -04:00
Pietro Gagliardi 60d0953fe9 Implemented the Window OnClosing() event on GTK+. It works! 2014-07-08 12:04:51 -04:00
Pietro Gagliardi 382bf27523 Fixed runtime crashes for now. Whee, we have a window again! 2014-07-08 11:01:29 -04:00
Pietro Gagliardi 8f768d2b91 Fixed other compilation errors and added a test file. Now to figure out why things are failing at runtime... 2014-07-08 10:00:16 -04:00