#
04a0e9c7 |
|
10-Jan-2014 |
Jonathan Schleifer <js@webkeks.org> |
ALM: Move forward declaration of Constraint to the right namespace.
|
#
6c4a44e3 |
|
31-Aug-2012 |
czeidler <haiku@clemens-zeidler.de> |
Add a list of constraints which can be associated with a BALMLayout. - Add Get{X,Y}Tabs methods. - Remove SaveLayout and RestoreLayout. These can be implemented outside of BALMLayout.
|
#
015e5f06 |
|
31-Jan-2012 |
Alex Wilson <yourpalal2@gmail.com> |
Make BALMLayout::BadLayoutPolicy archivable.
|
#
35bf0b5c |
|
31-Jan-2012 |
Alex Wilson <yourpalal2@gmail.com> |
Add initial support for archiving a BALMLayout. What's supported: * basic archive/instantiate * friend layouts coming soon: * saving of custom restraints * archiving of BadLayoutPolicy
|
#
bc7956c7 |
|
25-Jan-2012 |
Alex Wilson <yourpalal2@gmail.com> |
Use const overloading on BALMLayout::{X|Y}TabAt().
|
#
d7568eab |
|
17-Mar-2012 |
czeidler <czei002@aucklanduni.ac.nz> |
Add IndexOf methods.
|
#
681f48fc |
|
23-Jan-2012 |
Alex Wilson <yourpalal2@gmail.com> |
Replace BALMLayout::Ordered*Tabs() method with *TabAt(int, bool sorted).
|
#
09e87fa3 |
|
22-Jan-2012 |
Alex Wilson <yourpalal2@gmail.com> |
Pass more information to BadLayoutPolicy. Also, re-add BadLayoutPolicy invocations, which were lost while creating SharedSolver.
|
#
419fe0b8 |
|
22-Jan-2012 |
Alex Wilson <yourpalal2@gmail.com> |
Introduce SharedSolver class to improve BALMLayout's friend feature.
|
#
a9761aed |
|
18-Jan-2012 |
Alex Wilson <yourpalal2@gmail.com> |
Refactor BALMLayout::AddItem to reduce repitition.
|
#
c761a8a6 |
|
18-Jan-2012 |
Alex Wilson <yourpalal2@gmail.com> |
Let BALM::{X|Y}Tabs be in multiple BALMLayouts, if they are friendly.
|
#
f9cabdd0 |
|
17-Jan-2012 |
Alex Wilson <yourpalal2@gmail.com> |
Use BReferenceable properties of LinearSpec in BALMLayout. This saves us from a potential use-afte-free bug.
|
#
2bbf8b1f |
|
17-Jan-2012 |
Alex Wilson <yourpalal2@gmail.com> |
Add the ability to handle bad layouts to BALMLayout.
|
#
324ce285 |
|
16-Jan-2012 |
Alex Wilson <yourpalal2@gmail.com> |
Add FBC padding to ALM classes.
|
#
7e021d45 |
|
16-Jan-2012 |
Alex Wilson <yourpalal2@gmail.com> |
Make BALM::InsetForTab() methods const.
|
#
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.
|
#
a25ffa4f |
|
16-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 * allow for the usage of Haiku's spacing constants such as B_USE_WINDOW_INSETS
|
#
fefa17f4 |
|
11-Jan-2012 |
Alex Wilson <yourpalal2@gmail.com> |
Remove unused 'PerformancePath' stuff.
|
#
c3e57dc3 |
|
10-Jan-2012 |
czeidler <haiku@clemens-zeidler.de> |
Give the area an id.
|
#
b7630c4c |
|
09-Jan-2012 |
czeidler <haiku@clemens-zeidler.de> |
Save and restore layout.
|
#
57014d1f |
|
29-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 |
|
13-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 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
|
#
7583db5a |
|
24-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 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
|
#
8fa4fd37 |
|
25-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 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
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/haiku/trunk@39041 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
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
|
#
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
|
#
70e20761 |
|
29-Sep-2010 |
Clemens Zeidler <clemens.zeidler@googlemail.com> |
- Add helper functions to get the tabs of a view or a layout item. - AddView only require the top, left tabs now. - Remove the TwoViews test and replace it with a slightly more complex test. - Merge XTab and YTab files into one header file. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38860 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
5b6fca06 |
|
28-Sep-2010 |
Clemens Zeidler <clemens.zeidler@googlemail.com> |
- Rework the ALM layout api. The AddItemTo* function are now related to the current Area. On default the current Area is the last added Area. - Add some more const where appreciated. - Fix some style issues and a leak in Row and Column. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38842 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
21f083af |
|
23-Sep-2010 |
Clemens Zeidler <clemens.zeidler@googlemail.com> |
- Implement all Add* function of the BLayout class properly. If the Add* functions of the BLayout class are called add the item to the right upper corner of the previous area. That is at least better than ignore this functions. - Add more convenience AddViewTo{Right, Left, Top, Bottom} functions to add a item to the sides of an existing area. - Need to add the Jamfile hack again to include the ViewLayoutItem.h header. I thing about to add the ALMLayout.* files to the interface dir when its a little bit more matured. Then the problem will be solved. Till I made a decision or somebody tell me its a bad idea to add the ALMLayout to the official interface stuff or the ViewLayoutItem.h should be in a shared header dir I will keep this hack. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38793 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
96e2013e |
|
22-Sep-2010 |
Clemens Zeidler <clemens.zeidler@googlemail.com> |
Add inset and spacing to BALMLayout. Each Area is able to overwrite this global values and use his own inset. Add spacing and inset to the tests. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38792 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
40d939a4 |
|
22-Sep-2010 |
Clemens Zeidler <clemens.zeidler@googlemail.com> |
- Add some checks if the Area is initialized. - Init some more variables in the constructor. - Rename HasSame*As to Set*As. The old one is more a question. Also add an optional factor and remove the HasSameSizeAs function which tempt the user to leak a BList. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38790 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
9503cf19 |
|
22-Sep-2010 |
Clemens Zeidler <clemens.zeidler@googlemail.com> |
- Don't pass a min size in the Area _Init function. The min size is updated before solving the layout so we don't have to set it in the beginning. This also simplifies the BALMLayout api. - Header include style fixes. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38788 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
0871de7b |
|
21-Sep-2010 |
Clemens Zeidler <clemens.zeidler@googlemail.com> |
Remove unsupported reverse engineering feature. Further clean up. Also remove LayoutStyle feature because resizing the parent view might not be a good idea. If the parent view should be resized you should better but it into a BLayout too. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38779 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
5f15562e |
|
21-Sep-2010 |
Clemens Zeidler <clemens.zeidler@googlemail.com> |
Use the AlignInFrame BLayoutItem function to do the item alignment. The child area is not needed any more. Don't leak the fConstraints list. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38775 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
8d9b6ef4 |
|
21-Sep-2010 |
Clemens Zeidler <clemens.zeidler@googlemail.com> |
- Rename BALMLayout.* file to ALMLayout.*. - Fix some copyrights. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38771 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
04a0e9c7b68cbe3a43d38e2bca8e860fd80936fb |
|
10-Jan-2014 |
Jonathan Schleifer <js@webkeks.org> |
ALM: Move forward declaration of Constraint to the right namespace.
|
#
6c4a44e36ba846c54467103f884d65dfa13e7fcb |
|
31-Aug-2012 |
czeidler <haiku@clemens-zeidler.de> |
Add a list of constraints which can be associated with a BALMLayout. - Add Get{X,Y}Tabs methods. - Remove SaveLayout and RestoreLayout. These can be implemented outside of BALMLayout.
|
#
015e5f06d8ef8f719a69ee03779ae30192b9e46b |
|
31-Jan-2012 |
Alex Wilson <yourpalal2@gmail.com> |
Make BALMLayout::BadLayoutPolicy archivable.
|
#
35bf0b5c1c5f89dac389efde9bcf19e880fa04e4 |
|
31-Jan-2012 |
Alex Wilson <yourpalal2@gmail.com> |
Add initial support for archiving a BALMLayout. What's supported: * basic archive/instantiate * friend layouts coming soon: * saving of custom restraints * archiving of BadLayoutPolicy
|
#
bc7956c7cf99bd57a7a1da96d08c71daa426b8b0 |
|
25-Jan-2012 |
Alex Wilson <yourpalal2@gmail.com> |
Use const overloading on BALMLayout::{X|Y}TabAt().
|
#
d7568eabd2d523e465efeb763e7644ea81af4ae7 |
|
17-Mar-2012 |
czeidler <czei002@aucklanduni.ac.nz> |
Add IndexOf methods.
|
#
681f48fcbccfa556fe01eab457ca1d549736b19e |
|
23-Jan-2012 |
Alex Wilson <yourpalal2@gmail.com> |
Replace BALMLayout::Ordered*Tabs() method with *TabAt(int, bool sorted).
|
#
09e87fa352d105abd802b98ac6a842cb726d9d2d |
|
22-Jan-2012 |
Alex Wilson <yourpalal2@gmail.com> |
Pass more information to BadLayoutPolicy. Also, re-add BadLayoutPolicy invocations, which were lost while creating SharedSolver.
|
#
419fe0b8ae0e16d798868eeebf0282978deb224d |
|
22-Jan-2012 |
Alex Wilson <yourpalal2@gmail.com> |
Introduce SharedSolver class to improve BALMLayout's friend feature.
|
#
a9761aedbf6ec7f30c9b9d3521796b97c7029182 |
|
18-Jan-2012 |
Alex Wilson <yourpalal2@gmail.com> |
Refactor BALMLayout::AddItem to reduce repitition.
|
#
c761a8a6d40be981d18141bfc6eae56b168bcf52 |
|
18-Jan-2012 |
Alex Wilson <yourpalal2@gmail.com> |
Let BALM::{X|Y}Tabs be in multiple BALMLayouts, if they are friendly.
|
#
f9cabdd00949d006252087a791c5d458fbfb5291 |
|
17-Jan-2012 |
Alex Wilson <yourpalal2@gmail.com> |
Use BReferenceable properties of LinearSpec in BALMLayout. This saves us from a potential use-afte-free bug.
|
#
2bbf8b1fbce74bf6e72aa5f5a223de4948e67afc |
|
17-Jan-2012 |
Alex Wilson <yourpalal2@gmail.com> |
Add the ability to handle bad layouts to BALMLayout.
|
#
324ce2851d93d3f1311498517b4cc67fb3d9ebfd |
|
16-Jan-2012 |
Alex Wilson <yourpalal2@gmail.com> |
Add FBC padding to ALM classes.
|
#
7e021d45dad8e78bce48a81a5524ed6497715ba1 |
|
16-Jan-2012 |
Alex Wilson <yourpalal2@gmail.com> |
Make BALM::InsetForTab() methods const.
|
#
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.
|
#
a25ffa4f046fb495c316d29f0645bd00c82751c8 |
|
16-Jan-2012 |
Alex Wilson <yourpalal2@gmail.com> |
Style cleanup in alm: mostly clean includes.
|
#
d814593064e55136518eb8d7749682ffb67f05cd |
|
16-Jan-2012 |
Alex Wilson <yourpalal2@gmail.com> |
Remove BALMLayout::Add*To* methods, which are availabe in the builder.
|
#
b50d4ed8bd6368b5b72169c5ab92101d62a593d0 |
|
16-Jan-2012 |
Alex Wilson <yourpalal2@gmail.com> |
Add new methods to BALMLayout for adding multiple x/y tabs at once.
|
#
574533ef124f30d7710ce46ade1ca5f05935e083 |
|
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.
|
#
75e2dcf8fe478ac43fecff5b72049fe500c804dc |
|
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 * allow for the usage of Haiku's spacing constants such as B_USE_WINDOW_INSETS
|
#
fefa17f47eaee07bf273786495d7a7b7e9ee85b1 |
|
11-Jan-2012 |
Alex Wilson <yourpalal2@gmail.com> |
Remove unused 'PerformancePath' stuff.
|
#
c3e57dc36d5d18673ed9c49d9a3790091852fa0a |
|
10-Jan-2012 |
czeidler <haiku@clemens-zeidler.de> |
Give the area an id.
|
#
b7630c4c985e7b351678608448aa1d61ec7ff6b5 |
|
09-Jan-2012 |
czeidler <haiku@clemens-zeidler.de> |
Save and restore layout.
|
#
57014d1ff77c40a32732075f23a322c2ce32a4d7 |
|
29-Nov-2011 |
czeidler <haiku@clemens-zeidler.de> |
Make tabs BReferenceable. Maintain a list of tabs.
|
#
17499672a049515fff0e536ab70f50d0d55833f1 |
|
22-Oct-2011 |
Alex Wilson <yourpalal2@gmail.com> |
Bring BALMLayout in line with changes to BLayout.
|
#
ef93b55df49f5296bdb03867215cb1793596e845 |
|
13-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 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
|
#
7583db5a1ec81636829331e5fc7cae81ca7a7ba7 |
|
24-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 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
|
#
8fa4fd37b76486e5baa22f594c883a7f94ce3c61 |
|
25-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 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
b23e9af5b5e7d7e87b90ce5b1f9535332f7eb2e0 |
|
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/haiku/trunk@39041 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
56187df6ebd9d1fb16bf954fce8df0999e9e3048 |
|
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
|
#
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
|
#
70e207613508fb5b562405c4edc33ddfe77fbfdf |
|
29-Sep-2010 |
Clemens Zeidler <clemens.zeidler@googlemail.com> |
- Add helper functions to get the tabs of a view or a layout item. - AddView only require the top, left tabs now. - Remove the TwoViews test and replace it with a slightly more complex test. - Merge XTab and YTab files into one header file. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38860 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
5b6fca06392320a9c32d542b519d8f4fe876aef2 |
|
28-Sep-2010 |
Clemens Zeidler <clemens.zeidler@googlemail.com> |
- Rework the ALM layout api. The AddItemTo* function are now related to the current Area. On default the current Area is the last added Area. - Add some more const where appreciated. - Fix some style issues and a leak in Row and Column. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38842 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
21f083af820b453b24eab10bb8134e2c0e48d0e4 |
|
23-Sep-2010 |
Clemens Zeidler <clemens.zeidler@googlemail.com> |
- Implement all Add* function of the BLayout class properly. If the Add* functions of the BLayout class are called add the item to the right upper corner of the previous area. That is at least better than ignore this functions. - Add more convenience AddViewTo{Right, Left, Top, Bottom} functions to add a item to the sides of an existing area. - Need to add the Jamfile hack again to include the ViewLayoutItem.h header. I thing about to add the ALMLayout.* files to the interface dir when its a little bit more matured. Then the problem will be solved. Till I made a decision or somebody tell me its a bad idea to add the ALMLayout to the official interface stuff or the ViewLayoutItem.h should be in a shared header dir I will keep this hack. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38793 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
96e2013e70880101f5b2324ae73cb5b9bf88a972 |
|
22-Sep-2010 |
Clemens Zeidler <clemens.zeidler@googlemail.com> |
Add inset and spacing to BALMLayout. Each Area is able to overwrite this global values and use his own inset. Add spacing and inset to the tests. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38792 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
40d939a43f9af0fbd3c6440830c2bb8cb26889d4 |
|
22-Sep-2010 |
Clemens Zeidler <clemens.zeidler@googlemail.com> |
- Add some checks if the Area is initialized. - Init some more variables in the constructor. - Rename HasSame*As to Set*As. The old one is more a question. Also add an optional factor and remove the HasSameSizeAs function which tempt the user to leak a BList. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38790 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
9503cf19be94b5a8297ecd73ab50e7acd92a98f6 |
|
22-Sep-2010 |
Clemens Zeidler <clemens.zeidler@googlemail.com> |
- Don't pass a min size in the Area _Init function. The min size is updated before solving the layout so we don't have to set it in the beginning. This also simplifies the BALMLayout api. - Header include style fixes. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38788 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
0871de7bdf1714ec860242852684e3acc9ba00cb |
|
21-Sep-2010 |
Clemens Zeidler <clemens.zeidler@googlemail.com> |
Remove unsupported reverse engineering feature. Further clean up. Also remove LayoutStyle feature because resizing the parent view might not be a good idea. If the parent view should be resized you should better but it into a BLayout too. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38779 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
5f15562e7047a59ee579ee58a0d8ed3a72fcaa72 |
|
21-Sep-2010 |
Clemens Zeidler <clemens.zeidler@googlemail.com> |
Use the AlignInFrame BLayoutItem function to do the item alignment. The child area is not needed any more. Don't leak the fConstraints list. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38775 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
8d9b6ef4284d47e3bea44ba8c64e4e8c84be4e1a |
|
21-Sep-2010 |
Clemens Zeidler <clemens.zeidler@googlemail.com> |
- Rename BALMLayout.* file to ALMLayout.*. - Fix some copyrights. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38771 a95241bf-73f2-0310-859d-f6bbb57e9c96
|