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
|
41f3ef292f
|
Cleaned up sizing a bit. Being able to know how big something will be ahead of time would be better.
|
2014-07-25 22:13:09 -04:00 |
Pietro Gagliardi
|
c676a2d9b7
|
Implemented Tab on GTK+. I really don't like the way sizing works now...
|
2014-07-25 20:47:08 -04:00 |
Pietro Gagliardi
|
d1702d33e0
|
Updated the GTK+ backend to have the new parenting and sizing changes. Now to implement Tab! ...though I should probably implement the changes on Mac OS X first.
|
2014-07-25 19:44:32 -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
|
d60d176472
|
Actually, switch back to GtkLayout, as GtkFixed has the side effect of not allowing truly arbitrary resizes.
|
2014-07-21 10:48:56 -04:00 |
Pietro Gagliardi
|
d319d9f4ac
|
Switched the GTK+ layout control from GtkLayout back to GtkFixed; the size-allocate thing overrides the size-request issue I had earlier that prompted the switch away.
|
2014-07-21 10:45:37 -04:00 |
Pietro Gagliardi
|
7d3504e25b
|
Implemented initial window size on the GTK+ backend.
|
2014-07-21 10:37:15 -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
|
847690bb10
|
Fixed window resizing in GTK+ acting wonky AND several related TODOs to boot!
|
2014-07-18 19:36:29 -04:00 |
Pietro Gagliardi
|
e2be30c6e4
|
Changed the GTK+ files so they would not compile on Windows; this is needed now that the Windows build uses cgo too.
|
2014-07-17 23:50:14 -04:00 |
Pietro Gagliardi
|
a253f39d68
|
Ported over the sizing framework from the old package and implemented it on the GTK+ backend.
|
2014-07-16 21:30:19 -04:00 |
Pietro Gagliardi
|
d6a8a72662
|
Fixed a flaw in the SetControl() for GTK+ Window: it forgot to unparent old children.
|
2014-07-15 22:34:12 -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
|
b3cba4bfb1
|
Added window resize handling to the GTK+ backend.
|
2014-07-14 22:54:57 -04:00 |
Pietro Gagliardi
|
daafb7aef8
|
Added the widget container to the GTK+ code.
|
2014-07-14 16:32:45 -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
|
d874148760
|
Fixed most compilation errors and added GTK+ string helper functions to common_unix.go.
|
2014-07-07 22:46:23 -04:00 |
Pietro Gagliardi
|
0c57837676
|
Made event handler setters return a Request, implemented stubs on GTK+ so I can build a test, and made documentation consistent.
|
2014-07-07 16:51:17 -04:00 |
Pietro Gagliardi
|
c0c38ac8f5
|
Added the GTK+ implementation of Window, added the Window constructors, and rewrote the GTK+ Button constructor to use Requests.
|
2014-07-07 15:30:55 -04:00 |