Main Page Namespace List Class Hierarchy Compound List File List Namespace Members Compound Members File Members Related Pages

# StateButton.h

Go to the documentation of this file.

    00001
    00002
    00003
    00004 #ifndef STATEBUTTON_H
    00005 #define STATEBUTTON_H
    00006
    00007 #include "AbstractButton.h"
    00008
    00009 namespace wkgl {
    00010
    00024 class StateButton : public AbstractButton
    00025 {
    00026   protected:
    00027     int type;
    00028     ULONG group;
    00029   public:
    00033     StateButton( const char* label, int x, int y,
    00034                    int type, int width = AUTOSIZE,
    00035                    int height = AUTOSIZE );
    00036
    00040     void setState( int state );
    00041
    00045     int getState();
    00046
    00050     BOOL isChecked();
    00051
    00055     ULONG getGroup();
    00056
    00060     void setGroup( ULONG group_num );
    00061 };
    00062 }
    00063 #endif