#include <AAudioOptionsState.h>
Public Types | |
using | ArrowFocusCallback = void ( * )( void* a_pUserData, TINT a_iSliderID ) |
![]() | |
enum | COMMANDRESULT { COMMANDRESULT_NONE , COMMANDRESULT_OK , COMMANDRESULT_CANCEL } |
![]() | |
using | t_PostRender = void ( * )() |
Public Member Functions | |
AVolumeSlider () | |
~AVolumeSlider () | |
TBOOL | Create (const TCHAR *a_szLeftArrow, const TCHAR *a_szRightArrow, const TCHAR *a_szBarIcon) |
void | SetId (TINT a_iID) |
TINT | GetId () const |
void | SetCallbackUserData (void *a_pUserData) |
void | SetArrowFocusedCallback (ArrowFocusCallback a_fnCallback) |
virtual void | OnUpdate (TFLOAT a_fDeltaTime) override |
![]() | |
AGUI2MenuGridItem () | |
~AGUI2MenuGridItem () | |
void | LinkMenuItemBefore (AGUI2MenuGridItem &a_rLinkAfter) |
void | SetSideElements (AGUI2MenuGridItem *a_pLeft, AGUI2MenuGridItem *a_pRight, AGUI2MenuGridItem *a_pTop, AGUI2MenuGridItem *a_pBottom) |
TBOOL | IsEnabled () const |
TBOOL | CanFocus () const |
AGUI2MenuGridItem * | GetNextMenuItem () const |
AGUI2MenuGridItem * | GetPrevMenuItem () const |
virtual void | OnFocus () |
virtual void | OnFocusLost () |
virtual COMMANDRESULT | OnInputCommand (AGUI2MenuGrid::ACTIONFLAGS &a_rActionFlags) |
virtual void | SetEnabled (TBOOL a_bEnabled) |
virtual TFLOAT | GetFlowVisualOffset () |
virtual TFLOAT | GetFlowOffset () |
![]() | |
AGUI2Element () | |
virtual | ~AGUI2Element ()=default |
virtual void | Tick (TFLOAT a_fDeltaTime) |
virtual void | PreRender () |
virtual void | Render () |
virtual void | PostRender () |
virtual void | GetDimensions (TFLOAT &a_rWidth, TFLOAT &a_rHeight) |
virtual TFLOAT | GetWidth () |
virtual TFLOAT | GetHeight () |
virtual void | SetWidth (TFLOAT a_fWidth) |
virtual void | SetHeight (TFLOAT a_fHeight) |
virtual void | SetDimensions (TFLOAT a_fWidth, TFLOAT a_fHeight) |
virtual void | GetMins (TFLOAT &a_fX, TFLOAT &a_fY) |
virtual void | GetMaxs (TFLOAT &a_fX, TFLOAT &a_fY) |
virtual void | SetColour (TUINT32 a_uiColour) |
virtual void | SetAlpha (TFLOAT a_fAlpha) |
virtual void | SetShadowAlpha (TFLOAT a_fAlpha) |
virtual void | SetFocus (TBOOL a_bFocused) |
virtual TBOOL | IsPointInside (TFLOAT a_fX, TFLOAT a_fY) |
void | AnchorPos (TFLOAT &a_rX, TFLOAT &a_rY, TFLOAT a_fWidth, TFLOAT a_fHeight) |
void | PivotPos (TFLOAT &a_rX, TFLOAT &a_rY, TFLOAT a_fWidth, TFLOAT a_fHeight) |
void | GetScreenTransform (AGUI2Transform &a_rOutTransform) |
void | GetInvScreenTransform (AGUI2Transform &a_rOutTransform) |
void | Show () |
void | Hide () |
void | SetInFront () |
void | SetRenderBeforeChildren () |
TBOOL | HasFlags (TUINT32 a_uiFlags) const |
TBOOL | IsVisible () const |
TBOOL | IsFocused () const |
TBOOL | ShouldRenderBeforeChildren () |
TBOOL | IsInFront () const |
TFLOAT | GetAlpha () const |
void | AddChildTail (AGUI2Element &a_rElement) |
void | AddChildHead (AGUI2Element &a_rElement) |
void | SetTranslation (TFLOAT a_fX, TFLOAT a_fY) |
void | SetTranslation (const Toshi::TVector2 &a_rTranslation) |
void | SetTransform (TFLOAT a_fX, TFLOAT a_fY, float a_fRotAngle=0.0f) |
void | SetAnchor (AGUI2ATTACHMENT a_eAnchor) |
void | SetPivot (AGUI2ATTACHMENT a_ePivot) |
void | SetAttachment (AGUI2ATTACHMENT a_eAnchor, AGUI2ATTACHMENT a_ePivot) |
t_PostRender | SetPostRenderCallback (t_PostRender a_cbNewCallback) |
AGUI2Transform & | GetTransform () |
AGUI2Element * | ChildBegin () const |
AGUI2Element * | ChildRBegin () const |
AGUI2Element * | GetNextChild (AGUI2Element *a_pCurrentChild) |
AGUI2Element * | GetPrevChild (AGUI2Element *a_pCurrentChild) |
void | RemoveSelf () |
void | LinkChildBefore (AGUI2Element &a_rNewChildren, AGUI2Element &a_rInsertAfter) |
![]() | |
AGUI2ElementNode () | |
virtual | ~AGUI2ElementNode () |
void | Unlink () |
void | LinkAfter (AGUI2ElementNode &a_rNode) |
void | LinkBefore (AGUI2ElementNode &a_rNode) |
TBOOL | IsLinked () const |
AGUI2ElementNode * | GetNext () const |
AGUI2ElementNode * | GetPrev () const |
Additional Inherited Members | |
![]() | |
friend | AGUI2Element |
![]() | |
static TUINT32 | s_uiVisibilityMask = 0xFFFFFFFF |
![]() | |
AGUI2Element * | m_pParent |
AGUI2Transform | m_oTransform |
AGUI2ElementNode | m_Children |
AGUI2ATTACHMENT | m_eAnchor |
AGUI2ATTACHMENT | m_ePivot |
TFLOAT | m_fWidth |
TFLOAT | m_fHeight |
TUINT32 | m_uiColour |
TUINT32 | m_eFlags |
t_PostRender | m_cbPostRender |
TUINT32 | m_uiVisibilityMask |
![]() | |
AGUI2ElementNode * | m_pNext |
AGUI2ElementNode * | m_pPrev |
Definition at line 5 of file AAudioOptionsState.h.
using AVolumeSlider::ArrowFocusCallback = void ( * )( void* a_pUserData, TINT a_iSliderID ) |
Definition at line 8 of file AAudioOptionsState.h.
AVolumeSlider::AVolumeSlider | ( | ) |
Definition at line 188 of file AAudioOptionsState.cpp.
AVolumeSlider::~AVolumeSlider | ( | ) |
Definition at line 194 of file AAudioOptionsState.cpp.
TBOOL AVolumeSlider::Create | ( | const TCHAR * | a_szLeftArrow, |
const TCHAR * | a_szRightArrow, | ||
const TCHAR * | a_szBarIcon ) |
Definition at line 198 of file AAudioOptionsState.cpp.
|
inline |
Definition at line 17 of file AAudioOptionsState.h.
|
overridevirtual |
Reimplemented from AGUI2MenuGridItem.
Definition at line 244 of file AAudioOptionsState.cpp.
|
inline |
Definition at line 20 of file AAudioOptionsState.h.
|
inline |
Definition at line 19 of file AAudioOptionsState.h.
|
inline |
Definition at line 16 of file AAudioOptionsState.h.