3 #define GLFW_INCLUDE_GLU 35 std::function<void(std::string)> on_file_drop = [](
std::string) {};
36 std::function<bool()> on_load = []() {
return false; };
37 std::function<void()> on_reload_complete = []() { };
41 float width()
const {
return float(_width); }
42 float height()
const {
return float(_height); }
56 void begin_viewport();
91 void imgui_config_push();
92 void imgui_config_pop();
115 bool _hovers_any_input_window =
false;
116 bool _query_devices =
true;
117 bool _missing_device =
false;
118 int _hourglass_index = 0;
120 bool _fullscreen_pressed =
false;
121 bool _fullscreen =
false;
122 bool _reload =
false;
123 bool _show_fps =
false;
125 bool _use_glsl_proc =
false;
126 bool _use_glsl_render =
false;
127 bool _enable_msaa =
false;
128 int _msaa_samples = 0;
130 bool _link_hovered =
false;
132 bool _cross_hovered =
false;
139 bool _is_ui_aligned =
false;
static const auto imgui_flags
std::string _error_message
The header of the GLFW 3 API.
static const int metrics_panel_width
ImFont * get_monofont() const
std::mutex _on_load_message_mtx
static const int control_panel_width
GLsizei const GLchar *const * string
std::shared_ptr< visualizer_2d > _2d_vis
ImFont * get_font() const
static const textual_icon refresh
float framebuf_width() const
std::vector< std::string > _on_load_message
static const int control_panel_height
bool get_hovered_over_input() const
std::atomic< bool > _keep_alive
float framebuf_height() const
std::string _dev_stat_message
void set_hovered_over_input()
texture_buffer & get_splash()
ImFont * get_large_font() const
float get_scale_factor() const
std::atomic< bool > _app_ready
texture_buffer _splash_tex
struct GLFWwindow GLFWwindow
static const int default_log_h
utilities::time::stopwatch _splash_timer
rs2::mouse_info & get_mouse()