#include <cascade/widgets/CascadeWidget.h>
Inheritance diagram for CascadeWidget:
CascadeWidget is the base class of CascadeWidgets.
|
represents a color/font scheme for widget drawing For each user interface element (such as color or font) there are 5 schemes depending on the focus and activation state to be rendered.
|
|
The CascadeWidget constructor - lightweight. This base class constructor is lightweight. |
|
Destructor. The destructor. |
|
gets the 3d highlight color for a particular scheme GetColorHi() returns the 3d highlight color for a particular scheme. This function is static so that non-CascadeWidget-derived classes can determine the user interface parameters for a particular scheme.
|
|
|
|
gets the 3d lolight color for a particular scheme GetColorLo() returns the 3d lolight color for a particular scheme. This function is static so that non-CascadeWidget-derived classes can determine the user interface parameters for a particular scheme.
|
|
<returns the highlight color the widget should use for rendering 3d elements GetColorHi() automatically takes into account this widget's current focus and activation state and returns the appropriate highlight color for rendering 3d elements.
|
|
gets the 3d mid color for a particular scheme GetColorMid() returns the 3d mid color for a particular scheme. This function is static so that non-CascadeWidget-derived classes can determine the user interface parameters for a particular scheme.
|
|
<returns the lolight color the widget should use for rendering 3d elements GetColorLo() automatically takes into account this widget's current focus and activation state and returns the appropriate lolight color for rendering 3d elements.
|
|
gets the text color for a particular scheme GetColorText() returns the text color for a particular scheme. This function is static so that non-CascadeWidget-derived classes can determine the user interface parameters for a particular scheme.
|
|
<returns the background or mid color the widget should use for rendering 3d elements GetColorMid() automatically takes into account this widget's current focus and activation state and returns the appropriate background or mid color for rendering 3d elements.
|
|
gets the font for a particular scheme GetFont() returns the font for a particular scheme. This function is static so that non-CascadeWidget-derived classes can determine the user interface parameters for a particular scheme.
|
|
<returns the text color the widget should use for rendering GetColorText() automatically takes into account this widget's current focus and activation state and returns the appropriate text color for rendering 3d elements.
|
|
gets the scheme the widget should use for rendering GetScheme() returns the UI scheme that should be used for this widget taking into account the current focus and activation state of this and whether or not the widget is disabled.
|
|
determines if the widget is disabled IsDisabled determines if the widget is disabled.
|
|
notifies clients you have changed the widget ui scheme parameters call NotifyParamtersChanged() after changing paramters to notify (to CascadeApps) that the paramters have changed. NotifyParamtersChanged() is a no-op unless paramters have actually changed. NotifyParamtersChanged() will end up causing CascadeApp's OnWidgetParametersChanged() function to be called whose default behavior is to cause all materialized app windows to be redrawn. |
|
sets the 3d highlight color for a particular scheme SetColorHi() sets the 3d highlight color for a particular scheme. This function is provided so that clients can set the user interface parameters for a particular scheme.
|
|
sets the 3d lolight color for a particular scheme SetColorLo() sets the 3d lolight color for a particular scheme. This function is provided so that clients can set the user interface parameters for a particular scheme.
|
|
sets the 3d mid color for a particular scheme SetColorMid() sets the 3d mid color for a particular scheme. This function is provided so that clients can set the user interface parameters for a particular scheme.
|
|
sets the text color for a particular scheme SetColorText() sets the text color for a particular scheme. This function is provided so that clients can set the user interface parameters for a particular scheme.
|
|
sets the widget to be disabled or un-disabled Call SetDisabled() to mark the widget disabled; it will be rendered in its disabled state. SetDisabled(true) will only work if this is not the focus window. (You cannot disable the focus window).
|
|
sets the font for a particular scheme SetFont() sets the text font for a particular scheme. This function is provided so that clients can set the user interface parameters for a particular scheme.
|
|
by default CascadeWidgets will accept input focus unless they are disabled WillAcceptFocus() is overridden so that the default behavior for CascadeWidget derived classes is to only accept focus if they are not disabled.
Reimplemented from CascadeWindow. Reimplemented in CascadeLabelWidget, CascadePictureWidget, and CascadeVesselPanel. |
|
Reimplemented from CascadeWindow. |
|
whether or not the widget is disabled m_bDisabled stores whether or not the widget is disabled |