blob: 4ddea7306b4d7f7b5c16460613eebe479fecd81d (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
#pragma once
#include "../helper/ClickDetector.h"
#include "cru/base/Event.h"
namespace cru::ui::controls {
struct CRU_UI_API IClickableControl : virtual Interface {
virtual helper::ClickState GetClickState() = 0;
virtual IEvent<helper::ClickState>* ClickStateChangeEvent() = 0;
};
} // namespace cru::ui::controls
|