Commit Graph

21 Commits

Author SHA1 Message Date
Pietro Gagliardi 179ddba93a Added CS_HREDRAW and CS_VREDRAW to our Area on Windows, just to be safe. 2014-04-11 11:32:27 -04:00
Pietro Gagliardi 586ac941a4 Attempted to fix the Windows transparency issues; we're not quite there... flicker... 2014-04-11 11:29:07 -04:00
Pietro Gagliardi a01ffafba0 Fixed Area mouse events being sent when something happens outside the Area itself. 2014-04-10 18:52:43 -04:00
Pietro Gagliardi 78bb4cdace Fixed Area drawing assuming the first pixel of the *image.NRGBA is at i.Pix[0]. 2014-04-09 18:26:20 -04:00
Pietro Gagliardi 773668c35b Fixed the major scrolling corruption on Windows: had to commit the scroll changes before we can get to them in our painting routine =P This doesn't fix ALL the issues; check the (now-updated) TODO. 2014-04-02 23:40:38 -04:00
Pietro Gagliardi 6abea02278 Marked Windows MouseEvent.Held as not done; oops. 2014-03-30 20:07:51 -04:00
Pietro Gagliardi bafb13dd2f Added Alt+[key] and F10 handling to Windows Area key events. Also more TODOs. 2014-03-29 19:30:08 -04:00
Pietro Gagliardi efdd60375a Documented that the clip area in AreaHandler.Paint() more properly and 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 19:02:09 -04:00
Pietro Gagliardi a94d154e1b Implemented Area.SetSize() on Windows. 2014-03-29 18:51:22 -04:00
Pietro Gagliardi 17ae3546d2 Added repaint after Area event on Windows. 2014-03-29 18:28:37 -04:00
Pietro Gagliardi 8f4780f5d7 Added part of keyboard input on Windows. Need to repaint the window on event return and handle area sizes now... 2014-03-29 17:52:40 -04:00
Pietro Gagliardi ab6e7121e4 Added a flag to AreaHandler.Key()/Mouse() to indicate that a repaint is needed after that event has been handled. (Having Repaint() as a method deadlocked for the same reason resizing deadlocked before.) 2014-03-27 20:31:23 -04:00
Pietro Gagliardi 9533b3d7d4 Added Area mouse events on Windows. Also more TODOs. 2014-03-25 15:06:43 -04:00
Pietro Gagliardi 2b48f7cabf Wrote the code to actually scroll Areas on Windows. 2014-03-25 09:40:14 -04:00
Pietro Gagliardi 13370c22d3 Added the actual scrolling to Windows Areas. Now to just adjust the cliprect properly... 2014-03-25 08:23:31 -04:00
Pietro Gagliardi 136f2262fd More TODOs (and some done TODO elimination). 2014-03-25 07:21:21 -04:00
Pietro Gagliardi 3c0bcb6d68 Made the scrollbars on Windows Areas actually scroll. There are some kinks that need to be worked out before we can move on... 2014-03-25 07:11:10 -04:00
Pietro Gagliardi 0c3b64106c Added scrollbars to Areas on Windows; they seem to respond properly to resize events, but since we're not handling scroll events, the scroll position won't change yet. (We're also not drawing with scrolling just yet.) 2014-03-25 02:29:30 -04:00
Pietro Gagliardi 81de64cafc More TODOs. 2014-03-24 23:08:36 -04:00
Pietro Gagliardi 30a31b1617 Implemented Area painting on Windows. 2014-03-24 23:01:06 -04:00
Pietro Gagliardi 5c8587ab00 Started the Windows implementation of Area. 2014-03-24 13:32:38 -04:00