2008-02-25 04:54:05 +03:00
|
|
|
/*
|
|
|
|
* Copyright 2007-2008, Christof Lutteroth, lutteroth@cs.auckland.ac.nz
|
|
|
|
* Copyright 2007-2008, James Kim, jkim202@ec.auckland.ac.nz
|
|
|
|
* Distributed under the terms of the MIT License.
|
|
|
|
*/
|
|
|
|
|
2008-02-06 13:51:44 +03:00
|
|
|
#ifndef X_TAB_H
|
|
|
|
#define X_TAB_H
|
|
|
|
|
|
|
|
#include "Variable.h"
|
|
|
|
|
|
|
|
|
|
|
|
namespace BALM {
|
|
|
|
|
|
|
|
class BALMLayout;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Vertical grid line (x-tab).
|
|
|
|
*/
|
|
|
|
class XTab : public Variable {
|
|
|
|
|
|
|
|
protected:
|
|
|
|
XTab(BALMLayout* ls);
|
|
|
|
|
|
|
|
protected:
|
|
|
|
/**
|
|
|
|
* Property signifying if there is a constraint which relates
|
|
|
|
* this tab to a different tab that is further to the left.
|
|
|
|
* Only used for reverse engineering.
|
|
|
|
*/
|
|
|
|
bool fLeftLink;
|
|
|
|
|
|
|
|
public:
|
|
|
|
friend class Area;
|
|
|
|
friend class Column;
|
|
|
|
friend class BALMLayout;
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
} // namespace BALM
|
|
|
|
|
|
|
|
using BALM::XTab;
|
|
|
|
|
|
|
|
#endif // X_TAB_H
|