Commit Graph

27 Commits

Author SHA1 Message Date
Pietro Gagliardi acbe70b4e5 Fixed the infinite loop on Tab control dialog message bug(s) on the Windows backend. 2014-08-14 13:05:31 -04:00
Pietro Gagliardi 95815841aa Merged cases of C.moveWindow() on Windows containers to one place (container_windows.go) as a method on container. 2014-08-04 21:27:35 -04:00
Pietro Gagliardi 4606f5c2ee Decided to keep tab textures on Windows. 2014-08-04 21:22:43 -04:00
Pietro Gagliardi ef513c4337 Completed the migration of the Windows backend to the new container system. 2014-08-04 20:04:16 -04:00
Pietro Gagliardi 9ed4ec5259 Split layout and Window on Windows to use two separate window classes. This is the first half of the two-part migration of the Windows backend to use container. 2014-08-04 19:46:49 -04:00
Pietro Gagliardi 950548563d Split apart the Windows Window code so that the same window class can be used for both top-level windows and tab pages (next commit). This makes things slightly messy in the short term, but this will all be cleaned up soon, and has the advantage of taking care of the sizer mess~ 2014-08-04 11:05:39 -04:00
Pietro Gagliardi 0356d0fd70 Migrated the Windows backend to use sizer. 2014-08-01 23:36:13 -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 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