yaze 0.3.2
Link to the Past ROM Editor
 
Loading...
Searching...
No Matches
yaze::gui::anonymous_namespace{property_inspector.cc} Namespace Reference

Functions

template<typename T >
void ClampIfBounded (T *value, const PropertyOptions &opts)
 
const char * IntFormat (const PropertyOptions &opts)
 
const char * FloatFormat (const PropertyOptions &opts, const char *fallback)
 
int StringInputCallback (ImGuiInputTextCallbackData *data)
 
template<typename T >
bool DrawHexScalar (const char *label, T *value, ImGuiDataType type, const char *default_fmt, const PropertyOptions &opts)
 

Function Documentation

◆ ClampIfBounded()

template<typename T >
void yaze::gui::anonymous_namespace{property_inspector.cc}::ClampIfBounded ( T * value,
const PropertyOptions & opts )

Definition at line 53 of file property_inspector.cc.

References ClampIfBounded(), yaze::gui::PropertyOptions::max, and yaze::gui::PropertyOptions::min.

Referenced by ClampIfBounded(), and DrawHexScalar().

Here is the call graph for this function:

◆ IntFormat()

const char * yaze::gui::anonymous_namespace{property_inspector.cc}::IntFormat ( const PropertyOptions & opts)

Definition at line 64 of file property_inspector.cc.

References yaze::gui::PropertyOptions::format, and IntFormat().

Referenced by IntFormat().

Here is the call graph for this function:

◆ FloatFormat()

const char * yaze::gui::anonymous_namespace{property_inspector.cc}::FloatFormat ( const PropertyOptions & opts,
const char * fallback )

Definition at line 68 of file property_inspector.cc.

References FloatFormat(), and yaze::gui::PropertyOptions::format.

Referenced by FloatFormat().

Here is the call graph for this function:

◆ StringInputCallback()

int yaze::gui::anonymous_namespace{property_inspector.cc}::StringInputCallback ( ImGuiInputTextCallbackData * data)

Definition at line 180 of file property_inspector.cc.

References StringInputCallback().

Referenced by StringInputCallback().

Here is the call graph for this function:

◆ DrawHexScalar()

template<typename T >
bool yaze::gui::anonymous_namespace{property_inspector.cc}::DrawHexScalar ( const char * label,
T * value,
ImGuiDataType type,
const char * default_fmt,
const PropertyOptions & opts )