summaryrefslogtreecommitdiff
path: root/test
AgeCommit message (Collapse)Author
2014-08-30Out with the old...Pietro Gagliardi
2014-07-03Added Post() and implemented it on Windows.Pietro Gagliardi
2014-07-03Added the start() function and fixed compilation errors. Everything seems to ↵Pietro Gagliardi
work...
2014-07-01Removed WindowHandler.Pietro Gagliardi
2014-07-01Made Button.Clicked a callback.Pietro Gagliardi
2014-06-30Made Window.Closing a callback closure.Pietro Gagliardi
2014-06-30Restored the previous new API. I'm going to change it so that events are ↵Pietro Gagliardi
callbacks rather than using a window handler, but other than that... yeah.
2014-06-30Reverted everything back to the old API.Pietro Gagliardi
2014-06-29Made the "Title and Text" message box parented like it should have been. ↵Pietro Gagliardi
This will also allow me to evaluate what happens if message boxes that are parented are closed in non-reverse order.
2014-06-28Fixed the build. New API works on Windows! Also removed TODO on dialogs in ↵Pietro Gagliardi
Windows since I can't reproduce the weird behavior anymore; I guess the new code fixes it.
2014-06-28Decided to make dialogs code-modal; will figure out how to get the behavior ↵Pietro Gagliardi
I want on Mac OS X - http://stackoverflow.com/questions/24468620/how-do-i-create-a-nested-run-loop-after-nsalert-beginsheetmodalforwindow-tha - Now to see if Windows works...
2014-06-28Converted most of the rest of the test program. Now I just need to figure ↵Pietro Gagliardi
out what I'm going to do about dialog modality... ugh.
2014-06-28Converted most of the rest of the test program to the new API.Pietro Gagliardi
2014-06-28Migrated the keyboard test to the new API.Pietro Gagliardi
2014-06-26Added Checkbox.SetChecked() and implemented it on GTK+.Pietro Gagliardi
2014-06-26Added margins and padding to Grid and a test program to make sure they're ↵Pietro Gagliardi
the same...
2014-06-26Implemented window margins for Grids and Stacks.Pietro Gagliardi
2014-06-26Added a padding/margins test to the test program.Pietro Gagliardi
2014-06-26Made the Listbox in the Label alignment test resize vertically so as to make ↵Pietro Gagliardi
the test more meaningful.
2014-06-25Improved the label alignment test.Pietro Gagliardi
2014-06-25Improved the label alignment test.Pietro Gagliardi
2014-06-25Added new Label alignment test.Pietro Gagliardi
2014-06-11Added Window.Center() test to the test program.Pietro Gagliardi
2014-06-09Added Area.RepaintAll() (requested by aybabtme on the Gopher Academy Slack) ↵Pietro Gagliardi
and implemented it on Mac OS X.
2014-06-08Implemented the new MsgBox()/MsgBoxError() behavior on Windows.Pietro Gagliardi
2014-06-04Added the concept of transience to MsgBox() and MsgBoxError(). Individual ↵Pietro Gagliardi
implementations will come next.
2014-06-03Big change to Window: split Open()'s functionality into Create() and Open(); ↵Pietro Gagliardi
they no longer return errors.
2014-06-02Added a test of MsgBox() event modality to the standard Area test.Pietro Gagliardi
2014-06-01Decided to drop the whole handled thing with Area events and just continue ↵Pietro Gagliardi
the event chain if needed. Same for MousEvent; will have to document that. This is just the test program for now.
2014-05-16Changed the meaning of the Modifiers keys to be positional, added Super, and ↵Pietro Gagliardi
pinned down Meta vs. Alt. All but the Meta/Alt one were done after discussion in #go-nuts about how to handle differences in user expectation properly. This is the portable interface only; each platform implementation comes next.
2014-04-13Fixed weird Area time label truncation on Windows; more TODOs and future ↵Pietro Gagliardi
plans related to that.
2014-04-11Changed from using image.NRGBA to image.RGBA (premultiplied alpha) in ↵Pietro Gagliardi
Area.Paint() since it'll be easier to work with on Windows after applying what Treeki/Ninjifox suggested I do instead of what I am doing now.
2014-04-10Added bounds checking to NewArea() and Area.SetSize() such that an Area must ↵Pietro Gagliardi
have a valid size.
2014-04-10Removed unnecessary space if the secondaryText argument to MsgBox***() is an ↵Pietro Gagliardi
empty string. This doesn't change much on Mac OS X; it always shows the informational text field, showing an empty string by default. On GTK+ it seems to get rid of the bold over the primary text; I'm going to assume this is intentional (it looks that way on GTK+ 2; the HIG docs have outdated screenshots...).
2014-04-09Added a test for the extremities of the Area's actual drawing area to make ↵Pietro Gagliardi
sure all pixels are shown on all platforms. That seems to be the case right now... Also more TODOs.
2014-04-07Undid the previous change to the keyboard test so that it responds to window ↵Pietro Gagliardi
closes again.
2014-04-07Updated Area's KeyEvent documentation to talk about some window managers on ↵Pietro Gagliardi
Unix intercepting some events; also updated the keyboard test program to make a note of behaviors related to that.
2014-04-06Added (untested; VM issues) code to handle Mac OS X Quit Dock menu items and ↵Pietro Gagliardi
other related stuff that may happen in the future. Will drop the TODO after I can test it.
2014-04-02Added a println() to the main test window to signal that window closing has ↵Pietro Gagliardi
happened. This is used for ensuring that closing programs from a task switcher works as expected (that is, that the appropriate w.Closing event is triggered if an individual window is asked to be closed, and something else if an application as a whole is...).
2014-03-29Added positions of all other keys to the keyboard test. Now ready for the ↵Pietro Gagliardi
Windows port!
2014-03-29Added the numeric keypad and function keys to the keyboard test.Pietro Gagliardi
2014-03-29Updated the GTK+ implementation and test programs to reflect the new ↵Pietro Gagliardi
KeyEvent setup.
2014-03-27Added some of the ExtKeys to the keyboard layout test.Pietro Gagliardi
2014-03-27Added a flag to AreaHandler.Key()/Mouse() to indicate that a repaint is ↵Pietro Gagliardi
needed after that event has been handled. (Having Repaint() as a method deadlocked for the same reason resizing deadlocked before.)
2014-03-27Added code to the keyboard test to draw the modifier keys.Pietro Gagliardi
2014-03-27Added the beginning of a keyboard input test to be written. Also more TODOs.Pietro Gagliardi
2014-03-25Added Area mouse events on Windows. Also more TODOs.Pietro Gagliardi
2014-03-23Fixed the shrinking not working: the Cairo clip rect apparently can fall ↵Pietro Gagliardi
outside the actual size of the widget. (I did notice this before.)
2014-03-23Added Area resizing. Everything mostly works, but not making things smaller...Pietro Gagliardi
2014-03-23Added the GTK+ implementation of Area keyboard events. Seems to work fine ↵Pietro Gagliardi
for now...