You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
35 lines
731 B
35 lines
731 B
4 weeks ago
|
using Mindmagma.Curses;
|
||
|
|
||
|
namespace ANSI_Fahrplan;
|
||
|
|
||
|
public class ColorSchemes {
|
||
|
public static void InitAll () {
|
||
|
// Default
|
||
|
NCurses.InitPair (1, CursesColor.YELLOW, CursesColor.BLACK);
|
||
|
|
||
|
// TopMenuNormal
|
||
|
NCurses.InitPair (2, CursesColor.CYAN, CursesColor.BLACK);
|
||
|
|
||
|
// TopMenuActive
|
||
|
NCurses.InitPair (3, CursesColor.RED, CursesColor.BLACK);
|
||
|
|
||
|
// TextInputField
|
||
|
NCurses.InitPair (4, CursesColor.BLACK, CursesColor.WHITE);
|
||
|
}
|
||
|
|
||
|
public static uint Default () {
|
||
|
return NCurses.ColorPair (1);
|
||
|
}
|
||
|
|
||
|
public static uint TopMenuNormal () {
|
||
|
return NCurses.ColorPair (2);
|
||
|
}
|
||
|
|
||
|
public static uint TopMenuActive () {
|
||
|
return NCurses.ColorPair (3);
|
||
|
}
|
||
|
|
||
|
public static uint TextInputField () {
|
||
|
return NCurses.ColorPair (4);
|
||
|
}
|
||
|
}
|