summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2014-02-12Added buttons.Pietro Gagliardi
2014-02-12More TODOs.Pietro Gagliardi
2014-02-12Added a TODO list.Pietro Gagliardi
2014-02-12Added initial window size and the Window.SetTitle() function.Pietro Gagliardi
2014-02-12Separated initial text from sysData and fixed errors in the previous commits.Pietro Gagliardi
2014-02-12Added control ID generation.Pietro Gagliardi
2014-02-12Set up restrictions tracking. Added a restriction that a window and its ↵Pietro Gagliardi
controls are fixed to the window once it has been open. Started accounting for parent windows in controls.
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-11Fixed the PeekMessage() call as per ↵Pietro Gagliardi
http://blogs.msdn.com/b/oldnewthing/archive/2006/02/10/529525.aspx
2014-02-11Fixed the wndproc not responding: turns out I have to have message dispatch ↵Pietro Gagliardi
in the UI thread...
2014-02-11Derp me, more incorrect error checking! But now a window shows, and the ↵Pietro Gagliardi
process hangs, so progress!
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-11Changed the caching such that the window procedure is held until we added ↵Pietro Gagliardi
the HWND to the cache. Now we have a mysterious class not regsitered issue...
2014-02-11More of the previous error and not printing panics... derp me. Still not ↵Pietro Gagliardi
fixed yet though...
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-11More error corrections; not done yet...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-11Added the window creation code. Now let's hope this works...Pietro Gagliardi
2014-02-11Moved some more data structures to common_windows.go and made more things ↵Pietro Gagliardi
private.
2014-02-11Locked the Windows message loop goroutine to the OS thread.Pietro Gagliardi
2014-02-11Added the Windows message loop.Pietro Gagliardi
2014-02-11Filled in the standard window procedure.Pietro Gagliardi
2014-02-11(see previous commit; part 2)Pietro Gagliardi
2014-02-11Migrated over the window class and window procedure stuff, set up the ↵Pietro Gagliardi
standard window class, and wrote the skeleton window procedure.
2014-02-11Set up initialization on Windows (2/2).Pietro Gagliardi
2014-02-11Set up initialization on Windows (1/2) and fixed a leftover error in ↵Pietro Gagliardi
sysdata_windows.go.
2014-02-11Moved things that I haven't migated yet out of the way for now.Pietro Gagliardi
2014-02-11Started implementing the public API: added the Window and Control types and ↵Pietro Gagliardi
the skeleton of the Windows implementation.
2014-02-11Simplifying file structure by combining controls files (2/2).Pietro Gagliardi
2014-02-11Simplifying file structure by combining controls files (1/2).Pietro Gagliardi
2014-02-11Added _windows.go extensions to all the files in preparation for the library ↵Pietro Gagliardi
writing.
2014-02-11Added the initial planning document for the portable API.Pietro Gagliardi
2014-02-11Added window sizing. I think I'm now ready for the wrapper itself.Pietro Gagliardi
2014-02-11Added window minimum sizes.Pietro Gagliardi
2014-02-10Added some TODOs.Pietro Gagliardi
2014-02-10Improved program appearance by setting the correct font, colors, and other ↵Pietro Gagliardi
styles.
2014-02-10Added a checkbox to the example window.Pietro Gagliardi
2014-02-10Added static controls and added a static label to the example window.Pietro Gagliardi
2014-02-10Added listboxes and added a list box to the example window.Pietro Gagliardi
2014-02-10Added edit controls and added one to the example window.Pietro Gagliardi
2014-02-10Added combo boxes and added some to the main window example.Pietro Gagliardi
2014-02-10More TODOs.Pietro Gagliardi
2014-02-10Added a button to the test main window, including click handling.Pietro Gagliardi
2014-02-09Added button code.Pietro Gagliardi
2014-02-09Added window messages and custom message loops.Pietro Gagliardi
2014-02-09Added the rest of the skeleton necessary for opening a simple window as well ↵Pietro Gagliardi
as the code to actually open one. Now for custom window procedures!
2014-02-08Added a lot of the stuff needed to create a simple window. Not done yet...Pietro Gagliardi
2014-02-07Initial commit. Added MessageBox() code.Pietro Gagliardi