Commit Graph

17 Commits

Author SHA1 Message Date
Pietro Gagliardi eb4b082d7f Decided to consider the preferred size of all tabs on Windows; on Windows Tabs aren't really expected to resize based on which tab is selected, unlike Mac OS X... 2014-08-14 10:03:11 -04:00
Pietro Gagliardi 734901351e More TODOs. 2014-08-12 17:24:14 -04:00
Pietro Gagliardi 5523cdb22a Implemented tab stopping. 2014-08-12 17:18:45 -04:00
Pietro Gagliardi 2146ac2af3 Added WS_EX_CONTROLPARENT to container and Tab on Windows. 2014-08-12 17:04:04 -04:00
Pietro Gagliardi f27aa8df46 Removed TODO about Windows Tabs having no currently selected tab out of a nonzero number of tabs; Xeek in irc.freenode.net/#winapi confirmed this cannot happen. 2014-08-12 13:27:27 -04:00
Pietro Gagliardi ddbb719918 Made containers transparent on Windows. This is the first of a four-part set (though IDK if it will be four commits) to make both containers and areas both transparent and flicker-free. Also added a Space() tab to the test program to test the transparency. 2014-08-06 21:34:31 -04:00
Pietro Gagliardi 2ea9987c98 Made the tabs of Tab controls on Windows children of the main tab control itself; this will let us be transparent... hopefully. 2014-08-06 20:53:11 -04:00
Pietro Gagliardi 045f8859f7 Removed leftover TODO. 2014-08-05 19:01:56 -04:00
Pietro Gagliardi 12f7c691d3 Same as previous commit, but for showing and hiding containers on Windows. 2014-08-04 21:33:58 -04:00
Pietro Gagliardi 95815841aa Merged cases of C.moveWindow() on Windows containers to one place (container_windows.go) as a method on container. 2014-08-04 21:27:35 -04:00
Pietro Gagliardi ef513c4337 Completed the migration of the Windows backend to the new container system. 2014-08-04 20:04:16 -04:00
Pietro Gagliardi 0ac40be173 Removed Control.containerShow() and Control.containerHide() and the overall ability to show and hide Controls in general; too much effort to get right. 2014-08-04 13:39:33 -04:00
Pietro Gagliardi 0496cf77b5 Changed Tab on Windows to store each control in a *layout (see previous 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-04 13:13:59 -04:00
Pietro Gagliardi 2c107d7057 Converted the new Windows Control code to use interfaces instead of controlbase, just like the GTK+ and Mac OS X backends do now. 2014-08-03 21:52:21 -04:00
Pietro Gagliardi 0fb45ba84d Did the previous commit, but for the Windows backend. 2014-08-03 20:42:45 -04:00
Pietro Gagliardi 1aea308645 Set up the Control restructure and migrated the Windows implementation over. Lots of repetition, but hopefully more correct and maintainable! 2014-08-03 09:18:35 -04:00
Pietro Gagliardi d018953d7e Split all the Control implementations into their own files and renamed the 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-02 22:35:58 -04:00