My Project
Loading...
Searching...
No Matches
wndoptions.h
Go to the documentation of this file.
1
#pragma once
2
3
#include "
window.h
"
4
#include <string>
5
6
class
WndOptions
:
public
Window
{
7
private
:
8
static
const
int
WIDTH = 120;
9
static
const
int
MARGIN = 2;
10
static
const
int
BUTTON_HEIGHT = 20;
11
12
public
:
13
WndOptions
(
const
std::string& title,
const
std::string& message,
const
std::vector<std::string>& options);
14
15
public
:
16
virtual
void
onSelect
(
int
index) {};
17
};
Window::Window
Window()
Definition
window.cpp:47
WndOptions::WndOptions
WndOptions(const std::string &title, const std::string &message, const std::vector< std::string > &options)
Definition
wndoptions.cpp:30
WndOptions::onSelect
virtual void onSelect(int index)
Definition
wndoptions.h:16
window.h
pd
wndoptions.h
Generated by
1.13.2