styyx-util 1.0
Utility Header for SKSE Plugin development
Loading...
Searching...
No Matches
StyyxUtil::FUCKUtil Struct Reference

#include <st-fui.h>

Static Public Member Functions

static void IndentTextColored (const ImVec4 &color, const std::string &text, float indent=120.f)
static void GreenTitleText (const std::string &text, float indent=75.f)
static void RedTitleText (const std::string &text, float indent=75.f)
template<class T>
static bool Checkbox (const char *label, T &value, auto &configEntry, const char *help=nullptr)
template<class T>
static bool SliderInt (const char *label, T &value, auto &configEntry, T min, T max, const char *help=nullptr)
template<class T>
static bool SliderFloat (const char *label, T &value, auto &configEntry, float min, float max, const char *help=nullptr)
static bool InputText (const char *label, char *buffer, size_t size, std::string &value, auto &configEntry, const char *help=nullptr)

Static Public Attributes

static constexpr ImVec4 GREEN {0.2f, 0.6f, 0.3f, 1.0f}
static constexpr ImVec4 RED {0.78f, 0.0f, 0.0f, 1.0f}

Member Function Documentation

◆ Checkbox()

template<class T>
bool StyyxUtil::FUCKUtil::Checkbox ( const char * label,
T & value,
auto & configEntry,
const char * help = nullptr )
inlinestatic
Here is the call graph for this function:

◆ GreenTitleText()

void StyyxUtil::FUCKUtil::GreenTitleText ( const std::string & text,
float indent = 75.f )
inlinestatic
Here is the call graph for this function:

◆ IndentTextColored()

void StyyxUtil::FUCKUtil::IndentTextColored ( const ImVec4 & color,
const std::string & text,
float indent = 120.f )
inlinestatic
Here is the call graph for this function:

◆ InputText()

bool StyyxUtil::FUCKUtil::InputText ( const char * label,
char * buffer,
size_t size,
std::string & value,
auto & configEntry,
const char * help = nullptr )
inlinestatic
Here is the call graph for this function:

◆ RedTitleText()

void StyyxUtil::FUCKUtil::RedTitleText ( const std::string & text,
float indent = 75.f )
inlinestatic
Here is the call graph for this function:

◆ SliderFloat()

template<class T>
bool StyyxUtil::FUCKUtil::SliderFloat ( const char * label,
T & value,
auto & configEntry,
float min,
float max,
const char * help = nullptr )
inlinestatic
Here is the call graph for this function:

◆ SliderInt()

template<class T>
bool StyyxUtil::FUCKUtil::SliderInt ( const char * label,
T & value,
auto & configEntry,
T min,
T max,
const char * help = nullptr )
inlinestatic
Here is the call graph for this function:

Member Data Documentation

◆ GREEN

ImVec4 StyyxUtil::FUCKUtil::GREEN {0.2f, 0.6f, 0.3f, 1.0f}
staticconstexpr

◆ RED

ImVec4 StyyxUtil::FUCKUtil::RED {0.78f, 0.0f, 0.0f, 1.0f}
staticconstexpr

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