aboutsummaryrefslogtreecommitdiff
path: root/include/cru/ui/controls/Base.hpp
blob: b550601b8d7220d4fe97d3756e88bf4c482f03c6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#pragma once
#include "../Base.hpp"

namespace cru::ui::controls {
using ButtonStateStyle = BorderStyle;

struct ButtonStyle {
  // corresponds to ClickState::None
  ButtonStateStyle normal;
  // corresponds to ClickState::Hover
  ButtonStateStyle hover;
  // corresponds to ClickState::Press
  ButtonStateStyle press;
  // corresponds to ClickState::PressInactive
  ButtonStateStyle press_cancel;
};

struct TextBoxBorderStyle {
  BorderStyle normal;
  BorderStyle hover;
  BorderStyle focus;
  BorderStyle focus_hover;
};
}  // namespace cru::ui::controls