Euphoria
eu::imgui::PropTable Struct Reference

Public Member Functions

 PropTable (const PropTable &)=delete
void operator= (const PropTable &)=delete
void operator= (const PropTable &&)=delete
 PropTable (PropTable &&r) noexcept
constexpr operator bool () const
 ~PropTable ()
bool check (const char *label, bool *v) const
bool slider (const char *label, float *v, float min, float max) const
bool slider (const char *label, float *v) const
void text (const char *label, const std::string &str) const
bool edit (const char *label, std::string *str) const
void display (const char *label, bool b) const
void readonly (const char *label, const std::string &text) const
void readonly (const char *label, const v3 &v) const
void readonly (const char *label, const Ypr &y) const
bool color (const char *label, Rgb *color) const
bool simple_gamma_slider (const char *label, float *gamma, float curve=1.5f, float min_gamma=1.6f, float max_gamma=2.8f) const
bool drag (const char *label, v3 *drag, float reset_value=0.0f) const
bool drag (const char *label, Ypr *drag) const
bool drag (const char *label, Rui *drag) const
bool drag (const char *label, float *drag, float speed=1.0f) const
bool drag (const char *label, int *drag) const
void transform (const m4 &m) const
bool transform (m4 *m) const
bool scurve (const char *label, core::SCurve *scurve, SCurveGuiState *gui, FlipX flip_x, const ImVec2 &requested_widget_size=ImVec2{ 100, 100 }) const
void image (const char *label, const render::FrameBuffer &img, ImguiShaderCache *cache, ImageShader shader) const

Static Public Member Functions

static PropTable Begin (const char *label="properties")

Detailed Description

Definition at line 86 of file ui.h.

Constructor & Destructor Documentation

◆ PropTable() [1/2]

eu::imgui::PropTable::PropTable ( const PropTable & )
delete

◆ PropTable() [2/2]

eu::imgui::PropTable::PropTable ( PropTable && r)
noexcept

◆ ~PropTable()

eu::imgui::PropTable::~PropTable ( )

Member Function Documentation

◆ Begin()

PropTable eu::imgui::PropTable::Begin ( const char * label = "properties")
static

◆ check()

bool eu::imgui::PropTable::check ( const char * label,
bool * v ) const

◆ color()

bool eu::imgui::PropTable::color ( const char * label,
Rgb * color ) const

◆ display()

void eu::imgui::PropTable::display ( const char * label,
bool b ) const

◆ drag() [1/5]

bool eu::imgui::PropTable::drag ( const char * label,
float * drag,
float speed = 1.0f ) const

◆ drag() [2/5]

bool eu::imgui::PropTable::drag ( const char * label,
int * drag ) const

◆ drag() [3/5]

bool eu::imgui::PropTable::drag ( const char * label,
Rui * drag ) const

◆ drag() [4/5]

bool eu::imgui::PropTable::drag ( const char * label,
v3 * drag,
float reset_value = 0.0f ) const

◆ drag() [5/5]

bool eu::imgui::PropTable::drag ( const char * label,
Ypr * drag ) const

◆ edit()

bool eu::imgui::PropTable::edit ( const char * label,
std::string * str ) const

◆ image()

void eu::imgui::PropTable::image ( const char * label,
const render::FrameBuffer & img,
ImguiShaderCache * cache,
ImageShader shader ) const

◆ operator bool()

eu::imgui::PropTable::operator bool ( ) const
inlineconstexpr

Definition at line 94 of file ui.h.

◆ operator=() [1/2]

void eu::imgui::PropTable::operator= ( const PropTable && )
delete

◆ operator=() [2/2]

void eu::imgui::PropTable::operator= ( const PropTable & )
delete

◆ readonly() [1/3]

void eu::imgui::PropTable::readonly ( const char * label,
const std::string & text ) const

◆ readonly() [2/3]

void eu::imgui::PropTable::readonly ( const char * label,
const v3 & v ) const

◆ readonly() [3/3]

void eu::imgui::PropTable::readonly ( const char * label,
const Ypr & y ) const

◆ scurve()

bool eu::imgui::PropTable::scurve ( const char * label,
core::SCurve * scurve,
SCurveGuiState * gui,
FlipX flip_x,
const ImVec2 & requested_widget_size = ImVec2{ 100, 100 } ) const

◆ simple_gamma_slider()

bool eu::imgui::PropTable::simple_gamma_slider ( const char * label,
float * gamma,
float curve = 1.5f,
float min_gamma = 1.6f,
float max_gamma = 2.8f ) const

◆ slider() [1/2]

bool eu::imgui::PropTable::slider ( const char * label,
float * v ) const

◆ slider() [2/2]

bool eu::imgui::PropTable::slider ( const char * label,
float * v,
float min,
float max ) const

◆ text()

void eu::imgui::PropTable::text ( const char * label,
const std::string & str ) const

◆ transform() [1/2]

void eu::imgui::PropTable::transform ( const m4 & m) const

◆ transform() [2/2]

bool eu::imgui::PropTable::transform ( m4 * m) const

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