FreeRDP
Loading...
Searching...
No Matches
SDL3/dialogs/sdl_button.hpp
1
#pragma once
2
3
#include <string>
4
#include <memory>
5
6
#include "sdl_selectable_widget.hpp"
7
8
class
SdlButton
:
public
SdlSelectableWidget
9
{
10
public
:
11
SdlButton
(std::shared_ptr<SDL_Renderer>& renderer,
const
std::string& label,
int
id
,
12
const
SDL_FRect& rect);
13
SdlButton
(
SdlButton
&& other)
noexcept
;
14
SdlButton
(
const
SdlButton
& other) =
delete
;
15
~SdlButton
()
override
;
16
17
SdlButton
& operator=(
const
SdlButton
& other) =
delete
;
18
SdlButton
& operator=(
SdlButton
&& other) =
delete
;
19
20
[[nodiscard]]
int
id()
const
;
21
22
private
:
23
int
_id;
24
};
SdlButton
Definition
SDL2/dialogs/sdl_button.hpp:8
SdlSelectableWidget
Definition
sdl_selectable_widget.hpp:25
client
SDL
SDL3
dialogs
sdl_button.hpp
Generated by
1.9.8