summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2014-02-15More error/TODO reduction.Pietro Gagliardi
2014-02-15Made sure sysData.selectedIndices() returns an empty slice if nothing was ↵Pietro Gagliardi
selected in a single-selection listbox.
2014-02-15More error handling reduction.Pietro Gagliardi
2014-02-15Reduced the number of unnecessary error returns based on MSDN. The TODOs ↵Pietro Gagliardi
that used to be there have been moved to a new file; similar files for Mac and Linux will also be made.
2014-02-15Resolved some more TODOs... though resolving the rest in this file is going ↵Pietro Gagliardi
to be fun...
2014-02-15Removed another TODO in window.go related to resizing. Also a note I forgot ↵Pietro Gagliardi
to say a few commits ago: setWindowSize() also keeps the OS-decided window position.
2014-02-15More TODOs.Pietro Gagliardi
2014-02-15Removed setting the initial width and height in sysData.make() (this gets ↵Pietro Gagliardi
rid of the dummy 300x300 sizes from the controls) and added an explicit sysData.setWindowSize() to Window.Open() to ensure everything's sized properly.
2014-02-15Added sysData.setWindowSize(), which will simplify a few things in ↵Pietro Gagliardi
Window.Open() and Control.make().
2014-02-15Split out combobox and listbox error constants into their own sections of ↵Pietro Gagliardi
controls_windows.go.
2014-02-15Fixed build errors in the previous commits.Pietro Gagliardi
2014-02-15Added combobox/listbox selection helper functions.Pietro Gagliardi
2014-02-15Added sysData.insertBefore().Pietro Gagliardi
2014-02-15Resolved some of window.go's TODOs.Pietro Gagliardi
2014-02-15Removing more leftover stuff.Pietro Gagliardi
2014-02-14Window-related TODOs.Pietro Gagliardi
2014-02-14Added scrollbars to Listbox.Pietro Gagliardi
2014-02-14More TODOs.Pietro Gagliardi
2014-02-14Handled all controls's created field.Pietro Gagliardi
2014-02-14More TODOs.Pietro Gagliardi
2014-02-14More TODOs and example program tweaks.Pietro Gagliardi
2014-02-14Added Listboxes. You can't use the results just yet...Pietro Gagliardi
2014-02-14Renamed sysData.editable to sysData.alternate in preparation for ListBox.Pietro Gagliardi
2014-02-14Added labels.Pietro Gagliardi
2014-02-14Added LineEdit.Pietro Gagliardi
2014-02-14More TODOs.Pietro Gagliardi
2014-02-14Now that we have sysData.text() we no longer need the getText() that needed ↵Pietro Gagliardi
to be migrated.
2014-02-14Added Combobox.Pietro Gagliardi
2014-02-14Windows no longer need to be Controls after I reworked the parent-child ↵Pietro Gagliardi
system so that children do not need ot know what their parents are.
2014-02-14Renamed Control.apply() to Control.make().Pietro Gagliardi
2014-02-14Changed manual sysData construction to use a helper function instead.Pietro Gagliardi
2014-02-14Changed Stack so that controls are added only at creation time.Pietro Gagliardi
2014-02-13Added Stacks of controls.Pietro Gagliardi
2014-02-13Added Checkbox.Checked().Pietro Gagliardi
2014-02-13Added checkboxes. You can't really do anything with them yet, though...Pietro Gagliardi
2014-02-13Adjusted bookkeeping notes for the now-implemented sizing code.Pietro Gagliardi
2014-02-13Removed Control.setParent() as the parent/child hierarchy is now unidirectional.Pietro Gagliardi
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-12Added a reminder/TODO related to why I needed to do all that (add resizing).Pietro Gagliardi
2014-02-12Fixed compiler errors. New code structure success!Pietro Gagliardi
2014-02-12Adjusted sysData.make() to make the new window class and fixed main(). Now ↵Pietro Gagliardi
to fix compiler errors...
2014-02-12Whoops, forgot to turn Button.sysData.clicked into Button.sysData.event.Pietro Gagliardi
2014-02-12Modified Button for the new changes. Now I just need to actually create the ↵Pietro Gagliardi
window class and edit main()...
2014-02-12Adjusted Control and Window for the new system.Pietro Gagliardi
2014-02-12Whoops, class registration now has to go through the UI task.Pietro Gagliardi
2014-02-12The past few commits mean we no longer need to do reverse sysData lookup, so ↵Pietro Gagliardi
get rid of that.
2014-02-12Windows sysData has been adjusted to deal with child controls. Rather than ↵Pietro Gagliardi
storing the parent window, it is passed as an argument to sysData.make(), which does the child ID allocation. Child IDs are now window-local, getting rid of that restriction.
2014-02-12Formatting change for cSysData itself.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.