Blender V5.0
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
11struct GSet;
12struct UndoStack;
13struct wmMsgBus;
14struct wmKeyConfig;
15struct wmWindow;
16#ifdef WITH_INPUT_IME
17struct wmIMEData;
18#endif
19
20#include "BKE_report.hh"
21
23
24namespace blender::bke {
25
35 wmWindow *winactive = nullptr;
36
38 bool is_interface_locked = false;
39
42
49 ListBase notifier_queue = {nullptr, 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
82
85
88
91
93
96};
97
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;
113};
114
115} // namespace blender::bke
struct GSet GSet
Definition BLI_ghash.h:337