Mikko Rasa [Sun, 27 Feb 2011 16:38:33 +0000 (16:38 +0000)]
Implement autosize() method for most widgets
Only take content size into account if the relevant Part exists
Change List autosize() to set a height suitable for five rows
Additional methods to autosize for a set number of rows or all rows
Make sure that a Dropdown's List fits inside the Root
Mikko Rasa [Fri, 12 Nov 2010 20:43:38 +0000 (20:43 +0000)]
Implement autosize for List and use it from Dropdown
Rename List::recalculate_parameters to check_view_range
Use Text for rendering List items
Check view range of multiline entries in more places
Mikko Rasa [Wed, 16 Sep 2009 19:16:18 +0000 (19:16 +0000)]
Add Container class
Derive all Widgets that contain other Widgets from Container
Communicate various things to a Widget's parent with signals
Make List::slider not a pointer
Mikko Rasa [Mon, 13 Oct 2008 19:59:40 +0000 (19:59 +0000)]
Make the List in Dropdown a normal member instead of pointer
Cache row_height inside of List
Automatically resize the List associated with a Dropdown to fit the number of items in it
Mikko Rasa [Sat, 11 Oct 2008 15:09:51 +0000 (15:09 +0000)]
Jump 10 steps when slider trough is clicked
Take both ascent and descent into account when determining list row size
Use pointer motion instead of pointer leave event to unset active when the pointer leaves a button while the button is pressed
Don't allow unsetting exclusive toggles
Fix a but in Alignment
Mikko Rasa [Tue, 25 Dec 2007 20:41:08 +0000 (20:41 +0000)]
Pass coordinates relative to the receiving widget's geometry
Add List widget
Make Indicator and List loadable from datafiles
Add Logic and Connector
Refactor some common components of Sliders to the base class
Allow specifying minimum sizes for parts
Mikko Rasa [Tue, 11 Dec 2007 13:30:49 +0000 (13:30 +0000)]
Enable loading of entry widgets from datafiles
Fix focus control logic
Refactor part specification and rendering
Change Alignment to use floats and move it to geometry.*
Add margins for parts
Add cursor to entry widget
Require full filenames of external resources to avoid name conflicts
Mikko Rasa [Tue, 16 Oct 2007 13:57:32 +0000 (13:57 +0000)]
Derive Resources from DataFile::Collection
Make fonts embeddable in datafiles
Make fonts and textures automatically loadable
Use GL::Color instead of a private Color class
Use GL::Immediate for rendering Graphics
Use a single hyphen-separated string as style name
Remove the obsolete instantiation of DataFile::TypeResolver<GLtk::State>
Mikko Rasa [Tue, 10 Jul 2007 19:23:35 +0000 (19:23 +0000)]
Implement set_range and set_step for Slider
Only emit signal_value_changed from Slider when it actually changed
Use font ascent instead of size to align horizontally
Mikko Rasa [Wed, 20 Jun 2007 20:30:07 +0000 (20:30 +0000)]
Rework event passing system to allow for pointer grabs
Add Window class (incomplete)
Add width and height properties for Parts
move class Sides to geometry.h
Implement HSlider
Various improvements to the code