Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/prusa3d/PrusaSlicer.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYuSanka <yusanka@gmail.com>2018-04-24 13:12:15 +0300
committerYuSanka <yusanka@gmail.com>2018-04-24 13:12:15 +0300
commit92b67fb62ea0b0c3019c8ae601ae19970718ddc9 (patch)
tree08b874c06aaaeea15a52ebb441f88e63a660dd83 /xs/src/slic3r/GUI/Tab.hpp
parent1e8d302fd4e4028faa17deecf32bb811dd913bb1 (diff)
Change reset buttons tooltips according to its state
Diffstat (limited to 'xs/src/slic3r/GUI/Tab.hpp')
-rw-r--r--xs/src/slic3r/GUI/Tab.hpp13
1 files changed, 11 insertions, 2 deletions
diff --git a/xs/src/slic3r/GUI/Tab.hpp b/xs/src/slic3r/GUI/Tab.hpp
index eda6727a8..8c6e7f329 100644
--- a/xs/src/slic3r/GUI/Tab.hpp
+++ b/xs/src/slic3r/GUI/Tab.hpp
@@ -118,7 +118,6 @@ protected:
wxButton* m_undo_btn;
wxButton* m_undo_to_sys_btn;
wxButton* m_question_btn;
-// wxStaticText* m_undo_btns_legent;
wxComboCtrl* m_cc_presets_choice;
wxDataViewTreeCtrl* m_presetctrl;
@@ -136,7 +135,7 @@ protected:
wxBitmap *m_bmp_non_system;
// Bitmaps to be shown on the "Undo user changes" button next to each input field.
wxBitmap m_bmp_value_revert;
- wxBitmap m_bmp_value_unmodified;
+// wxBitmap m_bmp_value_unmodified;
wxBitmap m_bmp_question;
// Colors for ui "decoration"
@@ -144,6 +143,16 @@ protected:
wxColour m_modified_label_clr;
wxColour m_default_text_clr;
+ // Text for reset buttons tooltips
+ wxString m_tt_value_lock;
+ wxString m_tt_value_unlock;
+ wxString m_tt_white_bullet_ns;
+ // The following text points to either m_bmp_value_unlock or m_bmp_white_bullet, depending on whether the current preset has a parent preset.
+ wxString *m_tt_non_system;
+ // Bitmaps to be shown on the "Undo user changes" button next to each input field.
+ wxString m_tt_white_bullet;
+ wxString m_tt_value_revert;
+
int m_icon_count;
std::map<std::string, size_t> m_icon_index; // Map from an icon file name to its index
std::vector<PageShp> m_pages;