#include <WidgetState.h>
Inheritance diagram for WidgetState:
Remember at this level in the widget hierarchy we don't know anything about openGL... so the specific implementations of Widget States must exist elsewhere.
Definition at line 35 of file WidgetState.h.
Bind/Release | |
Bind should enable any state that is applicable, release should undo that, back to defaults.
A Concrete Class should implement the bindWS() and releaseWS() for the specific platform (if applicable). | |
void | bind () |
void | release () |
Public Member Functions | |
virtual | ~WidgetState () |
virtual WidgetState * | clone ()=0 |
Public Attributes | |
HAS_SLOTS | |
Protected Member Functions | |
virtual void | bindWS ()=0 |
implements bind() | |
virtual void | releaseWS ()=0 |
implements release() | |
WidgetState () | |
WidgetState (const WidgetState &ws) | |
WidgetState & | operator= (const WidgetState &ws) |
virtual void | _incCount () |
gutz::Counted interface, increment reference count by one. | |
virtual void | _decCount () |
gutz::Counted interface, decrement reference count by one. | |
virtual int | _getCount () const |
gutz::Counted interface, get the current reference count. | |
Friends | |
class | SmartPtr |
class | SmartPtrRef |
|
Definition at line 39 of file WidgetState.h. |
|
Definition at line 62 of file WidgetState.h. |
|
Definition at line 63 of file WidgetState.h. |
|
gutz::Counted interface, decrement reference count by one. Not generaly used by subclasses, mostly for collaboration with gutz::SmartPtr. Sometimes you need to call this though, see the documentation for gutz::SmartPtr Definition at line 54 of file smartptr.h. Referenced by TFImage::clear(), NrroImage::fBlendOverRGBA(), and Nrro::updateMinMax(). |
|
gutz::Counted interface, get the current reference count. Not generaly used by subclasses, mostly for collaboration with gutz::SmartPtr. Definition at line 58 of file smartptr.h. |
|
gutz::Counted interface, increment reference count by one. Not generaly used by subclasses, mostly for collaboration with gutz::SmartPtr. Sometimes you need to call this though, see the documentation for gutz::SmartPtr Definition at line 48 of file smartptr.h. Referenced by TFImage::clear(), NrroImage::fBlendOverRGBA(), and Nrro::updateMinMax(). |
|
Definition at line 49 of file WidgetState.h. References bindWS(). |
|
implements bind()
Implemented in GLColorWState. Referenced by bind(). |
|
Implemented in ColorWState. |
|
Definition at line 64 of file WidgetState.h. |
|
Definition at line 50 of file WidgetState.h. References releaseWS(). |
|
implements release()
Implemented in GLColorWState. Referenced by release(). |
|
Definition at line 40 of file smartptr.h. Referenced by Nrro::NrroIter< T >::NrroIter(). |
|
Definition at line 41 of file smartptr.h. |
|
Definition at line 38 of file WidgetState.h. |