Blender
V5.0
source
blender
blenkernel
BKE_wm_runtime.hh
Go to the documentation of this file.
1
/* SPDX-FileCopyrightText: 2024 Blender Authors
2
*
3
* SPDX-License-Identifier: GPL-2.0-or-later */
4
8
9
#pragma once
10
11
struct
GSet
;
12
struct
UndoStack
;
13
struct
wmMsgBus
;
14
struct
wmKeyConfig
;
15
struct
wmWindow
;
16
#ifdef WITH_INPUT_IME
17
struct
wmIMEData;
18
#endif
19
20
#include "
BKE_report.hh
"
21
22
#include "
DNA_windowmanager_types.h
"
23
24
namespace
blender::bke
{
25
26
struct
WindowManagerRuntime
{
28
wmWindow
*
windrawable
=
nullptr
;
35
wmWindow
*
winactive
=
nullptr
;
36
38
bool
is_interface_locked
=
false
;
39
41
ReportList
reports
;
42
49
ListBase
notifier_queue
= {
nullptr
,
nullptr
};
54
GSet
*
notifier_queue_set
=
nullptr
;
55
57
const
wmNotifier
*
notifier_current
=
nullptr
;
58
60
ListBase
operators
= {
nullptr
,
nullptr
};
61
63
ListBase
paintcursors
= {
nullptr
,
nullptr
};
64
69
ListBase
keyconfigs
= {
nullptr
,
nullptr
};
70
72
ListBase
timers
= {
nullptr
,
nullptr
};
73
75
ListBase
jobs
= {
nullptr
,
nullptr
};
76
78
ListBase
drags
= {
nullptr
,
nullptr
};
79
81
wmKeyConfig
*
defaultconf
=
nullptr
;
82
84
wmKeyConfig
*
addonconf
=
nullptr
;
85
87
wmKeyConfig
*
userconf
=
nullptr
;
88
90
UndoStack
*
undo_stack
=
nullptr
;
91
92
wmMsgBus
*
message_bus
=
nullptr
;
93
94
WindowManagerRuntime
();
95
~WindowManagerRuntime
();
96
};
97
98
struct
WindowRuntime
{
100
ListBase
event_queue
= {
nullptr
,
nullptr
};
101
102
#ifdef WITH_INPUT_IME
107
wmIMEData *ime_data =
nullptr
;
108
bool
ime_data_is_composing =
false
;
109
#endif
110
111
WindowRuntime
() =
default
;
112
~WindowRuntime
();
113
};
114
115
}
// namespace blender::bke
BKE_report.hh
GSet
struct GSet GSet
Definition
BLI_ghash.h:337
DNA_windowmanager_types.h
blender::bke
Definition
AS_asset_library.hh:27
ListBase
Definition
DNA_listBase.h:32
ReportList
Definition
BKE_report.hh:74
UndoStack
Definition
BKE_undo_system.hh:50
blender::bke::WindowManagerRuntime::reports
ReportList reports
Definition
BKE_wm_runtime.hh:41
blender::bke::WindowManagerRuntime::keyconfigs
ListBase keyconfigs
Definition
BKE_wm_runtime.hh:69
blender::bke::WindowManagerRuntime::WindowManagerRuntime
WindowManagerRuntime()
Definition
wm_runtime.cc:22
blender::bke::WindowManagerRuntime::drags
ListBase drags
Definition
BKE_wm_runtime.hh:78
blender::bke::WindowManagerRuntime::userconf
wmKeyConfig * userconf
Definition
BKE_wm_runtime.hh:87
blender::bke::WindowManagerRuntime::timers
ListBase timers
Definition
BKE_wm_runtime.hh:72
blender::bke::WindowManagerRuntime::is_interface_locked
bool is_interface_locked
Definition
BKE_wm_runtime.hh:38
blender::bke::WindowManagerRuntime::windrawable
wmWindow * windrawable
Definition
BKE_wm_runtime.hh:28
blender::bke::WindowManagerRuntime::undo_stack
UndoStack * undo_stack
Definition
BKE_wm_runtime.hh:90
blender::bke::WindowManagerRuntime::notifier_current
const wmNotifier * notifier_current
Definition
BKE_wm_runtime.hh:57
blender::bke::WindowManagerRuntime::addonconf
wmKeyConfig * addonconf
Definition
BKE_wm_runtime.hh:84
blender::bke::WindowManagerRuntime::winactive
wmWindow * winactive
Definition
BKE_wm_runtime.hh:35
blender::bke::WindowManagerRuntime::operators
ListBase operators
Definition
BKE_wm_runtime.hh:60
blender::bke::WindowManagerRuntime::paintcursors
ListBase paintcursors
Definition
BKE_wm_runtime.hh:63
blender::bke::WindowManagerRuntime::notifier_queue_set
GSet * notifier_queue_set
Definition
BKE_wm_runtime.hh:54
blender::bke::WindowManagerRuntime::jobs
ListBase jobs
Definition
BKE_wm_runtime.hh:75
blender::bke::WindowManagerRuntime::message_bus
wmMsgBus * message_bus
Definition
BKE_wm_runtime.hh:92
blender::bke::WindowManagerRuntime::defaultconf
wmKeyConfig * defaultconf
Definition
BKE_wm_runtime.hh:81
blender::bke::WindowManagerRuntime::notifier_queue
ListBase notifier_queue
Definition
BKE_wm_runtime.hh:49
blender::bke::WindowManagerRuntime::~WindowManagerRuntime
~WindowManagerRuntime()
Definition
wm_runtime.cc:27
blender::bke::WindowRuntime::~WindowRuntime
~WindowRuntime()
Definition
wm_runtime.cc:65
blender::bke::WindowRuntime::event_queue
ListBase event_queue
Definition
BKE_wm_runtime.hh:100
blender::bke::WindowRuntime::WindowRuntime
WindowRuntime()=default
wmKeyConfig
Definition
DNA_windowmanager_types.h:507
wmMsgBus
Definition
wm_message_bus_intern.hh:15
wmNotifier
Definition
WM_types.hh:353
wmWindow
Definition
DNA_windowmanager_types.h:164
Generated on
for Blender by
doxygen
1.16.1