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

OglGui::Button Class Reference

#include <Button.h>

Inheritance diagram for OglGui::Button:

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

Collaboration graph
[legend]
List of all members.

Public Member Functions

 Button (Window *parent, int x, int y, int width, int height, strconst label, int borderType=BEV_RIDGE, bool isRect=false)
 Button (Window *parent, int width, int height, strconst label, int borderType=BEV_RIDGE, bool isRect=false)
void SetButtonListener (ButtonListener *listener, void *listenerData=0)
void SetButtonListener (ButtonListener *listener, int listenerData)
void DoButtonSelectionEvent ()
virtual void InitDisplayFunc ()
virtual void DisplayFunc ()
virtual void MouseFunc (INT msg, INT but, INT state, INT x, INT y)
void SetLabel (std::string label)
std::string GetLabel ()
virtual void SetBorderType (int type)
void SetUpBorderType (int type)
void SetDownBorderType (int type)
virtual void SetBorderFillShaded (int type=2)
void SetRepeatMode (bool b=true)
bool IsPressed ()
void SetPressed (bool pressed)
void SetSelected (bool selected)
bool IsSelected ()
void SetShowCancelState (bool mode)

Private Member Functions

void Init (int borderType, bool isRect)

Private Attributes

ButtonListenermButtonListener
void * mButtonListenerData
ULONG mSelectedColor
bool mRepeatMode
bool mIsPressed
bool mIsSelected
bool mShowCancelState
int mUpBorderType
int mDownBorderType
int mFillShadedType

Detailed Description

Definition at line 32 of file Button.h.


The documentation for this class was generated from the following file:
Generated on Fri Mar 19 11:57:42 2010 for ImpalaSrc by  doxygen 1.5.1