summaryrefslogtreecommitdiff
path: root/area_windows.go
AgeCommit message (Collapse)Author
2014-10-18Merged new container/sizing stuff.Pietro Gagliardi
2014-10-02go fmt. Precursor to bug report filing.Pietro Gagliardi
2014-08-30...in with the new.Pietro Gagliardi
2014-08-30Out with the old...Pietro Gagliardi
2014-07-02Moved it all back; the preemptive multitaksing during an event handler kills ↵Pietro Gagliardi
us on all platforms. Going to have to restrict ALL GUI accss to happening from one t hread, so going to need to drop uitask entirely and have just a start() callback for startup code and a post() function for posting requests to windows (like channel sends but into a perpetual buffer).
2014-07-02Moved everything out of the way pending rewrite.Pietro Gagliardi
2014-06-10More go fmt.Pietro Gagliardi
2014-06-09Implemented RepaintAll() on Windows.Pietro Gagliardi
2014-06-08Checked Windows RECT usage and fixed wrong ones.Pietro Gagliardi
2014-06-07Fixed a regression in the Windows Area code: when I fixed numpad behavior, I ↵Pietro Gagliardi
broke NEnter. Fixed. Also more TODOs.
2014-06-07Documented window switch clicks in Area and implemented them on Windows and ↵Pietro Gagliardi
Mac OS X.
2014-06-07Fixed incorrect numpad handling on Windows Areas.Pietro Gagliardi
2014-06-06Fixed the standard window class focus behavior on Windows from the previous ↵Pietro Gagliardi
commit to work. Also updated the SetFocus() call in area_windows.go to boot and removed the relevant TODO after checking both wine and Windows XP work fine.
2014-06-04Removed TODOs about sign extension on Windows; situation resolved.Pietro Gagliardi
2014-06-03Migrated area_windows.go to the new string handling. I think that's it for ↵Pietro Gagliardi
converting existing code... Now to test on real Windows.
2014-06-03Removed a TODO from area_windows.go after verifying that what it flagged ↵Pietro Gagliardi
(GetKeyState() vs. GetAsyncKeyState()) is indeed what we want to do (the former).
2014-06-03Removed a policy TODO in area_windows.go; decided to keep the redundant ↵Pietro Gagliardi
entries in the Modifiers table table just to be safe.
2014-06-02Implemented the new Area event handling on Windows.Pietro Gagliardi
2014-05-30Removed TODOs about the sysData not being initialized at message time in ↵Pietro Gagliardi
area_windows.go; we have now solved that problem.
2014-05-30Changed Areas on WIndows so that they all use the same window class, rather ↵Pietro Gagliardi
than having one per Area.
2014-05-30Changed Areas on Windows to store their sysData inside the window memory ↵Pietro Gagliardi
instead of being given it via a closure. Actually having only one window class for all Areas comes next.
2014-05-30Normalized DefWindowProc() handling across the Windows files; the ↵Pietro Gagliardi
syscall.LazyProc now has the normalized name _defWindowProc and defWindowProc() is a convenience function that calls _defWindowProc properly. This will also be important for the switch to a single window class per Window/Area.
2014-05-29Added the new Modifiers handling to the Windows backend.Pietro Gagliardi
2014-05-25Fixed Areas on Windows no longer obeying click count rules after adding the ↵Pietro Gagliardi
WM_ACTIVATE handler.
2014-05-25Removed constants from area_windows.go. I think I added a regression earlier ↵Pietro Gagliardi
when adding the WM_ACTIVATE exception that causes the click count to be reset...
2014-05-25Renamed _LPARAM._X()/_LPARAM._Y() to _LPARAM.X()/_LPARAM.Y(): it doesn't ↵Pietro Gagliardi
matter since _LPARAM is not exported anyway, _WPARAM already had this change, and the constant checking tool complains that _X()/_Y() remain undefined (too early? do I need to merge the package files?).
2014-05-23Added click counter reset on window activate/deactivate for Windows Areas.Pietro Gagliardi
2014-05-23Implemented triple-clicks and up on Windows.Pietro Gagliardi
2014-05-16Added proper Super handling on Windows. Meta isn't used here and the ↵Pietro Gagliardi
modifiers were already in the correct order.
2014-05-11Consistency change: all Windows API structure field names now match ↵Pietro Gagliardi
case-wise (some were forcibly exported in the past for historical reasons: I originally started package ui by trying to write a Windows API wrapper, but decided to ditch that and just use the Windows API directly from package ui). Also more TODOs.
2014-04-29Added extra mouse buttons to Areas on Windows.Pietro Gagliardi
2014-04-29Resolved another TODO in area_windows.go.Pietro Gagliardi
2014-04-29Got rid of stray TODO in area_windows.go about populating MouseEvent.Held; ↵Pietro Gagliardi
it was already being populated!
2014-04-29Removed another TODO about scrolling Areas on Windows (this time about ↵Pietro Gagliardi
aborting early if there seems to be no change).
2014-04-29Fixed other problems with Windows Area scrollbars (after going through ↵Pietro Gagliardi
Raymond Chen's scrollbar series), added some more future plans, and fixed one of the scrollbar series links (which was accidentally miscopied).
2014-04-29Fixed Area scrollbars on Windows sometimes stopping a pixel shy of the ↵Pietro Gagliardi
actual end of the scrollbar.
2014-04-14Added click-to-focus to GTK+ Areas and documented that click-to-focus ↵Pietro Gagliardi
happens; also TODOs related to that.
2014-04-12Removed the GDI+ dependency on Windows since we no longer use it.Pietro Gagliardi
2014-04-12Made Areas on Windows flicker-free.Pietro Gagliardi
2014-04-12Fixed ARGB rendering on Windows. Now to make it flicker-free...Pietro Gagliardi
2014-04-11Rewrote 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-11Added CS_HREDRAW and CS_VREDRAW to our Area on Windows, just to be safe.Pietro Gagliardi
2014-04-11Attempted to fix the Windows transparency issues; we're not quite there... ↵Pietro Gagliardi
flicker...
2014-04-10Fixed Area mouse events being sent when something happens outside the Area ↵Pietro Gagliardi
itself.
2014-04-09Fixed Area drawing assuming the first pixel of the *image.NRGBA is at i.Pix[0].Pietro Gagliardi
2014-04-02Fixed the major scrolling corruption on Windows: had to commit the scroll ↵Pietro Gagliardi
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-03-30Marked Windows MouseEvent.Held as not done; oops.Pietro Gagliardi
2014-03-29Added Alt+[key] and F10 handling to Windows Area key events. Also more TODOs.Pietro Gagliardi
2014-03-29Documented 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-29Implemented Area.SetSize() on Windows.Pietro Gagliardi