Commit Graph

1892 Commits

Author SHA1 Message Date
Pietro Gagliardi 8c8b642adb Fixed Mac OS X sizing and more TODOs. Ready to merge back! 2014-10-18 17:02:51 -04:00
Pietro Gagliardi 922407d5b6 Fixed buid errors. 2014-10-18 16:12:41 -04:00
Pietro Gagliardi cb19b4586b Migrated Mac OS X Window. Ready to build; almost ready to remerge! 2014-10-18 16:06:58 -04:00
Pietro Gagliardi a5c002fcd2 More Mac OS X work. Woah, almost done! 2014-10-18 16:01:40 -04:00
Pietro Gagliardi 0351cf27fe Migrated the Mac OS X basic controls. 2014-10-18 15:44:56 -04:00
Pietro Gagliardi fd9e614faa Started the Mac OS X conversion. 2014-10-18 14:17:35 -04:00
Pietro Gagliardi b1ac28cc93 Fixed parenting weirdnesses. 2014-10-18 12:47:19 -04:00
Pietro Gagliardi 0f6e65188a Fixed paintControlBackground() on Windows; there is no longera guarantee of every control being put on top of a container. 2014-10-18 09:26:28 -04:00
Pietro Gagliardi 1face3a455 Implemented container.bounds() on Windows. 2014-10-18 09:06:17 -04:00
Pietro Gagliardi 45acb35a6d Fixed control positioning on GTK+. This will also "fix" control positioning on Windows; next commit. 2014-10-18 08:57:53 -04:00
Pietro Gagliardi 772f03f4b3 Fixed GTK+ Area crash (damn typo). Now to figure out why everything is misplaced :D 2014-10-17 23:21:30 -04:00
Pietro Gagliardi aabbe36b44 Fixed compiler errors. Now to fix runtime errors! Woo! 2014-10-17 23:14:00 -04:00
Pietro Gagliardi f363a790cc Migrated GTK+ Tab. Now to test! 2014-10-17 23:05:46 -04:00
Pietro Gagliardi 8e650584f7 Migrated GTK+ Window. 2014-10-17 22:40:05 -04:00
Pietro Gagliardi b060d992ff Figured out what to do about containers in GTK+ and applied it to Group. 2014-10-17 22:28:23 -04:00
Pietro Gagliardi 00438732d1 Readded containerResize() on GTK+; going to have to figure out how I'm going to do GTK+ size control... 2014-10-17 20:21:35 -04:00
Pietro Gagliardi 8f1165e0c7 Did most of the GTK+ migration. 2014-10-17 20:02:34 -04:00
Pietro Gagliardi 344a344abd Began the GTK+ backend migration. control_unix.go is migrated; Area overlay changes are done now so I don't forget later as well. 2014-10-17 17:01:24 -04:00
Pietro Gagliardi 2b95335e6e Cleaned up some code. 2014-10-17 16:35:30 -04:00
Pietro Gagliardi b37759be84 More TODOs. 2014-10-17 13:25:37 -04:00
Pietro Gagliardi 492845da5d Adjusted background painting code on Windows for the new container structure. 2014-10-17 13:21:20 -04:00
Pietro Gagliardi d2e1c9f261 Forgot the modified test, oops. 2014-10-17 13:16:36 -04:00
Pietro Gagliardi 61a21b87aa Implemented Padded on Grid. 2014-10-17 13:16:16 -04:00
Pietro Gagliardi 48be573b22 Implemented Padded in SImpleGrid. 2014-10-17 13:08:54 -04:00
Pietro Gagliardi bdadfe232d Implemented Padded in Space. 2014-10-17 12:57:39 -04:00
Pietro Gagliardi d6ae3afeb4 Added margined to Group and reworked the test. Now for spacing. 2014-10-16 19:35:50 -04:00
Pietro Gagliardi 7ea98fce72 Accidentally flipped margined logic on Group. 2014-10-16 18:55:27 -04:00
Pietro Gagliardi 3345ae3189 Marked group tabbing bug as fixed. 2014-10-16 18:46:31 -04:00
Pietro Gagliardi 3084d0f243 Implemented tabbing properly. Tab order still backwards. 2014-10-16 18:41:17 -04:00
Pietro Gagliardi 634ef7d4d9 More TODOs. 2014-10-16 16:20:50 -04:00
Pietro Gagliardi fa67147f54 Forgot to size Grid and SimpleGrid's container properly. Fixed. 2014-10-16 16:20:09 -04:00
Pietro Gagliardi 229ffd37b2 Fixed Tab page content positioning. 2014-10-16 16:05:18 -04:00
Pietro Gagliardi 31fd8a34df Made Tab containers children of the Tab. 2014-10-16 15:44:30 -04:00
Pietro Gagliardi 7c9c51a083 Fixed preferred size forgetfulness. 2014-10-16 15:16:11 -04:00
Pietro Gagliardi 66d241074a More TODOs for real. 2014-10-16 14:22:54 -04:00
Pietro Gagliardi f607b428a3 Actually we don't need to do anything to Tab right nwo... 2014-10-16 14:18:58 -04:00
Pietro Gagliardi c1443855d5 More TODOs. 2014-10-16 14:12:02 -04:00
Pietro Gagliardi c920946898 Added the sharedWndProc() spiel to Tab now that it stores Controls directly. Will need to add the same to Group. 2014-10-16 14:11:28 -04:00
Pietro Gagliardi a1f9dca68c Storing the *container in the Windows GWLP_USERDATA is no longer needed; strip it. 2014-10-16 14:09:11 -04:00
Pietro Gagliardi 6cefa04d71 Removed containerResize() from container_windows.c; it no longer exists. 2014-10-16 14:06:02 -04:00
Pietro Gagliardi 3316386c2a Fixed a small error in group_windows.go. 2014-10-16 13:55:05 -04:00
Pietro Gagliardi b27671740d Removed the whole store**HWND spiel. No longer works properly (nil pointers woo). 2014-10-16 13:53:05 -04:00
Pietro Gagliardi e78624f057 Removed the dummy test program. 2014-10-15 13:33:53 -04:00
Pietro Gagliardi 0e32aff30b Fixed compiler errors. 2014-10-15 13:30:35 -04:00
Pietro Gagliardi 6b2dac4200 Migrated the layout containers. No margins yet. If all goes well, though, this should be enough... 2014-10-15 12:57:08 -04:00
Pietro Gagliardi d6b7a0d8c2 Migrated Table and Area. Almost done, I think??? 2014-10-15 11:39:57 -04:00
Pietro Gagliardi 7e0a8968c1 Migrated Tab. 2014-10-15 11:17:34 -04:00
Pietro Gagliardi aed71fa5d4 Migrated Group on Windows over. 2014-10-15 10:12:36 -04:00
Pietro Gagliardi b6991d9b12 Started the work for margins; implemented for Window. 2014-10-14 22:04:32 -04:00
Pietro Gagliardi 8fd3e653d1 Started the actual new container framework. 2014-10-14 20:31:35 -04:00