mirror of
https://review.haiku-os.org/haiku
synced 2025-01-31 02:35:03 +01:00
a101e99aad
BLayout implementation (BALMLayout) using the Auckland Layout Model (ALM). The original ALM was implemented by Christof Lutteroth, the Haiku/C++ version by James Kim. The code needs some review, but the test programs seem to work fine. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23889 a95241bf-73f2-0310-859d-f6bbb57e9c96
38 lines
553 B
C++
38 lines
553 B
C++
#ifndef Y_TAB_H
|
|
#define Y_TAB_H
|
|
|
|
#include "Variable.h"
|
|
|
|
namespace BALM {
|
|
|
|
class BALMLayout;
|
|
|
|
/**
|
|
* Horizontal grid line (y-tab).
|
|
*/
|
|
class YTab : public Variable {
|
|
|
|
protected:
|
|
YTab(BALMLayout* ls);
|
|
|
|
protected:
|
|
/**
|
|
* Property signifying if there is a constraint which relates
|
|
* this tab to a different tab that is further to the top.
|
|
* Only used for reverse engineering.
|
|
*/
|
|
bool fTopLink;
|
|
|
|
public:
|
|
friend class Area;
|
|
friend class Row;
|
|
friend class BALMLayout;
|
|
|
|
};
|
|
|
|
} // namespace BALM
|
|
|
|
using BALM::YTab;
|
|
|
|
#endif // Y_TAB_H
|