diff options
author | YuSanka <yusanka@gmail.com> | 2018-10-19 14:55:29 +0300 |
---|---|---|
committer | YuSanka <yusanka@gmail.com> | 2018-10-22 00:10:36 +0300 |
commit | f47949504e0fa3efd7272dce57d03e8854644a80 (patch) | |
tree | 517cf5aae1c7f61a1e76cb395afc39e43179645d /src/libslic3r/Config.hpp | |
parent | 5d94e6adb8d72102f7af28c0a56fc457f0677afd (diff) |
Prototype of the hiding according to view mode
+ Added mode icon near option's label
+ Fixed segmentation fault on Linux
Diffstat (limited to 'src/libslic3r/Config.hpp')
-rw-r--r-- | src/libslic3r/Config.hpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/libslic3r/Config.hpp b/src/libslic3r/Config.hpp index 281591596..051204f1e 100644 --- a/src/libslic3r/Config.hpp +++ b/src/libslic3r/Config.hpp @@ -61,6 +61,12 @@ enum ConfigOptionType { coEnum = 8, }; +enum ConfigOptionMode { + comSimple, + comMiddle, + comExpert +}; + // A generic value of a configuration option. class ConfigOption { public: @@ -982,6 +988,7 @@ public: // By setting min=0, only nonnegative input is allowed. int min = INT_MIN; int max = INT_MAX; + ConfigOptionMode mode = comSimple; // Legacy names for this configuration option. // Used when parsing legacy configuration file. std::vector<t_config_option_key> aliases; |