History log of /haiku/src/libs/alm/ALMLayout.cpp (Results 26 – 50 of 65)
Revision Date Author Comments
# f0307e76 17-Jan-2012 Alex Wilson <yourpalal2@gmail.com>

Fix spacing before first header in src/libs/alm.

Also add copyright header in ALMGroup.cpp.


# 324ce285 17-Jan-2012 Alex Wilson <yourpalal2@gmail.com>

Add FBC padding to ALM classes.


# 7e021d45 17-Jan-2012 Alex Wilson <yourpalal2@gmail.com>

Make BALM::InsetForTab() methods const.


# 0da6f2e9 17-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.

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.

show more ...


# a25ffa4f 17-Jan-2012 Alex Wilson <yourpalal2@gmail.com>

Style cleanup in alm: mostly clean includes.


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

Remove BALMLayout::Add*To* methods, which are availabe in the builder.


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

Add new methods to BALMLayout for adding multiple x/y tabs at once.


# 574533ef 15-Jan-2012 Alex Wilson <yourpalal2@gmail.com>

In BALMLayout, make AddView(...) consistent with other layouts.

If a BView is added which has a BLayout, use the layout as a BLayoutItem
to represent that view, as other layouts do.


# 75e2dcf8 15-Jan-2012 Alex Wilson <yourpalal2@gmail.com>

In BALMLayout, allow for more flexibility in spacing and insets.

* allow for independent left, top, right and bottom insets
* allow for independent vertical and horizontal spacing between tabs
* all

In BALMLayout, allow for more flexibility in spacing and insets.

* allow for independent left, top, right and bottom insets
* allow for independent vertical and horizontal spacing between tabs
* allow for the usage of Haiku's spacing constants such as B_USE_WINDOW_INSETS

show more ...


# fefa17f4 12-Jan-2012 Alex Wilson <yourpalal2@gmail.com>

Remove unused 'PerformancePath' stuff.


# c3e57dc3 11-Jan-2012 czeidler <haiku@clemens-zeidler.de>

Give the area an id.


# b7630c4c 10-Jan-2012 czeidler <haiku@clemens-zeidler.de>

Save and restore layout.


# a84e14ca 16-Dec-2011 Alex Wilson <yourpalal2@gmail.com>

Merge branch 'master' of git://github.com/haiku/haiku


# 8cfe0f45 07-Dec-2011 czeidler <haiku@clemens-zeidler.de>

When calculating the min, max and pref size, relax the range of the right and bottom tab. These tabs are set to the layout borders again when solving the layout.


# 57014d1f 30-Nov-2011 czeidler <haiku@clemens-zeidler.de>

Make tabs BReferenceable. Maintain a list of tabs.


# 17499672 22-Oct-2011 Alex Wilson <yourpalal2@gmail.com>

Bring BALMLayout in line with changes to BLayout.


# ef93b55d 14-Mar-2011 Clemens Zeidler <clemens.zeidler@googlemail.com>

- Areas with same tabs are put in a column/row automtically. Move preferred size constraint from Area to the column/row. This avoids a "spring" effect of the
quadratic solver if multiple Areas are i

- Areas with same tabs are put in a column/row automtically. Move preferred size constraint from Area to the column/row. This avoids a "spring" effect of the
quadratic solver if multiple Areas are in the same column/row.
- Replace GetString by ToString.
- some clean up



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

show more ...


# 7583db5a 25-Jan-2011 Clemens Zeidler <clemens.zeidler@googlemail.com>

Add an alternative solver to lp_solve. The solver based on Ingo's active set solver but is able to handle arbitrary hard and soft constraints. The advantage to lp_solve is that the active set solver

Add an alternative solver to lp_solve. The solver based on Ingo's active set solver but is able to handle arbitrary hard and soft constraints. The advantage to lp_solve is that the active set solver can optimize variable in respect to a quadratic objective function. This makes it possible to minimise the quadratic derivation to a desired value e.g. \Sum_i(x_i - x_{i,pref})^2 -> min.

The solver part has been refactored in this way that both solver can be used with the same layout specifications. The active set solver is default now; the performance is not as good as lp_solve, though.



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

show more ...


# f108cdbf 13-Dec-2010 Clemens Zeidler <clemens.zeidler@googlemail.com>

Merge all linear programming types in one file an rename them.



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


# 5440f6fe 13-Dec-2010 Clemens Zeidler <clemens.zeidler@googlemail.com>

Refactor the linear programming class to use a minimal solver interface class and implement the interface for lp_solve. As a result lp_solve is not visible to the outside any more. This interface co

Refactor the linear programming class to use a minimal solver interface class and implement the interface for lp_solve. As a result lp_solve is not visible to the outside any more. This interface could be used to use other solvers as well. Rename operator constants to no clash with lp_solve constants.



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

show more ...


# 59c32631 29-Nov-2010 Clemens Zeidler <clemens.zeidler@googlemail.com>

Replace new by new(std::nothrow).



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


# 8fa4fd37 26-Nov-2010 Clemens Zeidler <clemens.zeidler@googlemail.com>

Keep the preferred size ratio into account. This make layout behaviour much more intuitive when resizing a window. Thanks Christof.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39641 a95241

Keep the preferred size ratio into account. This make layout behaviour much more intuitive when resizing a window. Thanks Christof.



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

show more ...


# b23e9af5 21-Oct-2010 Clemens Zeidler <clemens.zeidler@googlemail.com>

Thanks to anevilyak, the previous approach was not thread safe. You can specify a friend layout now if you want to connect tabs of different BALMLayout's.



git-svn-id: file:///srv/svn/repos/haiku/h

Thanks to anevilyak, the previous approach was not thread safe. You can specify a friend layout now if you want to connect tabs of different BALMLayout's.



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

show more ...


# 56187df6 21-Oct-2010 Clemens Zeidler <clemens.zeidler@googlemail.com>

Use a global solver per application. This make it possible to wire different BALMLayout's.



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


# c2f0a314 13-Oct-2010 Clemens Zeidler <clemens.zeidler@googlemail.com>

Rename ReplaceObjectiveFunction to SwapObjectiveFunction I think this makes it more clear that the old function is not deleted.
Cleanup Jamfile.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk

Rename ReplaceObjectiveFunction to SwapObjectiveFunction I think this makes it more clear that the old function is not deleted.
Cleanup Jamfile.



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

show more ...


123