aboutsummaryrefslogtreecommitdiff
path: root/include/cru/ui/style/Styler.hpp
blob: 8973103311896a7fb54309f4293f17c3ba89cb8d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#pragma once
#include "../Base.hpp"
#include "ApplyBorderStyleInfo.hpp"
#include "cru/common/Base.hpp"

namespace cru::ui::style {
class Styler : public Object {
 public:
  virtual void Apply(controls::Control* control) const;
};

class BorderStyler : public Styler {
 public:
  explicit BorderStyler(ApplyBorderStyleInfo style);

  void Apply(controls::Control* control) const override;

 private:
  ApplyBorderStyleInfo style_;
};
}  // namespace cru::ui::style