NvTweakVarUIProxyBase Class Reference
An object that will help link an NvTweakVar with a proxied NvUIElement. More...
#include <NvTweakBar.h>
Inheritance diagram for NvTweakVarUIProxyBase:
Public Member Functions | |
NvTweakVarUIProxyBase (NvUIElement *el) | |
Default constructor, takes the UI element we proxy to. | |
void | SetReadOnly (bool ro) |
virtual NvUIEventResponse | HandleEvent (const NvGestureEvent &ev, NvUST timeUST, NvUIElement *hasInteract) |
We override HandleEvent to short-circuit any tweaks of read-only variables. | |
virtual NvUIEventResponse | HandleReaction (const NvUIReaction &react) |
We override HandleEvent to short-circuit any tweaks of read-only variables. | |
Protected Attributes | |
bool | m_readonly |
Detailed Description
An object that will help link an NvTweakVar with a proxied NvUIElement.This class acts as the basis for NvTweakVarUI, connecting up a tweakable app variable up with a particular NvUI widget class appropriate for interacting with that variable -- such as buttons and sliders.
Constructor & Destructor Documentation
NvTweakVarUIProxyBase::NvTweakVarUIProxyBase | ( | NvUIElement * | el | ) | [inline] |
Default constructor, takes the UI element we proxy to.
Member Function Documentation
virtual NvUIEventResponse NvTweakVarUIProxyBase::HandleEvent | ( | const NvGestureEvent & | ev, | |
NvUST | timeUST, | |||
NvUIElement * | hasInteract | |||
) | [inline, virtual] |
We override HandleEvent to short-circuit any tweaks of read-only variables.
Reimplemented from NvUIProxy.
Reimplemented in NvTweakEnumUI< T >.
virtual NvUIEventResponse NvTweakVarUIProxyBase::HandleReaction | ( | const NvUIReaction & | react | ) | [inline, virtual] |
We override HandleEvent to short-circuit any tweaks of read-only variables.
Reimplemented from NvUIProxy.
Reimplemented in NvTweakVarUI< T >, NvTweakEnumUI< T >, and NvTweakVarUI< T >.
The documentation for this class was generated from the following file: