Home || Architecture || Video Search || Visual Search || Scripts || Applications || Important Messages || OGL || Src

OglGui::StringColumns Class Reference

#include <StringColumns.h>

Inheritance diagram for OglGui::StringColumns:

Inheritance graph
[legend]
Collaboration diagram for OglGui::StringColumns:

Collaboration graph
[legend]
List of all members.

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)
ColumnDataGetColumnData (int colIdx)
ColumnDataGetColumnData (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< ColumnDatamColumns
int mItemHeight
int mOldH

Classes

struct  ColumnData

Detailed Description

Definition at line 19 of file StringColumns.h.


The documentation for this class was generated from the following file:
Generated on Fri Mar 19 12:06:44 2010 for ImpalaSrc by  doxygen 1.5.1