mirror of
https://github.com/lihop/godot-xterm.git
synced 2025-07-04 04:55:30 +02:00
feat(theme)!: set a default theme
Adds 'Terminal' type to the default theme. Sets values to those similar to CodeEdit and TextEdit. Colors default to Xterm defaults.
This commit is contained in:
parent
e732712b55
commit
4bd25bb92c
6 changed files with 108 additions and 14 deletions
|
@ -15,6 +15,8 @@ const char* Terminal::COLOR_NAMES[18] = {
|
|||
"foreground_color", "background_color",
|
||||
};
|
||||
|
||||
// These match the font names of RichTextLabel: https://docs.godotengine.org/en/4.2/classes/class_richtextlabel.html.
|
||||
// They are all expected to be monospace fonts.
|
||||
const char* Terminal::FONT_TYPES[4] = {
|
||||
"normal_font", "bold_font", "italics_font", "bold_italics_font",
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue