Commit Graph

16 Commits

Author SHA1 Message Date
Pietro Gagliardi 37cf0a20c0 Migrated the Mac OS X backend to sizer. Once I get this control sizing stuff working there and the height of a Tab tab on Windows, I'm going to chuck this whole embedding thing and sacrifice a non-cluttered directory structure for CODE SIMPLICITY. 2014-08-02 07:28:20 -04:00
Pietro Gagliardi 9daab20fce Changed Control.setParent() to take the same argument type on all platforms; this is needed for re-adding Stack and Grid. This argument type is defined by each platform. 2014-07-29 23:01:28 -04:00
Pietro Gagliardi 286704bedd Fixed the proper recursive application of spaced on Windows tabs by having container.resize() also take the origin coordinates as arguments. 2014-07-28 15:02:27 -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 ee5c6ff846 Implemented Tab on Mac OS X. Woo! I'll need to add justification for what I'm doing with the whole recursive call thing; when I get confirmation from the GTK+ camp I will. 2014-07-25 23:11:41 -04:00
Pietro Gagliardi 3d5e8feba4 Implemented the various parenting and sizing changes on the Mac OS X backend; also moved a line in window_windows.go around for consistency. 2014-07-25 20:10:09 -04:00
Pietro Gagliardi e989c953fa Moved Window.SetControl() into window.go pending addition of fake resize events. 2014-07-22 00:07:41 -04:00
Pietro Gagliardi ecdb7bc09d Removed leftover TODO in window_darwin.go. 2014-07-20 17:30:22 -04:00
Pietro Gagliardi 48c5055eb9 Started dropping the whole request/response system because it fell apart... time to make a ui.Do(func(){ ... }) 2014-07-19 09:44:32 -04:00
Pietro Gagliardi b56f60c04c Fixed control positioning on initial window show on Mac OS X. 2014-07-18 15:16:41 -04:00
Pietro Gagliardi 659bc03f17 Migrated control sizing code for Mac OS X. 2014-07-17 11:24:58 -04:00
Pietro Gagliardi 1953f2d748 Added Button and control adding to the Mac OS X backend. 2014-07-16 13:25:09 -04:00
Pietro Gagliardi 474436e9f6 Implemented window resize handling on Mac OS X. Now for actually setting child controls and resizing them. 2014-07-15 14:04:20 -04:00
Pietro Gagliardi 44811e5351 Implemented window closing on Mac OS X. This drops the "single delegate object for everything" setup but keeping that map and holding its lock is already meh so. 2014-07-08 17:44:08 -04:00
Pietro Gagliardi b4357db4be Added the beginning of the Mac OS X code. 2014-07-08 16:47:28 -04:00