aboutsummaryrefslogtreecommitdiff
path: root/include/cru/ui/controls/ICheckableControl.h
blob: b58a3f8ce84682b980910f2d792686a431a461b4 (plain)
1
2
3
4
5
6
7
8
9
10
11
#pragma once
#include "../Base.h"
#include "cru/base/Event.h"

namespace cru::ui::controls {
struct CRU_UI_API ICheckableControl : virtual Interface {
  virtual bool IsChecked() = 0;
  virtual void SetChecked(bool checked) = 0;
  virtual IEvent<bool>* CheckedChangeEvent() = 0;
};
}  // namespace cru::ui::controls