Namespace atlas::ui
Namespace List > atlas > ui
Public Functions
Type | Name |
---|---|
bool | begin_popup_context_window (const char * p_str_id, ImGuiMouseButton p_mb, bool p_over_items) |
void | button_open_file_dialog (const std::string & p_tag, std::string & p_filepath, const std::string & p_filter="obj;glftf;fbx") |
void | dockspace_window (GLFWwindow * p_window) |
void | draw_float (const std::string & p_tag, float & p_value, float p_reset_value=0.f) |
void | draw_vec3 (const std::string & p_tag, glm::vec3 & p_value, float p_reset_value=0.f) |
void | draw_vec4 (const std::string & p_tag, glm::vec4 & p_value, float p_reset_value=0.f) |
Public Static Functions
Type | Name |
---|---|
void | draw_panel_component (const std::string & p_tag, const UFunction & p_callable) |
Public Functions Documentation
function begin_popup_context_window
bool atlas::ui::begin_popup_context_window (
const char * p_str_id,
ImGuiMouseButton p_mb,
bool p_over_items
)
function button_open_file_dialog
void atlas::ui::button_open_file_dialog (
const std::string & p_tag,
std::string & p_filepath,
const std::string & p_filter="obj;glftf;fbx"
)
Note:
Sets up UI button for loading files
function dockspace_window
void atlas::ui::dockspace_window (
GLFWwindow * p_window
)
Note:
Sets up dockspaces
function draw_float
void atlas::ui::draw_float (
const std::string & p_tag,
float & p_value,
float p_reset_value=0.f
)
function draw_vec3
void atlas::ui::draw_vec3 (
const std::string & p_tag,
glm::vec3 & p_value,
float p_reset_value=0.f
)
function draw_vec4
void atlas::ui::draw_vec4 (
const std::string & p_tag,
glm::vec4 & p_value,
float p_reset_value=0.f
)
Public Static Functions Documentation
function draw_panel_component
template<typename T, typename UFunction>
static void atlas::ui::draw_panel_component (
const std::string & p_tag,
const UFunction & p_callable
)
The documentation for this class was generated from the following file TheAtlasEngine/atlas/core/ui/widgets.hpp