Represents a set of colors used by Interface.
More...
#include <Theme.h>
Represents a set of colors used by Interface.
◆ Theme() [1/2]
Constructs a Theme using default colors of the terminal.
- Warning
- Only for testing purposes, corsor and selection probably won't be visible
◆ Theme() [2/2]
Theme::Theme |
( |
NCURSES_COLOR_T |
primary, |
|
|
NCURSES_COLOR_T |
secondary, |
|
|
NCURSES_COLOR_T |
background, |
|
|
NCURSES_COLOR_T |
accent1, |
|
|
NCURSES_COLOR_T |
accent2, |
|
|
NCURSES_COLOR_T |
accent3 |
|
) |
| |
Constructs a Theme using provided colors.
- Note
- All colors are represented as ANSI color codes
- Parameters
-
primary | Background of cursored-on Entry |
secondary | Background of selected Entries |
background | Default background |
accent1 | File foreground |
accent2 | Folder foreground |
accent3 | Symlink foreground |
◆ accent1
NCURSES_COLOR_T Theme::accent1 |
File foreground.
- Note
- The color is represented as ANSI color code
◆ accent2
NCURSES_COLOR_T Theme::accent2 |
Folder foreground.
- Note
- The color is represented as ANSI color code
◆ accent3
NCURSES_COLOR_T Theme::accent3 |
Symlink foreground.
- Note
- The color is represented as ANSI color code
◆ background
NCURSES_COLOR_T Theme::background |
Default background.
- Note
- The color is represented as ANSI color code
◆ defaultTheme
Theme Theme::defaultTheme = Theme{240, 235, -1, 7, 3, 5} |
|
static |
◆ primary
NCURSES_COLOR_T Theme::primary |
Background of cursored-on Entry.
- Note
- The color is represented as ANSI color code
◆ secondary
NCURSES_COLOR_T Theme::secondary |
Background of selected Entries .
- Note
- The color is represented as ANSI color code
The documentation for this class was generated from the following files: