22 lines
318 B
C++
22 lines
318 B
C++
#pragma once
|
|
#include <string>
|
|
#include <vector>
|
|
|
|
enum class WindowAction {
|
|
EXIT = 1,
|
|
FILE = 2,
|
|
HELP = 3,
|
|
};
|
|
|
|
struct Window {
|
|
int id;
|
|
int x;
|
|
int y;
|
|
int width;
|
|
int height;
|
|
int background_color;
|
|
int foreground_color;
|
|
bool focused;
|
|
std::string title;
|
|
std::vector<WindowAction> window_actions;
|
|
}; |