From 69d47082f4ed5bda76de9e2c7ccd7fa4e3fa7399 Mon Sep 17 00:00:00 2001 From: Joseph Lenox Date: Thu, 17 May 2018 22:00:59 -0500 Subject: [PATCH] Added preset type enumeration --- src/GUI/Plater.hpp | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/GUI/Plater.hpp b/src/GUI/Plater.hpp index 288764702..8f52ce239 100644 --- a/src/GUI/Plater.hpp +++ b/src/GUI/Plater.hpp @@ -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(preset_t::Last); + enum class Zoom { In, Out };