#include <ux-window.h>
Public Member Functions | |
| void | add_on_load_message (const std::string &msg) |
| void | begin_frame () |
| void | begin_viewport () |
| void | cross_hovered () |
| void | end_frame () |
| float | framebuf_height () const |
| float | framebuf_width () const |
| ImFont * | get_font () const |
| bool | get_hovered_over_input () const |
| ImFont * | get_large_font () const |
| ImFont * | get_monofont () const |
| rs2::mouse_info & | get_mouse () |
| float | get_scale_factor () const |
| texture_buffer & | get_splash () |
| float | height () const |
| bool | is_fullscreen () |
| bool | is_ui_aligned () |
| void | link_hovered () |
| operator bool () | |
| operator GLFWwindow * () const | |
| void | refresh () |
| void | reload () |
| void | reset () |
| void | set_hovered_over_input () |
| double | time () const |
| ux_window (const char *title, context &ctx) | |
| float | width () const |
| ~ux_window () | |
Public Attributes | |
| std::function< void(std::string)> | on_file_drop = [](std::string) {} |
| std::function< bool()> | on_load = []() { return false; } |
| std::function< void()> | on_reload_complete = []() { } |
Private Member Functions | |
| void | imgui_config_pop () |
| void | imgui_config_push () |
| void | open_window () |
| void | setup_icon () |
Definition at line 32 of file ux-window.h.
| rs2::ux_window::ux_window | ( | const char * | title, |
| context & | ctx | ||
| ) |
Definition at line 421 of file ux-window.cpp.
| rs2::ux_window::~ux_window | ( | ) |
Definition at line 628 of file ux-window.cpp.
| void rs2::ux_window::add_on_load_message | ( | const std::string & | msg | ) |
Definition at line 433 of file ux-window.cpp.
| void rs2::ux_window::begin_frame | ( | ) |
Definition at line 651 of file ux-window.cpp.
| void rs2::ux_window::begin_viewport | ( | ) |
Definition at line 732 of file ux-window.cpp.
| void rs2::ux_window::cross_hovered | ( | ) |
Definition at line 171 of file ux-window.cpp.
| void rs2::ux_window::end_frame | ( | ) |
Definition at line 746 of file ux-window.cpp.
|
inline |
Definition at line 45 of file ux-window.h.
|
inline |
Definition at line 44 of file ux-window.h.
|
inline |
Definition at line 64 of file ux-window.h.
|
inline |
Definition at line 83 of file ux-window.h.
|
inline |
Definition at line 62 of file ux-window.h.
|
inline |
Definition at line 63 of file ux-window.h.
|
inline |
Definition at line 66 of file ux-window.h.
|
inline |
Definition at line 67 of file ux-window.h.
|
inline |
Definition at line 74 of file ux-window.h.
|
inline |
Definition at line 42 of file ux-window.h.
|
private |
Definition at line 439 of file ux-window.cpp.
|
private |
Definition at line 451 of file ux-window.cpp.
|
inline |
Definition at line 72 of file ux-window.h.
|
inline |
Definition at line 71 of file ux-window.h.
| void rs2::ux_window::link_hovered | ( | ) |
Definition at line 166 of file ux-window.cpp.
|
private |
Definition at line 207 of file ux-window.cpp.
| rs2::ux_window::operator bool | ( | ) |
Definition at line 520 of file ux-window.cpp.
|
inline |
Definition at line 52 of file ux-window.h.
| void rs2::ux_window::refresh | ( | ) |
Definition at line 154 of file ux-window.cpp.
| void rs2::ux_window::reload | ( | ) |
Definition at line 149 of file ux-window.cpp.
Definition at line 757 of file ux-window.cpp.
|
inline |
Definition at line 82 of file ux-window.h.
|
private |
Definition at line 176 of file ux-window.cpp.
|
inline |
Definition at line 85 of file ux-window.h.
|
inline |
Definition at line 41 of file ux-window.h.
|
private |
Definition at line 136 of file ux-window.h.
|
private |
Definition at line 107 of file ux-window.h.
|
private |
Definition at line 133 of file ux-window.h.
|
private |
Definition at line 132 of file ux-window.h.
|
private |
Definition at line 137 of file ux-window.h.
|
private |
Definition at line 119 of file ux-window.h.
|
private |
Definition at line 127 of file ux-window.h.
|
private |
Definition at line 102 of file ux-window.h.
|
private |
Definition at line 97 of file ux-window.h.
|
private |
Definition at line 96 of file ux-window.h.
|
private |
Definition at line 106 of file ux-window.h.
|
private |
Definition at line 105 of file ux-window.h.
|
private |
Definition at line 100 of file ux-window.h.
|
private |
Definition at line 100 of file ux-window.h.
|
private |
Definition at line 121 of file ux-window.h.
|
private |
Definition at line 120 of file ux-window.h.
|
private |
Definition at line 131 of file ux-window.h.
|
private |
Definition at line 95 of file ux-window.h.
|
private |
Definition at line 118 of file ux-window.h.
|
private |
Definition at line 115 of file ux-window.h.
|
private |
Definition at line 139 of file ux-window.h.
|
private |
Definition at line 108 of file ux-window.h.
|
private |
Definition at line 130 of file ux-window.h.
|
private |
Definition at line 117 of file ux-window.h.
|
private |
Definition at line 100 of file ux-window.h.
|
private |
Definition at line 101 of file ux-window.h.
|
private |
Definition at line 128 of file ux-window.h.
|
private |
Definition at line 112 of file ux-window.h.
|
private |
Definition at line 113 of file ux-window.h.
|
private |
Definition at line 95 of file ux-window.h.
|
private |
Definition at line 116 of file ux-window.h.
|
private |
Definition at line 122 of file ux-window.h.
|
private |
Definition at line 103 of file ux-window.h.
|
private |
Definition at line 123 of file ux-window.h.
|
private |
Definition at line 109 of file ux-window.h.
|
private |
Definition at line 110 of file ux-window.h.
|
private |
Definition at line 135 of file ux-window.h.
|
private |
Definition at line 111 of file ux-window.h.
|
private |
Definition at line 125 of file ux-window.h.
|
private |
Definition at line 126 of file ux-window.h.
|
private |
Definition at line 98 of file ux-window.h.
|
private |
Definition at line 124 of file ux-window.h.
|
private |
Definition at line 95 of file ux-window.h.
|
private |
Definition at line 94 of file ux-window.h.
| std::function<void(std::string)> rs2::ux_window::on_file_drop = [](std::string) {} |
Definition at line 35 of file ux-window.h.
| std::function<bool()> rs2::ux_window::on_load = []() { return false; } |
Definition at line 36 of file ux-window.h.
| std::function<void()> rs2::ux_window::on_reload_complete = []() { } |
Definition at line 37 of file ux-window.h.