1 /* 2 * Copyright 2006 - 2010, Haiku, Inc. All rights reserved. 3 * Distributed under the terms of the MIT License. 4 */ 5 #ifndef X_TAB_H 6 #define X_TAB_H 7 8 9 #include "LinearSpec.h" 10 #include "Variable.h" 11 12 13 namespace BALM { 14 15 16 /** 17 * Vertical grid line (x-tab). 18 */ 19 class XTab : public Variable { 20 protected: 21 XTab(LinearSpec* ls) 22 : 23 Variable(ls) 24 { 25 26 } 27 28 public: 29 friend class BALMLayout; 30 }; 31 32 33 class YTab : public Variable { 34 protected: 35 YTab(LinearSpec* ls) 36 : 37 Variable(ls) 38 { 39 40 } 41 42 public: 43 friend class BALMLayout; 44 }; 45 46 47 } // namespace BALM 48 49 50 using BALM::XTab; 51 using BALM::YTab; 52 53 typedef BObjectList<XTab> XTabList; 54 typedef BObjectList<YTab> YTabList; 55 56 57 #endif // X_TAB_H 58