Euphoria
eu::imgui Namespace Reference

Classes

struct  ImLog
struct  ImTweak
struct  SCurveGuiState
 Represents the GUI state for an S-curve. More...
struct  SCurveImguiSettings
 Configuration settings for displaying and interacting with an S-curve widget. More...
struct  ImguiShaderProgram
struct  ImguiShaderCache
struct  PropTable

Enumerations

enum class  LogStyle { basic , filter }
enum class  FlipX { no , yes }
enum class  ImageShader { none , tonemap_and_gamma , depth_ortho }

Functions

float calculate_app_scale ()
std::pair< int, int > rescale_window (int width, int height, float app_scale)
void setup_scale (float app_scale)
bool imgui_s_curve_editor (const char *title, core::SCurve *scurve, SCurveGuiState *gui, FlipX flip_x, const SCurveImguiSettings &settings, bool force_init_curve)
void setup_colors ()
void label (const char *label)
bool button (const char *label)
bool centered_button (const char *label)
bool header (const char *label, bool *closeable=nullptr)
void imgui_text (const std::string &str)
bool imgui_edit (const char *label, std::string *str)
void imgui_readonly (const char *label, const std::string &text)
void imgui_readonly (const char *label, const v3 &v)
void imgui_readonly (const char *label, const Ypr &y)
void imgui_image (const char *name, const render::FrameBuffer &img, ImguiShaderCache *cache, ImageShader shader)
void transform (const m4 &m)
bool transform (m4 *m)

Enumeration Type Documentation

◆ FlipX

enum class eu::imgui::FlipX
strong
Enumerator
no 
yes 

Definition at line 47 of file scurve.h.

◆ ImageShader

enum class eu::imgui::ImageShader
strong
Enumerator
none 
tonemap_and_gamma 
depth_ortho 

Definition at line 36 of file ui.h.

◆ LogStyle

enum class eu::imgui::LogStyle
strong
Enumerator
basic 
filter 

Definition at line 7 of file debug.h.

Function Documentation

◆ button()

bool eu::imgui::button ( const char * label)

◆ calculate_app_scale()

float eu::imgui::calculate_app_scale ( )

◆ centered_button()

bool eu::imgui::centered_button ( const char * label)

◆ header()

bool eu::imgui::header ( const char * label,
bool * closeable = nullptr )

◆ imgui_edit()

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

◆ imgui_image()

void eu::imgui::imgui_image ( const char * name,
const render::FrameBuffer & img,
ImguiShaderCache * cache,
ImageShader shader )

◆ imgui_readonly() [1/3]

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

◆ imgui_readonly() [2/3]

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

◆ imgui_readonly() [3/3]

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

◆ imgui_s_curve_editor()

bool eu::imgui::imgui_s_curve_editor ( const char * title,
core::SCurve * scurve,
SCurveGuiState * gui,
FlipX flip_x,
const SCurveImguiSettings & settings,
bool force_init_curve )

◆ imgui_text()

void eu::imgui::imgui_text ( const std::string & str)

◆ label()

void eu::imgui::label ( const char * label)

◆ rescale_window()

std::pair< int, int > eu::imgui::rescale_window ( int width,
int height,
float app_scale )

◆ setup_colors()

void eu::imgui::setup_colors ( )

◆ setup_scale()

void eu::imgui::setup_scale ( float app_scale)

◆ transform() [1/2]

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

◆ transform() [2/2]

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