Mario Kart 64
Loading...
Searching...
No Matches
WidgetInfo Struct Reference

#include <MenuTypes.h>

Collaboration diagram for WidgetInfo:
[legend]

Public Member Functions

WidgetInfoCVar (const char *cVar_)
 
WidgetInfoOptions (OptionsVariant options_)
 
void ResetDisables ()
 
WidgetInfoOptions (std::shared_ptr< UIWidgets::WidgetOptions > options_)
 
WidgetInfoCallback (WidgetFunc callback_)
 
WidgetInfoPreFunc (WidgetFunc preFunc_)
 
WidgetInfoPostFunc (WidgetFunc postFunc_)
 
WidgetInfoWindowName (const char *windowName_)
 
WidgetInfoValuePointer (std::variant< bool *, int32_t *, float * > valuePointer_)
 
WidgetInfoSameLine (bool sameLine_)
 
WidgetInfoCustomFunction (WidgetFunc customFunction_)
 

Data Fields

std::string name
 
const char * cVar
 
WidgetType type
 
std::shared_ptr< UIWidgets::WidgetOptionsoptions
 
std::variant< bool *, int32_t *, float * > valuePointer
 
WidgetFunc callback = nullptr
 
WidgetFunc preFunc = nullptr
 
WidgetFunc postFunc = nullptr
 
WidgetFunc customFunction = nullptr
 
DisableVec activeDisables = {}
 
const char * windowName = ""
 
bool isHidden = false
 
bool sameLine = false
 

Member Function Documentation

◆ Callback()

WidgetInfo & WidgetInfo::Callback ( WidgetFunc callback_)
inline
Here is the caller graph for this function:

◆ CustomFunction()

WidgetInfo & WidgetInfo::CustomFunction ( WidgetFunc customFunction_)
inline

◆ CVar()

WidgetInfo & WidgetInfo::CVar ( const char * cVar_)
inline
Here is the caller graph for this function:

◆ Options() [1/2]

WidgetInfo & WidgetInfo::Options ( OptionsVariant options_)
inline
Here is the caller graph for this function:

◆ Options() [2/2]

WidgetInfo & WidgetInfo::Options ( std::shared_ptr< UIWidgets::WidgetOptions > options_)
inline

◆ PostFunc()

WidgetInfo & WidgetInfo::PostFunc ( WidgetFunc postFunc_)
inline

◆ PreFunc()

WidgetInfo & WidgetInfo::PreFunc ( WidgetFunc preFunc_)
inline
Here is the caller graph for this function:

◆ ResetDisables()

void WidgetInfo::ResetDisables ( )
inline
Here is the caller graph for this function:

◆ SameLine()

WidgetInfo & WidgetInfo::SameLine ( bool sameLine_)
inline

◆ ValuePointer()

WidgetInfo & WidgetInfo::ValuePointer ( std::variant< bool *, int32_t *, float * > valuePointer_)
inline
Here is the caller graph for this function:

◆ WindowName()

WidgetInfo & WidgetInfo::WindowName ( const char * windowName_)
inline
Here is the caller graph for this function:

Field Documentation

◆ activeDisables

DisableVec WidgetInfo::activeDisables = {}

◆ callback

WidgetFunc WidgetInfo::callback = nullptr

◆ customFunction

WidgetFunc WidgetInfo::customFunction = nullptr

◆ cVar

const char* WidgetInfo::cVar

◆ isHidden

bool WidgetInfo::isHidden = false

◆ name

std::string WidgetInfo::name

◆ options

std::shared_ptr<UIWidgets::WidgetOptions> WidgetInfo::options

◆ postFunc

WidgetFunc WidgetInfo::postFunc = nullptr

◆ preFunc

WidgetFunc WidgetInfo::preFunc = nullptr

◆ sameLine

bool WidgetInfo::sameLine = false

◆ type

WidgetType WidgetInfo::type

◆ valuePointer

std::variant<bool*, int32_t*, float*> WidgetInfo::valuePointer

◆ windowName

const char* WidgetInfo::windowName = ""

The documentation for this struct was generated from the following file: