mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-10-25 17:51:10 -06:00
Warning texture moved to c++
This commit is contained in:
parent
7cff6ef6db
commit
3fdc5e20a7
9 changed files with 230 additions and 76 deletions
|
|
@ -151,6 +151,7 @@ private:
|
|||
|
||||
bool m_dirty;
|
||||
bool m_apply_zoom_to_volumes_filter;
|
||||
bool m_warning_texture_enabled;
|
||||
|
||||
PerlCallback m_on_viewport_changed_callback;
|
||||
|
||||
|
|
@ -213,6 +214,8 @@ public:
|
|||
|
||||
bool is_layers_editing_enabled() const;
|
||||
|
||||
void enable_warning_texture(bool enable);
|
||||
|
||||
void zoom_to_bed();
|
||||
void zoom_to_volumes();
|
||||
void select_view(const std::string& direction);
|
||||
|
|
@ -220,6 +223,9 @@ public:
|
|||
void render_bed();
|
||||
void render_axes();
|
||||
void render_cutting_plane();
|
||||
void render_warning_texture();
|
||||
|
||||
void render_texture(unsigned int tex_id, float left, float right, float bottom, float top);
|
||||
|
||||
void register_on_viewport_changed_callback(void* callback);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue