HikoGUI
A low latency retained GUI
Loading...
Searching...
No Matches
src
TTauri
Widgets
WindowWidget.hpp
1
// Copyright 2019 Pokitec
2
// All rights reserved.
3
4
#pragma once
5
6
#include "TTauri/Widgets/Widget.hpp"
7
#include "TTauri/Cells/Label.hpp"
8
9
namespace
tt {
10
11
class
ToolbarWidget;
12
13
class
WindowWidget
:
public
Widget
{
14
Label
title;
15
16
public
:
17
ToolbarWidget
*toolbar =
nullptr
;
18
19
WindowWidget
(
Window
&window,
Label
title)
noexcept
;
20
21
WindowWidget
(
const
WindowWidget
&) =
delete
;
22
WindowWidget
&operator=(
const
WindowWidget
&) =
delete
;
23
WindowWidget
(
WindowWidget
&&) =
delete
;
24
WindowWidget
&operator=(
WindowWidget
&&) =
delete
;
25
26
[[nodiscard]]
HitBox
hitBoxTest
(
vec
position)
const
noexcept
override
;
27
};
28
29
}
tt::Label
Definition
Label.hpp:12
tt::vec
A 4D vector.
Definition
vec.hpp:37
tt::HitBox
Definition
HitBox.hpp:12
tt::Window_vulkan_win32
Definition
Window_vulkan_win32.hpp:15
tt::ToolbarWidget
Definition
ToolbarWidget.hpp:11
tt::Widget
Definition
Widget.hpp:64
tt::WindowWidget
Definition
WindowWidget.hpp:13
tt::WindowWidget::hitBoxTest
HitBox hitBoxTest(vec position) const noexcept override
Find the widget that is under the mouse cursor.
Generated on Mon Apr 22 2024 12:53:56 for HikoGUI by
1.10.0