mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-11 00:37:51 -06:00
Added code to colorized of axes names in manipulation panel (temporarily commented)
Related to (#3053)
This commit is contained in:
parent
70ef0f25ef
commit
db6c501b4d
1 changed files with 2 additions and 0 deletions
|
@ -243,11 +243,13 @@ ObjectManipulation::ObjectManipulation(wxWindow* parent) :
|
||||||
|
|
||||||
// Add Axes labels with icons
|
// Add Axes labels with icons
|
||||||
static const char axes[] = { 'X', 'Y', 'Z' };
|
static const char axes[] = { 'X', 'Y', 'Z' };
|
||||||
|
// std::vector<wxString> axes_color = {"#990000", "#009900","#000099"};
|
||||||
for (size_t axis_idx = 0; axis_idx < sizeof(axes); axis_idx++) {
|
for (size_t axis_idx = 0; axis_idx < sizeof(axes); axis_idx++) {
|
||||||
const char label = axes[axis_idx];
|
const char label = axes[axis_idx];
|
||||||
|
|
||||||
wxStaticText* axis_name = new wxStaticText(m_parent, wxID_ANY, wxString(label));
|
wxStaticText* axis_name = new wxStaticText(m_parent, wxID_ANY, wxString(label));
|
||||||
set_font_and_background_style(axis_name, wxGetApp().bold_font());
|
set_font_and_background_style(axis_name, wxGetApp().bold_font());
|
||||||
|
// axis_name->SetForegroundColour(wxColour(axes_color[axis_idx]));
|
||||||
|
|
||||||
sizer = new wxBoxSizer(wxHORIZONTAL);
|
sizer = new wxBoxSizer(wxHORIZONTAL);
|
||||||
// Under OSX we use font, smaller than default font, so
|
// Under OSX we use font, smaller than default font, so
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue