Zappy GUI
C++ graphic client: renderer, camera, network
Loading...
Searching...
No Matches
IWidget.hpp
Go to the documentation of this file.
1
3
4
#pragma once
5
6
#include <optional>
7
8
#include "
SelectionFinder.hpp
"
9
11
class
IWidget
{
12
public
:
13
virtual
~IWidget
() =
default
;
14
17
virtual
void
draw
(
int
scaledFontSize)
const
= 0;
18
21
virtual
bool
handleInput
() = 0;
22
};
SelectionFinder.hpp
IWidget
Interface for GUI widgets.
Definition
IWidget.hpp:11
IWidget::draw
virtual void draw(int scaledFontSize) const =0
Draws the widget.
IWidget::handleInput
virtual bool handleInput()=0
Processes user input.
IWidget::~IWidget
virtual ~IWidget()=default
gui
src
renderer
raylib_helpers
IWidget.hpp
Generated by
1.9.8