midday-commander
Loading...
Searching...
No Matches
Theme.h
Go to the documentation of this file.
1//
2// Created by Vojtěch Pašek on 20.05.2023.
3//
4
5#ifndef MIDDAY_COMMANDER_THEME_H
6#define MIDDAY_COMMANDER_THEME_H
7
8#include "ncurses.h"
9
10#define COLOR_DEFAULT (-1)
11
15class Theme {
16public:
21 Theme();
22
33 Theme(NCURSES_COLOR_T primary,
34 NCURSES_COLOR_T secondary,
35 NCURSES_COLOR_T background,
36 NCURSES_COLOR_T accent1,
37 NCURSES_COLOR_T accent2,
38 NCURSES_COLOR_T accent3);
39
44 NCURSES_COLOR_T primary;
49 NCURSES_COLOR_T secondary;
54 NCURSES_COLOR_T background;
59 NCURSES_COLOR_T accent1;
64 NCURSES_COLOR_T accent2;
69 NCURSES_COLOR_T accent3;
70
72};
73
74
75#endif //MIDDAY_COMMANDER_THEME_H
Represents a set of colors used by Interface.
Definition: Theme.h:15
static Theme defaultTheme
Definition: Theme.h:71
NCURSES_COLOR_T accent1
File foreground.
Definition: Theme.h:59
NCURSES_COLOR_T primary
Background of cursored-on Entry.
Definition: Theme.h:44
NCURSES_COLOR_T accent3
Symlink foreground.
Definition: Theme.h:69
NCURSES_COLOR_T accent2
Folder foreground.
Definition: Theme.h:64
NCURSES_COLOR_T background
Default background.
Definition: Theme.h:54
Theme()
Constructs a Theme using default colors of the terminal.
Definition: Theme.cpp:14
NCURSES_COLOR_T secondary
Background of selected Entries .
Definition: Theme.h:49