History log of /haiku/src/tests/libs/alm/OperatorLayout.cpp
Revision Date Author Comments
# 0da6f2e9 16-Jan-2012 Alex Wilson <yourpalal2@gmail.com>

Rename BALM::GroupItem to BALM::ALMGroup, and move it to its own files.

Also make ALMGroup totally self-contained, i.e. BALMLayout no longer
does the parsing, and is completely unaware of ALMGroup. A small touch
of refactoring as well.


# 9b0221fd 15-Jan-2012 Alex Wilson <yourpalal2@gmail.com>

In alm tests, replace calls to SetInset() with SetInsets().


# 37344020 03-Oct-2010 Clemens Zeidler <clemens.zeidler@googlemail.com>

- Add a alternative method to setup a group layout. BLayoutItem / BView are wrapped into a GroupItem. GroupItem overloads the | (horizontal tiling) and / (vertical tiling) operators. In this manner you can create a group layout using these operators, e.g. GroupItem item = GroupItem(button1) | (GroupItem(button2) / GroupItem(button3)); would layout button1 at the left and button2 and button3 at the right in a vertical layout. All the layout information is stored in the GroupItem item, to setup the final layout you have to call BuildLayout(item). If you like it it could also be added to the BGroupLayout.
- Add operator test app.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38877 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 0da6f2e916c5912ab5b2bd2d8aa271cf31a3300a 16-Jan-2012 Alex Wilson <yourpalal2@gmail.com>

Rename BALM::GroupItem to BALM::ALMGroup, and move it to its own files.

Also make ALMGroup totally self-contained, i.e. BALMLayout no longer
does the parsing, and is completely unaware of ALMGroup. A small touch
of refactoring as well.


# 9b0221fd43d3683f6ec1e0358cbd65df7c813403 15-Jan-2012 Alex Wilson <yourpalal2@gmail.com>

In alm tests, replace calls to SetInset() with SetInsets().


# 37344020ef592f58c61b7de8cd2c83dd31203aca 03-Oct-2010 Clemens Zeidler <clemens.zeidler@googlemail.com>

- Add a alternative method to setup a group layout. BLayoutItem / BView are wrapped into a GroupItem. GroupItem overloads the | (horizontal tiling) and / (vertical tiling) operators. In this manner you can create a group layout using these operators, e.g. GroupItem item = GroupItem(button1) | (GroupItem(button2) / GroupItem(button3)); would layout button1 at the left and button2 and button3 at the right in a vertical layout. All the layout information is stored in the GroupItem item, to setup the final layout you have to call BuildLayout(item). If you like it it could also be added to the BGroupLayout.
- Add operator test app.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38877 a95241bf-73f2-0310-859d-f6bbb57e9c96