mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-22 22:24:01 -06:00
NEW:add statistics of all plates in preview
Change-Id: Ia93ca5a31d07ae5d52a37bb7b6fb0e3b26cfd012
This commit is contained in:
parent
b731ac8db8
commit
6114a415cf
11 changed files with 466 additions and 33 deletions
|
@ -27,10 +27,11 @@ public:
|
|||
|
||||
bool selected{ false };
|
||||
float percent;
|
||||
ImTextureID texture_id { 0 };
|
||||
GLTexture image_texture;
|
||||
GLTexture image_texture_transparent;
|
||||
SliceState slice_state;
|
||||
|
||||
ImTextureID texture_id { 0 };
|
||||
std::vector<unsigned char> image_data;
|
||||
unsigned int image_width;
|
||||
unsigned int image_height;
|
||||
|
@ -47,6 +48,7 @@ public:
|
|||
float icon_width;
|
||||
float icon_height;
|
||||
bool is_display_scrollbar;
|
||||
bool show_stats_item{ false };
|
||||
|
||||
IMToolbar() {
|
||||
icon_width = DEFAULT_TOOLBAR_BUTTON_WIDTH;
|
||||
|
@ -54,7 +56,9 @@ public:
|
|||
}
|
||||
|
||||
void del_all_item();
|
||||
void del_stats_item();
|
||||
|
||||
IMToolbarItem* m_all_plates_stats_item = nullptr;
|
||||
std::vector<IMToolbarItem*> m_items;
|
||||
float fontScale;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue