diff options
author | Enrico Turri <enricoturri@seznam.cz> | 2019-02-26 14:56:13 +0300 |
---|---|---|
committer | Enrico Turri <enricoturri@seznam.cz> | 2019-02-26 14:56:13 +0300 |
commit | a8610f990eb47eadbf67fc7ae2381ff32a18a213 (patch) | |
tree | 0be65f8ea69c6fc8ff2a1f2df8528f18c2ad2f8d /src/slic3r/GUI/GLToolbar.hpp | |
parent | 987a83bb0c3f172dd349f8443695fa24d8195eb0 (diff) |
Automatic generation of variants of icons for toolbars and gizmos
Diffstat (limited to 'src/slic3r/GUI/GLToolbar.hpp')
-rw-r--r-- | src/slic3r/GUI/GLToolbar.hpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/slic3r/GUI/GLToolbar.hpp b/src/slic3r/GUI/GLToolbar.hpp index 30a9ff04d..e14f7b3bb 100644 --- a/src/slic3r/GUI/GLToolbar.hpp +++ b/src/slic3r/GUI/GLToolbar.hpp @@ -203,6 +203,9 @@ private: typedef std::vector<GLToolbarItem*> ItemsList; EType m_type; +#if ENABLE_SVG_ICONS + std::string m_name; +#endif // ENABLE_SVG_ICONS bool m_enabled; #if ENABLE_SVG_ICONS mutable GLTexture m_icons_texture; @@ -216,7 +219,11 @@ private: ItemsList m_items; public: +#if ENABLE_SVG_ICONS + GLToolbar(EType type, const std::string& name); +#else explicit GLToolbar(EType type); +#endif // ENABLE_SVG_ICONS ~GLToolbar(); #if ENABLE_SVG_ICONS |