neoGFX
Cross-platform C++ app/game engine
Loading...
Searching...
No Matches
i_push_button.hpp
Go to the documentation of this file.
1
// i_push_button.hpp
2
/*
3
neogfx C++ App/Game Engine
4
Copyright (c) 2018, 2020 Leigh Johnston. All Rights Reserved.
5
6
This program is free software: you can redistribute it and / or modify
7
it under the terms of the GNU General Public License as published by
8
the Free Software Foundation, either version 3 of the License, or
9
(at your option) any later version.
10
11
This program is distributed in the hope that it will be useful,
12
but WITHOUT ANY WARRANTY; without even the implied warranty of
13
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14
GNU General Public License for more details.
15
16
You should have received a copy of the GNU General Public License
17
along with this program. If not, see <http://www.gnu.org/licenses/>.
18
*/
19
20
#pragma once
21
22
#include <
neogfx/neogfx.hpp
>
23
#include <
neogfx/gui/widget/i_widget.hpp
>
24
#include <
neogfx/gui/widget/i_button.hpp
>
25
26
namespace
neogfx
27
{
28
enum class
push_button_style
29
{
30
Normal
,
31
ButtonBox
,
32
ItemViewHeader
,
33
Tab
,
34
DropList
,
35
SpinBox
,
36
TitleBar
,
37
Toolbar
38
};
39
40
class
i_push_button
:
public
i_button
41
{
42
public
:
43
virtual
push_button_style
style
()
const
= 0;
44
};
45
}
neogfx::i_push_button
Definition
i_push_button.hpp:41
neogfx::i_push_button::style
virtual push_button_style style() const =0
i_button.hpp
i_widget.hpp
neogfx
Definition
action.hpp:28
neogfx::font_role::Toolbar
@ Toolbar
neogfx::standard_layout::ButtonBox
@ ButtonBox
neogfx::standard_layout::TitleBar
@ TitleBar
neogfx::push_button_style
push_button_style
Definition
i_push_button.hpp:29
neogfx::push_button_style::ItemViewHeader
@ ItemViewHeader
neogfx::push_button_style::Tab
@ Tab
neogfx::object_type::DropList
@ DropList
neogfx::object_type::SpinBox
@ SpinBox
neogfx::texture_sampling::Normal
@ Normal
neogfx.hpp
include
neogfx
gui
widget
i_push_button.hpp
Generated by
1.9.8