Button Interface Control Class

 

Control Class for a button. Derived from IControl

 

            Functions

            UseVar(varname)

            Variable to use if a radio or toggle button.

            varname: name of variable.

 

            Style Attributes:

            Toggle- Toggle button.

            Radio- Radio button

            Rollover- Makes the button give a sound and change color on rollover.

 

            Geometry Attributes

            None

 

            Notifications-(like the NotifyParent stuff.)

            Button::Pressed - Standard button was pressed.

            Button::Select - Button was selected

            Button::Deselect - Button was deselected