Changeset 15 in flair-src for trunk/lib/FlairCore/src/LayoutPosition.cpp
- Timestamp:
- Apr 8, 2016, 3:40:57 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/lib/FlairCore/src/LayoutPosition.cpp
r2 r15 17 17 #include "LayoutPosition.h" 18 18 19 namespace flair { 20 namespace gui { 19 21 20 namespace flair 21 { 22 namespace gui 23 { 24 25 LayoutPosition::LayoutPosition(const Layout* layout,int16_t row,int16_t col) 26 { 27 this->layout=layout; 28 this->row=row; 29 this->col=col; 22 LayoutPosition::LayoutPosition(const Layout *layout, int16_t row, int16_t col) { 23 this->layout = layout; 24 this->row = row; 25 this->col = col; 30 26 } 31 27 32 LayoutPosition::~LayoutPosition() 33 { 28 LayoutPosition::~LayoutPosition() {} 34 29 35 }30 const Layout *LayoutPosition::getLayout(void) const { return layout; } 36 31 37 const Layout* LayoutPosition::getLayout(void) const 38 { 39 return layout; 40 } 32 int16_t LayoutPosition::Row(void) const { return row; } 41 33 42 int16_t LayoutPosition::Row(void) const 43 { 44 return row; 45 } 46 47 int16_t LayoutPosition::Col(void) const 48 { 49 return col; 50 } 34 int16_t LayoutPosition::Col(void) const { return col; } 51 35 52 36 } // end namespace gui
Note:
See TracChangeset
for help on using the changeset viewer.