summaryrefslogtreecommitdiff
path: root/area.go
AgeCommit message (Collapse)Author
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-23Fixed a slight documentation error in area.go.Pietro Gagliardi
2014-03-23Added Area resizing. Everything mostly works, but not making things smaller...Pietro Gagliardi
2014-03-23Had ExtKey start at 1 so KeyEvent.ExtKey can be 0.Pietro Gagliardi
2014-03-17Changed the new resizing code so that it uses the same allocated slice per ↵Pietro Gagliardi
window instead of making a new one to store all the resize requests each time.
2014-03-17Changed window resizes so that the actual Control.setRect() functions ↵Pietro Gagliardi
appended to an array of requests that the resize() function set all at once instead of having each done individually. This will be necessary for what I think will be a solution to the deadlocks. It doesn't work right now; I'm assuming it's allocating too much memory. I know how to fix this, but I'm committing what I have so far to be safe.
2014-03-17Removed the mutexes from Labels and Areas because I'm at my wits end about ↵Pietro Gagliardi
settling the deadlock between window resizing and setting a Label's text.
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-15Clarified that MouseEvent.Held will not include Down/Up.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-15Documented the details of Area's coordinate system.Pietro Gagliardi
2014-03-14Added the portable code for Area.Pietro Gagliardi