Changeset 8649 in orxonox.OLD for branches/gui/src/lib/gui/gl/glgui_table.h
- Timestamp:
- Jun 20, 2006, 11:56:57 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/gui/src/lib/gui/gl/glgui_table.h
r8633 r8649 62 62 void init(); 63 63 64 void pixelPositionToElement(const Vector2D& pixelPosition, unsigned int* row, unsignedint* column);64 void pixelPositionToElement(const Vector2D& pixelPosition, int* row, int* column); 65 65 void repositionText(unsigned int fromLeft, unsigned int fromTop); 66 66 void applyTextSettings(unsigned int row, unsigned int column, LimitedWidthText* text); … … 68 68 69 69 private: 70 typedef struct Entry { 71 Entry(int row, int column) :row(row), column(column) {}; 72 int row; 73 int column; 74 }; 75 70 76 typedef std::vector<LimitedWidthText> TableTextList; 71 77 TableTextList _headers; … … 75 81 std::vector<TableTextList> _entries; //!< inner is by column, outer is by row. 76 82 83 Entry _selected; 84 Entry _focused; 85 77 86 78 87 };
Note: See TracChangeset
for help on using the changeset viewer.