summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2014-08-04Removed Control.containerShow() and Control.containerHide() and the overall ↵Pietro Gagliardi
ability to show and hide Controls in general; too much effort to get right.
2014-08-04Changed Tab on Windows to store each control in a *layout (see previous ↵Pietro Gagliardi
commit). Now I can throw out containerShow()/containerHide()/Show()/Hide(). This also will let me do the right thing with sizer and dialog base units again, and even get rid of sizer's confusion once and for all!
2014-08-04Split apart the Windows Window code so that the same window class can be ↵Pietro Gagliardi
used for both top-level windows and tab pages (next commit). This makes things slightly messy in the short term, but this will all be cleaned up soon, and has the advantage of taking care of the sizer mess~
2014-08-03Converted the new Windows Control code to use interfaces instead of ↵Pietro Gagliardi
controlbase, just like the GTK+ and Mac OS X backends do now.
2014-08-03Did the previous commit, but for the Windows backend.Pietro Gagliardi
2014-08-03Standardized basegetAuxResize() on the GTK+ backend to match the Mac OS X ↵Pietro Gagliardi
backend and controlbase.sh.
2014-08-03Migrated the Mac OS X backend to the new Control setup.Pietro Gagliardi
2014-08-03Migrated the GTK+ backend to the new Control system. Added controlParent to ↵Pietro Gagliardi
deal with interface issues; need to apply this to the Windows backend too.
2014-08-03I am a dolt; make Checkbox.Checked() return a bool directly on Windows.Pietro Gagliardi
2014-08-03More TODOs.Pietro Gagliardi
2014-08-03Set up the Control restructure and migrated the Windows implementation over. ↵Pietro Gagliardi
Lots of repetition, but hopefully more correct and maintainable!
2014-08-03Applied previous commit's change to the test program.Pietro Gagliardi
2014-08-03Chagned Checkbox.OnClicked() to Checkbox.OnToggled(). The code restructure ↵Pietro Gagliardi
will allow this.
2014-08-02Split all the Control implementations into their own files and renamed the ↵Pietro Gagliardi
containerctrls implementation files to say tab instead as they only hold Tab. This is the first part of what should hopefully be the final restructuring.
2014-08-02Removed the generic preferredSize() from the Windows backend; all controls ↵Pietro Gagliardi
are now expected to provide their own on Windows (this is really the only way to go there). NOW I can rework the whole control nonsense...
2014-08-02Implemented Tab.preferredSize() on Windows.Pietro Gagliardi
2014-08-02Rewrote the tab height calculation function from the previous commit to ↵Pietro Gagliardi
consider all tabs, just to be safe.
2014-08-02Wrote code to get Windows Tabs's tab height; will integrate it later.Pietro Gagliardi
2014-08-02Migrated the Label alignment code back into the Mac OS X port.Pietro Gagliardi
2014-08-02Wrote Control.preferredSize() (including Tab.preferredSize()) on Mac OS X.Pietro Gagliardi
2014-08-02Migrated the Mac OS X backend to sizer. Once I get this control sizing stuff ↵Pietro Gagliardi
working there and the height of a Tab tab on Windows, I'm going to chuck this whole embedding thing and sacrifice a non-cluttered directory structure for CODE SIMPLICITY.
2014-08-02Migrated the GTK+ backend to the new sizer system.Pietro Gagliardi
2014-08-01Migrated the Windows backend to use sizer.Pietro Gagliardi
2014-08-01Began cleaning up the sizing/container/control stuff by changing container ↵Pietro Gagliardi
to sizing.
2014-08-01Began migrating all the Mac OS X sizing stuff over.Pietro Gagliardi
2014-08-01More TODOs.Pietro Gagliardi
2014-08-01Cleaned up sizing_windows.go now that the important things have been ↵Pietro Gagliardi
reimplemented.
2014-08-01Added debug chatter to Button.preferredSize() on Windows.Pietro Gagliardi
2014-08-01Implemented Button.preferredSize() on Windows.Pietro Gagliardi
2014-08-01Added Table.preferredSize() on Windows.Pietro Gagliardi
2014-08-01Added TextField preferredSize() on Windows.Pietro Gagliardi
2014-08-01Removed previous commit's TODO and added Checkbox preferredSize() on Windows.Pietro Gagliardi
2014-08-01More TODOs.Pietro Gagliardi
2014-08-01Implemented preferredSize() for Label on Windows. Seems to work...Pietro Gagliardi
2014-08-01Converted direct usages of C.setWindowText() in the Windows Control code ↵Pietro Gagliardi
into calls to the equivalent Control methods so the text length can be properly stored.
2014-08-01More Windows sizing framework code: merged together the MulDiv() instances ↵Pietro Gagliardi
into wrapper functions and added the basic text length storage into controlbase.
2014-08-01Added a function to the Windows backend to keep track of text length. This ↵Pietro Gagliardi
will be important for sizing purposes.
2014-08-01Fixed up more LPCWSTR->LPWSTR conversion, including some code simplification.Pietro Gagliardi
2014-08-01Changed LPCWSTR to LPWSTR in the Windows code as the C means const and there ↵Pietro Gagliardi
are a few cases of const->non-const conversions as a result.
2014-08-01Applied non-standalone Label offsets to the Windows backend. Also more TODOs.Pietro Gagliardi
2014-08-01Resolved a TODO about label alignment.Pietro Gagliardi
2014-07-30Disambiguated what happens when a regular Label is used in a Standalone context.Pietro Gagliardi
2014-07-30Added preferred size tests to zz_test.go; these will help for what we're ↵Pietro Gagliardi
about to do (implement Control.preferredSize() on all other platforms).
2014-07-30Split out the default definitions of Control.allocate() into a single place.Pietro Gagliardi
2014-07-30Applied Labels being vertically aligned to the top when next to a Table in ↵Pietro Gagliardi
the GTK+ backend.
2014-07-30Fixed up attributes of Table on Mac OS X.Pietro Gagliardi
2014-07-30Moved the Mac OS X function newScrollView() to control_darwin.m and verified ↵Pietro Gagliardi
its styles against Interface Builder.
2014-07-30Moved the definition of Control itself to control.go and updated some comments.Pietro Gagliardi
2014-07-30Ported the new Control setup to Mac OS X.Pietro Gagliardi
2014-07-30Applied the new Control system to the GTK+ backend.Pietro Gagliardi