summaryrefslogtreecommitdiff
path: root/clutter/clutter-box-layout.h
Commit message (Collapse)AuthorAgeFilesLines
* Move header inclusion guard at the topEmmanuele Bassi2015-07-071-3/+3
| | | | | | | | GCC has some optimization for the inclusion guard, but they only work if the check is the outermost one. We're fairly inconsistent because of historical reasons, so we should ensure that we follow the same pattern in every public header.
* Annotate all public symbolsEmmanuele Bassi2014-03-171-0/+9
| | | | | We are going to switch to compiler annotations to determine the visibility of the symbols.
* box-layout: Deprecate expand/fill/align child propertiesBastian Winkler2012-06-041-0/+6
| | | | | | | These are covered by ClutterActor:[xy]-align and ClutterActor:[xy]-expand https://bugzilla.gnome.org/show_bug.cgi?id=677283
* box-layout: Deprecate the animation APIEmmanuele Bassi2012-04-271-0/+6
| | | | | | BoxLayout will use the easing state of the children it's allocating; the current API is re-implemented in terms of an implicit easing state forced on each child prior to allocating it.
* box-layout: Add the :orientation propertyEmmanuele Bassi2012-04-271-53/+62
| | | | | | And deprecate the :vertical property. An enumeration is clearer, and we can use it elsewhere in the API.
* Move all enumerations to a separate fileEmmanuele Bassi2011-10-111-18/+0
| | | | | This should allow sharing types, and we can avoid glib-mkenums thrawling the whole repository for enumerations.
* Add "homogeneous" mode to ClutterBoxLayout.José Dapena Paz2010-03-251-0/+3
| | | | | | | | | | | | | | | | | | | Added new "homogeneous" mode to ClutterBoxLayout, that makes layout children get all the same size. This is heavily inspired in the "homogeneous" attribute available in GtkBox, but simplified as we don't have padding nor borders in box layout, only spacing. Also added to test-box-layout a key to set/unset homogeneous mode. * Coding style fixes. * Added proper test for homogeneous mode in box layout. * Fix in homogeneous mode. http://bugzilla.openedhand.com/show_bug.cgi?id=2034 Signed-off-by: Emmanuele Bassi <ebassi@linux.intel.com>
* box-layout: Add knobs for controlling animationsEmmanuele Bassi2009-12-131-40/+50
| | | | | | | | | | | | | | | | | | | | | | | | | ClutterLayoutManager does not have any state associated with it, and defers all the state to its sub-classes. The BoxLayout is thus in charge of controlling: • whether or not animations should be used • the duration of the animation • the easing mode of the animation By adding three new properties: • ClutterBoxLayout:use-animations • ClutterBoxLayout:easing-duration • ClutterBoxLayout:easing-mode And their relative accessors pairs we can make BoxLayout decide whether or not, and with which parameters, call the begin_animation() method of ClutterLayoutManager. The test-box-layout has been modified to reflect this new functionality, by checking the key-press event for the 'a' key symbol to toggle the use of animations.
* layout: Add BoxLayout, a single line layout managerEmmanuele Bassi2009-10-141-0/+143
The BoxLayout layout manager implements a layout policy for arranging children on a single line, either alongside the X axis or alongside the Y axis.