23class CFWL_NoteDriver
final :
public cppgc::GarbageCollected<CFWL_NoteDriver> {
28 void Trace(cppgc::Visitor* visitor)
const;
39 class Target :
public cppgc::GarbageCollected<Target> {
44 void Trace(cppgc::Visitor* visitor)
const;
47 bool IsValid()
const {
return m_bValid; }
48 void Invalidate() { m_bValid =
false; }
52 cppgc::Member<CFWL_Widget>
const m_pListener;
53 std::set<cppgc::Member<CFWL_Widget>> m_widgets;
56 explicit CFWL_NoteDriver(CFWL_App* pApp);
67 cppgc::Member<CFWL_App> m_pApp;
68 cppgc::Member<CFWL_Widget> m_pHover;
69 cppgc::Member<CFWL_Widget> m_pFocus;
70 cppgc::Member<CFWL_Widget> m_pGrab;
71 std::map<uint64_t, cppgc::Member<Target>> m_eventTargets;