FIX:gcode viewer color arrangement recommendation

1.Limit of four filaments per row

2.Fix incorrect data

3.Add filament id display

4.Optimised layout

Change-Id: I9ac3701c99597a5ed243dac0e3e371cf9aca4066
(cherry picked from commit 3321277f86dfeb9de80b40c320e20dd5f33eab51)
This commit is contained in:
Mack
2024-07-08 16:01:19 +08:00
committed by Noisyfox
parent c376677537
commit d7029d383f
4 changed files with 48 additions and 22 deletions

View File

@@ -155,8 +155,8 @@ public:
void text_wrapped(const wxString &label, float wrap_width);
void tooltip(const char *label, float wrap_width);
void tooltip(const wxString &label, float wrap_width);
void filament_group(const std::string &filament_type, const char *hex_color);
void sub_title(const std::string &label);
void filament_group(const std::string &filament_type, const char *hex_color, unsigned char filament_id);
void sub_title(const std::string &label);
// Float sliders: Manually inserted values aren't clamped by ImGui.Using this wrapper function does (when clamp==true).