summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2014-03-16Changed Area to use a delegate handler object that implements the new ↵Pietro Gagliardi
AreaHandler interface for handling events. Also updated the GTK+ backend with this change, and made a few more tweaks to the documentation in area.go.
2014-03-16Added a document explaining my Area woes.Pietro Gagliardi
2014-03-16Added a time display to the Area test for testing deadlocks that will happen ↵Pietro Gagliardi
when Area becomes more feature-filled... it appears one has now appeared when resizing the window...
2014-03-16Split out includes of <gtk/gtk.h> into a new header file so the GTK+ ↵Pietro Gagliardi
versioning macros can be included in all Go files, not just area_unix.go.
2014-03-16More TODOs.Pietro Gagliardi
2014-03-16Attempted to fix non-handling of the Alt key by having the GDK window's ↵Pietro Gagliardi
display's keymap used instead; it didn't work.
2014-03-15Clarified that MouseEvent.Held will not include Down/Up.Pietro Gagliardi
2014-03-15Added a test of the mouse event handling.Pietro Gagliardi
2014-03-15Added note in MouseEvent documentation about both Down and Up being 0 ↵Pietro Gagliardi
representing mouse movement.
2014-03-15Added (untested) GTK+ implementation of Area's mouse events.Pietro Gagliardi
2014-03-15Added portable code for Area's MouseEvent.Pietro Gagliardi
2014-03-15More mouse event planning. I now have enough figured out to implement on GTK+.Pietro Gagliardi
2014-03-15Documented the details of Area's coordinate system.Pietro Gagliardi
2014-03-15More mouse event planning and TODOs.Pietro Gagliardi
2014-03-15More mouse handling planning.Pietro Gagliardi
2014-03-15More mouse event handling planning.Pietro Gagliardi
2014-03-15Changed the Go 1.3 comment in README to point to go tip since it was ↵Pietro Gagliardi
confusing some people.
2014-03-15Allowed GTK+ windows to be resized smaller than the size request of the ↵Pietro Gagliardi
controls within.
2014-03-15Began to plan out what I need for mouse events.Pietro Gagliardi
2014-03-15More TODOs.Pietro Gagliardi
2014-03-15Added a slightly more meaningful test: draw an Image in an area.Pietro Gagliardi
2014-03-14Actually committed the rectangle to the Area. Area drawing on GTK+ implemented!Pietro Gagliardi
2014-03-14Provided a way to connect child widget signals in the GTK+ sysData and ↵Pietro Gagliardi
connected Area to draw. I think I'm getting the wrong child widget, though...
2014-03-14Hacked around the cairo issue for now; hooked everything together and fixed ↵Pietro Gagliardi
a few things. Added the Area test to the test program. Now to just hook up the draw event.
2014-03-14Major overhaul of the way GTK+ events are handled. Closures that perform ↵Pietro Gagliardi
events are no longer generated; instead all events are given to fixed, compile-time, cgo-exported callback functions that take the sysData as user data. This saves memory (we no longer need to generate closures and we no longer have to save them elsewhere to keep them from being garbage collected) and makes the top of sysdata_unix.go slightly cleaner, but it moves the code for handling UI events into callbacks_unix.go. This is needed for Area, in which we need to feed the sysData to an event connected to a subwidget instead of the main widget returned.
2014-03-14Added Area support in sysdata.go so the package can compile again. Now to do ↵Pietro Gagliardi
that big change mentioned in the previous commit: overhaul of the GTK+ signal system.
2014-03-14Added the GTK+ implementation of Area. It's not enabled yet due to cgo bugs, ↵Pietro Gagliardi
and there's some extra work needed (started here) to tie this in...
2014-03-14Added the portable code for Area.Pietro Gagliardi
2014-03-14More Area planning. I think I now have all the info I need...Pietro Gagliardi
2014-03-14More Area planning and TODOs.Pietro Gagliardi
2014-03-14More Area planning.Pietro Gagliardi
2014-03-14More Area planning.Pietro Gagliardi
2014-03-14More Area API planning.Pietro Gagliardi
2014-03-14More Area planning doc fixups.Pietro Gagliardi
2014-03-14More Area planning document changes.Pietro Gagliardi
2014-03-14Quick Area planning fixes.Pietro Gagliardi
2014-03-14More Area planning and TODOs.Pietro Gagliardi
2014-03-13More Area planning.Pietro Gagliardi
2014-03-13Updated Area planning to indicate to Cocoa that alpha values are not ↵Pietro Gagliardi
premultiplied.
2014-03-13More Area planning.Pietro Gagliardi
2014-03-13Added initial planning document for the Area Control.Pietro Gagliardi
2014-03-12Separated file creation dates from the package comment.Pietro Gagliardi
2014-03-12More TODOs.Pietro Gagliardi
2014-03-12Removed ui.Event(); all event channels are initialized with their objects now.Pietro Gagliardi
2014-03-12Added a note in ui.Go() about it needing to be run from main().Pietro Gagliardi
2014-03-12More TODOs.Pietro Gagliardi
2014-03-12Added package documentation.Pietro Gagliardi
2014-03-12Update README now that I think I have the API as I want it.Pietro Gagliardi
2014-03-12Whoops, that commit that was to remove the ProgressBar line from todo.md ↵Pietro Gagliardi
actually removed the wrong line; fixed.
2014-03-12Changed the way uitask is dispatched on GTK+ to make event handling not a ↵Pietro Gagliardi
CPU hog.