diff options
author | crupest <crupest@outlook.com> | 2020-12-09 18:21:56 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2020-12-09 18:21:56 +0800 |
commit | 553e82e2ad839c93ada1bf1721483a457e2eacda (patch) | |
tree | ee0d8d218c4bcf723ce1233bacf7c1dde0032141 | |
parent | 9fcebe16b5ad4acc8b2e206dbe163e58b1f75cdf (diff) | |
download | cru-553e82e2ad839c93ada1bf1721483a457e2eacda.tar.gz cru-553e82e2ad839c93ada1bf1721483a457e2eacda.tar.bz2 cru-553e82e2ad839c93ada1bf1721483a457e2eacda.zip |
...
-rw-r--r-- | include/cru/ui/helper/BorderStyle.hpp | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/include/cru/ui/helper/BorderStyle.hpp b/include/cru/ui/helper/BorderStyle.hpp deleted file mode 100644 index 0ec0d9ee..00000000 --- a/include/cru/ui/helper/BorderStyle.hpp +++ /dev/null @@ -1,23 +0,0 @@ -#pragma once -#include "cru/ui/Base.hpp" - -#include <optional> - -namespace cru::ui::helper { -struct BorderStyleOfClickState { - BorderStyleOfClickState(std::optional<BorderStyle> focus = std::nullopt, - std::optional<BorderStyle> not_focus = std::nullopt) - : focus(std::move(focus)), not_focus(std::move(not_focus)) {} - - std::optional<BorderStyle> focus; - std::optional<BorderStyle> not_focus; -}; - -struct BorderStyleList { - BorderStyle default_one; - std::optional<BorderStyleOfClickState> normal; - std::optional<BorderStyleOfClickState> hover; - std::optional<BorderStyleOfClickState> press; - std::optional<BorderStyleOfClickState> press_inactive; -}; -} // namespace cru::ui::helper |