70e2076135
- 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
55 lines
650 B
C++
55 lines
650 B
C++
/*
|
|
* Copyright 2006 - 2010, Haiku, Inc. All rights reserved.
|
|
* Distributed under the terms of the MIT License.
|
|
*/
|
|
#ifndef X_TAB_H
|
|
#define X_TAB_H
|
|
|
|
|
|
#include "LinearSpec.h"
|
|
#include "Variable.h"
|
|
|
|
|
|
namespace BALM {
|
|
|
|
|
|
/**
|
|
* Vertical grid line (x-tab).
|
|
*/
|
|
class XTab : public Variable {
|
|
protected:
|
|
XTab(LinearSpec* ls)
|
|
:
|
|
Variable(ls)
|
|
{
|
|
|
|
}
|
|
|
|
public:
|
|
friend class BALMLayout;
|
|
friend class Column;
|
|
};
|
|
|
|
|
|
class YTab : public Variable {
|
|
protected:
|
|
YTab(LinearSpec* ls)
|
|
:
|
|
Variable(ls)
|
|
{
|
|
|
|
}
|
|
|
|
public:
|
|
friend class BALMLayout;
|
|
friend class Row;
|
|
};
|
|
|
|
|
|
} // namespace BALM
|
|
|
|
using BALM::XTab;
|
|
using BALM::YTab;
|
|
|
|
#endif // X_TAB_H
|