mirror of
https://git.mirrors.martin98.com/https://github.com/slic3r/Slic3r.git
synced 2025-08-04 16:10:40 +08:00
Added preset type enumeration
This commit is contained in:
parent
de64891100
commit
69d47082f4
@ -36,6 +36,14 @@ enum class UndoCmd {
|
||||
Remove, Add, Reset, Increase, Decrease, Rotate
|
||||
};
|
||||
|
||||
/// Preset tab list
|
||||
enum class preset_t : uint8_t {
|
||||
Print = 0, Material, Printer,
|
||||
Last // This MUST be the last enumeration. Don't use it for anything.
|
||||
};
|
||||
/// Convenience counter to determine how many preset tabs exist.
|
||||
constexpr size_t preset_count = static_cast<uint8_t>(preset_t::Last);
|
||||
|
||||
enum class Zoom {
|
||||
In, Out
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user