mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-09-01 06:21:48 -06:00
Legend texture moved to c++
This commit is contained in:
parent
3fdc5e20a7
commit
bf7b9eb3e7
9 changed files with 129 additions and 52 deletions
|
@ -152,6 +152,7 @@ private:
|
|||
bool m_dirty;
|
||||
bool m_apply_zoom_to_volumes_filter;
|
||||
bool m_warning_texture_enabled;
|
||||
bool m_legend_texture_enabled;
|
||||
|
||||
PerlCallback m_on_viewport_changed_callback;
|
||||
|
||||
|
@ -215,6 +216,7 @@ public:
|
|||
bool is_layers_editing_enabled() const;
|
||||
|
||||
void enable_warning_texture(bool enable);
|
||||
void enable_legend_texture(bool enable);
|
||||
|
||||
void zoom_to_bed();
|
||||
void zoom_to_volumes();
|
||||
|
@ -224,6 +226,7 @@ public:
|
|||
void render_axes();
|
||||
void render_cutting_plane();
|
||||
void render_warning_texture();
|
||||
void render_legend_texture();
|
||||
|
||||
void render_texture(unsigned int tex_id, float left, float right, float bottom, float top);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue