Pietro Gagliardi
|
4e2315e757
|
Started implementing a test of Area.RepaintAll()/Repaint().
|
2014-08-21 15:32:36 -04:00 |
Pietro Gagliardi
|
e5c74b832b
|
Changed AreaHandler.Key() to return a boolean value indicating if the event was handled; implemented this on Windows. It does sledgehammer some edge cases I wanted to avoid, but it also avoids fussing about scrolling and focus and what not.
|
2014-08-21 05:37:24 -04:00 |
Pietro Gagliardi
|
b964c564e7
|
Added Table.OnSelected() and implemented it on Windows.
|
2014-08-20 21:21:45 -04:00 |
Pietro Gagliardi
|
ac1b8e3cca
|
Added a test for TextField.Invalid() and implemented it on the GTK+ backend.
|
2014-08-20 01:35:05 -04:00 |
Pietro Gagliardi
|
cb4d28cc1c
|
Added OpenFile(), the first dialog to be added, and implemented it on Windows... mostly.
|
2014-08-18 19:01:56 -04:00 |
Pietro Gagliardi
|
a8da22272f
|
Added a test of foreign events. I see they do not work yet...
|
2014-08-18 17:12:45 -04:00 |
Pietro Gagliardi
|
d5f9c237b7
|
Added image lists to Tables and added them to the Windows backend... mostly. There are a few kinks to work out...
|
2014-08-16 17:37:21 -04:00 |
Pietro Gagliardi
|
5d69bc2534
|
Added some test data for ImageList.
|
2014-08-16 15:17:18 -04:00 |
Pietro Gagliardi
|
5a1fc98fc3
|
Added test of Group with a Control that fills it.
|
2014-08-15 22:59:45 -04:00 |
Pietro Gagliardi
|
318036d155
|
Added Group and implemented it on GTK+.
|
2014-08-15 21:43:24 -04:00 |
Pietro Gagliardi
|
a282a12b81
|
Fixed up Grid and wrote a test.
|
2014-08-15 19:50:00 -04:00 |
Pietro Gagliardi
|
b91ee96316
|
Changed one of the names of the buttons in the small window test so it can be used for testing key equivalents in GTK+ and Mac OS X Areas.
|
2014-08-14 23:43:43 -04:00 |
Pietro Gagliardi
|
4e120b03df
|
Removed GTK+ spurious resize TODO and debug spiel; I can't notice much of a difference after ignoring extraneous resizes. The custom container will stay, however, as it does not demonstrate weird background drawing bugs with oxygen-gtk.
|
2014-08-14 09:46:33 -04:00 |
Pietro Gagliardi
|
2a2d730d12
|
Decided to remove AreaHandler.Defocuses() as that mucks up with the Mac OS X keyboard trap.
|
2014-08-13 14:09:53 -04:00 |
Pietro Gagliardi
|
35228385c1
|
Kinda sorta maybe implemented AreaHandler.Defocus() on Mac OS X. Starting to think I should just not allow Areas to be focused out.
|
2014-08-13 14:02:10 -04:00 |
Pietro Gagliardi
|
b01c653942
|
Made Areas on Windows tab stops and implemented AreaHandler.Defocuses() on Windows.
|
2014-08-13 10:41:27 -04:00 |
Pietro Gagliardi
|
59f2eeca22
|
Figured out why I'm getting intermittent crashes. Worked around for now, but will become a major issue soon...
|
2014-08-13 09:57:22 -04:00 |
Pietro Gagliardi
|
0a4dfbbae1
|
Added a new method to AreaHandler, Defocuses(), for navigation events.
|
2014-08-12 22:58:23 -04:00 |
Pietro Gagliardi
|
6dcda6aafa
|
Determined that Backspace, Tab, and Enter work in Areas on Windows (though more TODOs due to dialog message craziness).
|
2014-08-12 20:08:53 -04:00 |
Pietro Gagliardi
|
9ecd124500
|
Made Stack an interface to keep parity with all other Controls.
|
2014-08-12 12:40:48 -04:00 |
Pietro Gagliardi
|
61cd581ff4
|
Added a test for window size to test the small window weirdness of Areas on Mac OS X.
|
2014-08-11 12:21:19 -04:00 |
Pietro Gagliardi
|
6c1bf7aabd
|
Big change: with the current event model, it's safe to call Area.RepaintAll() (and the future Area.Repaint()) from within AreaHandler.Key() and AreaHandler.Mouse(); get rid of the bool returns from each. The future Area.Repaint() is important; the bool returns repainted the whole Area, which may not be optimal.
|
2014-08-09 10:33:38 -04:00 |
Pietro Gagliardi
|
f24e177d99
|
Mostly fixed Labels on Windows being offset slightly; need to finish the fix by making it not apply to standalone Labels and adding comments.
|
2014-08-08 23:47:06 -04:00 |
Pietro Gagliardi
|
0cf86eeb03
|
Added nested and empty tabs to the test program, and fixed up relevant documentation.
|
2014-08-08 22:28:58 -04:00 |
Pietro Gagliardi
|
ddbb719918
|
Made containers transparent on Windows. This is the first of a four-part set (though IDK if it will be four commits) to make both containers and areas both transparent and flicker-free. Also added a Space() tab to the test program to test the transparency.
|
2014-08-06 21:34:31 -04:00 |
Pietro Gagliardi
|
b46167f1e2
|
Fixed up the implementation of Area on GTK+ and the Area test. Seems to be fine, though for some reason holding down a mouse button doesn't generate a drag in GTK+ 3.10...
|
2014-08-05 00:34:24 -04:00 |
Pietro Gagliardi
|
28764445b9
|
Re-added Area on the GTK+ backend. Not yet working; need to reconnect signals.
|
2014-08-04 23:31:11 -04:00 |
Pietro Gagliardi
|
585f5f5b62
|
Applied previous commit's change to the test program.
|
2014-08-03 09:13:25 -04:00 |
Pietro Gagliardi
|
bdc8aac4d6
|
Added preferred size tests to zz_test.go; these will help for what we're about to do (implement Control.preferredSize() on all other platforms).
|
2014-07-30 22:42:32 -04:00 |
Pietro Gagliardi
|
8b1756e952
|
Re-added Stack. Of course it only works right on GTK+ right now... the other platforms's Control.preferredSize()s aren't implemented yet!
|
2014-07-29 23:23:45 -04:00 |
Pietro Gagliardi
|
f4bb7360d4
|
Added Label and implemented it on all platforms.
|
2014-07-29 13:48:31 -04:00 |
Pietro Gagliardi
|
ab8acd99b9
|
Fixed a small error in the zz_test.go rewrite from a few commits ago.
|
2014-07-29 01:40:17 -04:00 |
Pietro Gagliardi
|
389269bc66
|
Fixed the test program crashing after a while (prevent the Window and Controls from being garbage-collected from under us).
|
2014-07-28 23:55:52 -04:00 |
Pietro Gagliardi
|
7cb6ca1243
|
Began the implementation of Table on Windows.
|
2014-07-28 20:52:32 -04:00 |
Pietro Gagliardi
|
0b82f37bcb
|
Added the basic Table interface. Now to implement it...
|
2014-07-28 17:59:50 -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
|
4515849e22
|
Implemented TextField on Windows.
|
2014-07-26 06:57:11 -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
|
d57d2aa2de
|
Added Checkbox on the GTK+ backend, added a checkbox to the test program, and fixed a small error in the GTK+ widgetbase.parent() that kept the new widget hidden.
|
2014-07-21 21:07:14 -04:00 |
Pietro Gagliardi
|
214dc6cd5c
|
Ah, fixed the stalling: logic error in the test program itself.
|
2014-07-19 10:16:00 -04:00 |
Pietro Gagliardi
|
e73e7ab733
|
Fixed more conversion kinks. Now for a major change...
|
2014-07-19 10:07:42 -04:00 |
Pietro Gagliardi
|
32061353a1
|
Updated the test program to be Request-less. Now to test...
|
2014-07-19 09:58:57 -04:00 |
Pietro Gagliardi
|
08f5c42639
|
Added a test case for Window.Close().
|
2014-07-18 22:30:07 -04:00 |
Pietro Gagliardi
|
e4b379f84a
|
Added button click events to the Mac OS X backend.
|
2014-07-17 12:02:39 -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
|
244061d878
|
Changed the semantics of uitask() to allow it to handle recursive main loops properly; important for Stop() to work correctly on non-Windows systems.
|
2014-07-13 20:26:16 -04:00 |
Pietro Gagliardi
|
f36451d26e
|
Added Stop() and implemented it on Windows.
|
2014-07-13 01:14:55 -04:00 |
Pietro Gagliardi
|
b4357db4be
|
Added the beginning of the Mac OS X code.
|
2014-07-08 16:47:28 -04:00 |