#include <StringColumns.h>
Inheritance diagram for OglGui::StringColumns:


Public Types | |
| typedef std::vector< std::string > | StrVector |
| typedef std::vector< unsigned char > | StrOptions |
| typedef std::vector< ULONG > | StrColors |
Public Member Functions | |
| StringColumns (int x, int y, int w, int h) | |
| StringColumns (Window *parent, int w, int h) | |
| StringColumns (Window *parent, int x, int y, int w, int h) | |
| void | AddColumn (strconst colName, int colWidth=100, ULONG bg=0, int insertAt=-1) |
| void | AddColumn (strconst colName, StrVector *strVector, int colWidth=100, ULONG bg=0, int insertAt=-1) |
| void | AddString (strconst str, int colIdx, ULONG col=oglBLACK, int opts=0, int insertAt=-1) |
| int | GetColumnIdx (strconst name) |
| ColumnData * | GetColumnData (int colIdx) |
| ColumnData * | GetColumnData (strconst name) |
| void | SelectRange (int col, int first, int last) |
| int | FindColumn (int x) |
| int | FindRow (int y) |
| int | FirstVisible () |
| int | LastVisible () |
| virtual void | DisplayFunc () |
| virtual void | MouseFunc (int msg, int btn, int state, int x, int y) |
| This function is called by the event handling system everytime the user has moved or clicked the mouse. | |
| virtual void | ReshapeFunc (int w, int h) |
Static Public Attributes | |
| static const int | isShadowedBit = 1 |
| static const int | isSelectedBit = 2 |
Protected Member Functions | |
| void | ToggleOptionsBit (unsigned char &options, int bit) |
| void | ComputeDocHeight () |
| void | DrawItem (int x, int y, ColumnData &columnData, int strIdx) |
Private Member Functions | |
| void | Init (int w, int h) |
Private Attributes | |
| std::vector< ColumnData > | mColumns |
| int | mItemHeight |
| int | mOldH |
Classes | |
| struct | ColumnData |
Definition at line 19 of file StringColumns.h.
1.5.1