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
6class WndOptions :public Window{
7private:
8 static const int WIDTH = 120;
9 static const int MARGIN = 2;
10 static const int BUTTON_HEIGHT = 20;
11
12public:
13 WndOptions(const std::string& title, const std::string& message, const std::vector<std::string>& options);
14
15public:
16 virtual void onSelect(int index) {};
17};
Window()
Definition window.cpp:47
WndOptions(const std::string &title, const std::string &message, const std::vector< std::string > &options)
Definition wndoptions.cpp:30
virtual void onSelect(int index)
Definition wndoptions.h:16