Commit Graph

19 Commits

Author SHA1 Message Date
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 13bcf728ba Made the previous commit's changes on Windows. If the Stack Overflow question tells me I'm wrong, we can deal with it then. But yay simple sizing code again :D 2014-07-28 14:43:34 -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 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 010c97d686 Adjusted sizing data to act as the base container type; this is needed for proper resizing on both GTK+ and Mac OS X. 2014-07-25 19:28:34 -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 e989c953fa Moved Window.SetControl() into window.go pending addition of fake resize events. 2014-07-22 00:07:41 -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 6a5a28d917 Migrated common_windows.go to C. Now to nuke unneeded files and fix compiler errors... 2014-07-17 23:45:12 -04:00
Pietro Gagliardi 0dc1538002 Migrated window_windows.go to C. 2014-07-17 23:11:16 -04:00
Pietro Gagliardi 19f7b2946a Laid down the framework for control events on Windows. The only problem left is that we need to use functions from comctl32.dll, so it's time to bring that blob of code back. 2014-07-17 15:10:26 -04:00
Pietro Gagliardi 819caea422 Re-added the Windows sizing code. 2014-07-16 22:31:48 -04:00
Pietro Gagliardi d154a2d74d Added basic control showing to the Windows backend. 2014-07-15 22:44:27 -04:00
Pietro Gagliardi 09ed472138 Added the beginninig of the Windows Control code. 2014-07-15 22:29:45 -04:00
Pietro Gagliardi c61666b6b4 Implemented resize event detection on Windows. 2014-07-15 12:09:46 -04:00
Pietro Gagliardi 530810deda Implemented Window.Close() on Windows. 2014-07-12 16:15:10 -04:00
Pietro Gagliardi cfb9bcc625 Fixed the Windows code. Now to implement closing properly. 2014-07-12 12:59:12 -04:00
Pietro Gagliardi b944b6d4d8 Finished writing initial Windows implementation. Now to find out why it doesn't work... 2014-07-12 11:29:54 -04:00