summaryrefslogtreecommitdiff
path: root/stdwndclass_windows.go
AgeCommit message (Collapse)Author
2014-02-13Fixed the resizing deadlock.Pietro Gagliardi
2014-02-13Added sizing of windows and the main window control. It presently deadlocks; ↵Pietro Gagliardi
I'll need to redo my mutexes...
2014-02-12Fixed compiler errors. New code structure success!Pietro Gagliardi
2014-02-12Whoops, class registration now has to go through the UI task.Pietro Gagliardi
2014-02-12Each control may only need one event, so combine them all into a single ↵Pietro Gagliardi
channel whose use depends on the sysData itself. Also we won't need to save the parentWindow anymore, as the change to the make() function will take care of that for us.
2014-02-12Restructuring the codebase to make things neater. First off: each window now ↵Pietro Gagliardi
has its own class; the sysData knows about children. This updates the window class to become a generator and rewrites the WndProc as well.
2014-02-12Added button events.Pietro Gagliardi
2014-02-11Changed the sysData cache so that if we didn't fill it in yet, getSysData() ↵Pietro Gagliardi
returns nil instead of panicking, and the standard window procedure jumps directly to the default handler. Not what I originally wanted to do, but whatever, it finally works!
2014-02-11Got rid of the reverse HWND->sysData lookup for now, to see if there's a ↵Pietro Gagliardi
mistake elsewhere. Now we're up to a panic... with Success...
2014-02-11It appears the result of syscall.StringToUTF16Ptr() is only temporary, so ↵Pietro Gagliardi
removed all that. Now the program just hangs...
2014-02-11Whoops, copy-paste fail somehow changed init error checks. Now it starts... ↵Pietro Gagliardi
and hangs before creating a window...
2014-02-11All build errors resolved. Now to test...Pietro Gagliardi
2014-02-11Added the init and testing main functions and started fixing errors. Let's ↵Pietro Gagliardi
fix the rest and hope it works...
2014-02-11Filled in the standard window procedure.Pietro Gagliardi
2014-02-11(see previous commit; part 2)Pietro Gagliardi