| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2014-04-11 | Rewrote Area code on Windows to use alpha-premultiplied RGB and only use GDI ↵ | Pietro Gagliardi | |
| functions to do it... and it doesn't quite work right yet. | |||
| 2014-04-11 | Added a general-purpose function to produce a native-endian ARGB ↵ | Pietro Gagliardi | |
| representation of the image. I thought cairo image surfaces would work, but they're not designed for reading in images, the cairo functions for reading image data were introduced in the next version (1.12), and GDK-Pixbuf only does non-alpha-premultiplied... This can be used on Windows though. | |||
| 2014-04-11 | Changed 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-10 | Added bounds checking to NewArea() and Area.SetSize() such that an Area must ↵ | Pietro Gagliardi | |
| have a valid size. | |||
| 2014-04-10 | Documented scrollbars on Listbox and Area to the best of my ability, ↵ | Pietro Gagliardi | |
| shuffling the appropriate TODOs around. | |||
| 2014-04-09 | Fixed Area drawing assuming the first pixel of the *image.NRGBA is at i.Pix[0]. | Pietro Gagliardi | |
| 2014-04-07 | Updated 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-01 | Removed the initText parameter from sysData.make() and changed all ↵ | Pietro Gagliardi | |
| invocations to call sysData.setText() separately; this avoids the need to check if sysData.setText() is valid. Also implemented that on GTK+. | |||
| 2014-03-30 | Updated the documentation: Area now works on all platforms, Modifiers ↵ | Pietro Gagliardi | |
| behavior on both left and right keys simultaneously is undefined for now, and the way to create custom Controls no longer involves embedding Area. | |||
| 2014-03-30 | Implemented Area mouse events on Mac OS X. Also fixed a few other things ↵ | Pietro Gagliardi | |
| left behind in the previous commits. Also more TODOs. | |||
| 2014-03-29 | Documented that the clip area in AreaHandler.Paint() more properly and ↵ | Pietro Gagliardi | |
| indicate that it is cleared on each AreaHandler.Paint() call; (try to) implement that on Windows (GTK+ does it for us; noted that as well). | |||
| 2014-03-29 | Re-added the numeric keypad keys to ExtKey and removed predefkeys in ↵ | Pietro Gagliardi | |
| area_unix.go since all are now being handled. | |||
| 2014-03-29 | Removed the numpad constants pending re-evaluation of how to handle those. | Pietro Gagliardi | |
| 2014-03-28 | Changed the definition of KeyEvent to be positional. The implementation has ↵ | Pietro Gagliardi | |
| not been written, and thus the package will not build yet. | |||
| 2014-03-27 | Added 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-23 | Fixed a slight documentation error in area.go. | Pietro Gagliardi | |
| 2014-03-23 | Added Area resizing. Everything mostly works, but not making things smaller... | Pietro Gagliardi | |
| 2014-03-23 | Had ExtKey start at 1 so KeyEvent.ExtKey can be 0. | Pietro Gagliardi | |
| 2014-03-17 | Changed 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-17 | Changed 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-17 | Removed 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-16 | Changed 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-15 | Clarified that MouseEvent.Held will not include Down/Up. | Pietro Gagliardi | |
| 2014-03-15 | Added note in MouseEvent documentation about both Down and Up being 0 ↵ | Pietro Gagliardi | |
| representing mouse movement. | |||
| 2014-03-15 | Added (untested) GTK+ implementation of Area's mouse events. | Pietro Gagliardi | |
| 2014-03-15 | Added portable code for Area's MouseEvent. | Pietro Gagliardi | |
| 2014-03-15 | Documented the details of Area's coordinate system. | Pietro Gagliardi | |
| 2014-03-14 | Added the portable code for Area. | Pietro Gagliardi | |
