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

OglGui::StringSelector Class Reference

#include <StringSelector.h>

Inheritance diagram for OglGui::StringSelector:

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

Collaboration graph
[legend]
List of all members.

Public Member Functions

 StringSelector (Window *parent, int width, int height)
 StringSelector (Window *parent, int x, int y, int width, int height)
void SetStringListener (StringListener *listener, void *listenerData=0)
void SetStringListener (StringListener *listener, int listenerData)
ScrollBarSBar ()
int GetFirstVis () const
void SetFirstVis (int nr, bool signalScrollBar=false)
void MakeCurrentVisible ()
void AddString (strconst str, bool intelliScroll=false)
bool Contains (strconst str) const
std::string GetString (int strInd) const
void SetCurrentString (int idx, bool makeVisible=false)
std::string GetCurrentString () const
int GetCurrentStringIdx () const
void CurrentStringUpDown (bool down, bool makeVisible=false)
void RemoveStrings ()
virtual void DisplayFunc ()
virtual void ReshapeFunc (INT w, INT h)
virtual int SetState (int nState)
void ActivateListener ()
virtual void MouseFunc (int msg, int but, 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 KeyboardFunc (int c, int state)
void OnScroll (ScrollBar *src, int position, void *data)

Private Member Functions

void Init (int nrVisible)

Private Attributes

int mCurrent
int mNrVisible
int mFirstVis
bool mDoTextShadow
ULONG mTextColor
ULONG mShadowColor
ULONG mHighLightColor
int mHighlightBorderType
StringListenermStringListener
void * mStrListenerData
std::vector< std::string > mStrings
WindowScrollBarmScrollBar

Static Private Attributes

static const int cLineHeight = 20

Detailed Description

Definition at line 24 of file StringSelector.h.


The documentation for this class was generated from the following file:
Generated on Thu Jan 13 09:26:59 2011 for ImpalaSrc by  doxygen 1.5.1