MGL(Win32)
読み取り中…
検索中…
一致する文字列を見つけられません
include
mgl
ui
mgl_ui_event_delegate.h
[詳解]
1
// SPDX-License-Identifier: Zlib
2
/* ------------------------------------------------------------------------- */
9
/* ------------------------------------------------------------------------- */
10
11
#ifndef INCGUARD_MGL_UI_EVENT_DELEGATE_H_1688789641
12
#define INCGUARD_MGL_UI_EVENT_DELEGATE_H_1688789641
13
14
#include <
mgl/stl/mgl_stl_containers.h
>
15
#include <
mgl/ui/mgl_ui_event_defs.h
>
16
17
namespace
MGL::UI
18
{
19
class
EventDelegate
20
{
21
public
:
22
virtual
~EventDelegate
()
noexcept
=
default
;
23
24
/* ------------------------------------------------------------------------- */
31
/* ------------------------------------------------------------------------- */
32
virtual
EventResult
OnUpdateUIEvent
(
const
MGL::STL::vector<EventTarget>
&targets, EventID currentFocusID)
noexcept
= 0;
33
};
34
}
// namespace MGL::UI
35
36
#endif
// INCGUARD_MGL_UI_EVENT_DELEGATE_H_1688789641
37
38
// vim: et ts=4 sw=4 sts=4
MGL::UI::EventDelegate
Definition
mgl_ui_event_delegate.h:20
MGL::UI::EventDelegate::OnUpdateUIEvent
virtual EventResult OnUpdateUIEvent(const MGL::STL::vector< EventTarget > &targets, EventID currentFocusID) noexcept=0
UIイベントの更新処理
mgl_stl_containers.h
MGL STLコンテナの代替
MGL::STL::vector
std::vector< T, Allocator< T > > vector
std::vectorの代替
Definition
mgl_stl_containers.h:51
mgl_ui_event_defs.h
MGL UIイベント関連定義
MGL::UI::EventResult
イベント結果
Definition
mgl_ui_event_defs.h:58
構築:
1.12.0