2008-02-25 04:54:05 +03:00
|
|
|
/*
|
2010-09-22 03:31:50 +04:00
|
|
|
* Copyright 2006 - 2010, Haiku, Inc. All rights reserved.
|
2008-02-25 04:54:05 +03:00
|
|
|
* Distributed under the terms of the MIT License.
|
|
|
|
*/
|
2008-02-06 13:51:44 +03:00
|
|
|
#ifndef X_TAB_H
|
|
|
|
#define X_TAB_H
|
|
|
|
|
2010-09-23 01:53:32 +04:00
|
|
|
|
2010-09-21 02:47:13 +04:00
|
|
|
#include "LinearSpec.h"
|
2008-02-06 13:51:44 +03:00
|
|
|
#include "Variable.h"
|
|
|
|
|
|
|
|
|
|
|
|
namespace BALM {
|
2010-09-21 02:47:13 +04:00
|
|
|
|
2008-02-06 13:51:44 +03:00
|
|
|
|
|
|
|
/**
|
|
|
|
* Vertical grid line (x-tab).
|
|
|
|
*/
|
|
|
|
class XTab : public Variable {
|
|
|
|
protected:
|
2010-09-30 05:32:48 +04:00
|
|
|
XTab(LinearSpec* ls)
|
|
|
|
:
|
|
|
|
Variable(ls)
|
|
|
|
{
|
|
|
|
|
|
|
|
}
|
2008-02-06 13:51:44 +03:00
|
|
|
|
2010-09-30 05:32:48 +04:00
|
|
|
public:
|
|
|
|
friend class BALMLayout;
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
class YTab : public Variable {
|
2008-02-06 13:51:44 +03:00
|
|
|
protected:
|
2010-09-30 05:32:48 +04:00
|
|
|
YTab(LinearSpec* ls)
|
|
|
|
:
|
|
|
|
Variable(ls)
|
|
|
|
{
|
|
|
|
|
|
|
|
}
|
2008-02-06 13:51:44 +03:00
|
|
|
|
|
|
|
public:
|
2010-09-30 05:32:48 +04:00
|
|
|
friend class BALMLayout;
|
2008-02-06 13:51:44 +03:00
|
|
|
};
|
|
|
|
|
2010-09-30 05:32:48 +04:00
|
|
|
|
2008-02-06 13:51:44 +03:00
|
|
|
} // namespace BALM
|
|
|
|
|
|
|
|
using BALM::XTab;
|
2010-09-30 05:32:48 +04:00
|
|
|
using BALM::YTab;
|
2008-02-06 13:51:44 +03:00
|
|
|
|
|
|
|
#endif // X_TAB_H
|