IceShard 1
A personal game engine project, with development focused on 2D/2.5D games.
Loading...
Searching...
No Matches
devui_frame.hxx
Go to the documentation of this file.
1
3
4#pragma once
5#include <ice/devui_types.hxx>
6
7namespace ice
8{
9
11 {
12 DevUIWidgetState const* const owner = nullptr;
13 bool active = false;
14 };
15
17 {
18 public:
19 virtual ~DevUIFrame() noexcept = default;
20
21 virtual void mainmenu(ice::DevUIWidget const& widget, ice::DevUIWidgetState& state) noexcept = 0;
22
23 virtual bool begin(ice::DevUIWidget const& widget, ice::DevUIWidgetState& state) noexcept = 0;
24 virtual void end() noexcept = 0;
25 };
26
27} // namespace ice
Definition devui_frame.hxx:17
virtual void end() noexcept=0
virtual void mainmenu(ice::DevUIWidget const &widget, ice::DevUIWidgetState &state) noexcept=0
virtual ~DevUIFrame() noexcept=default
virtual bool begin(ice::DevUIWidget const &widget, ice::DevUIWidgetState &state) noexcept=0
Definition devui_widget.hxx:29
SPDX-License-Identifier: MIT.
Definition array.hxx:12
Definition devui_frame.hxx:11
DevUIWidgetState const *const owner
Definition devui_frame.hxx:12
bool active
Definition devui_frame.hxx:13