mirror of
https://github.com/lihop/godot-xterm.git
synced 2025-05-04 20:24:23 +02:00
Change default theme
Replaces default.tres, default_dark.tres, and default_light.tres, with default.tres and default_light.tres based on Godot's default dark and light editor themes respectively. Closes #44
This commit is contained in:
parent
b08d218a59
commit
7b63079594
4 changed files with 34 additions and 63 deletions
|
@ -58,12 +58,14 @@ func draw_all(_size = Vector2.ZERO):
|
|||
|
||||
|
||||
func draw_title():
|
||||
tput.setaf(Color("#FFECA0"))
|
||||
tput.cup(row, 0)
|
||||
|
||||
for line in TITLE.split("\r"):
|
||||
row += 1
|
||||
tput.cup(row, offset)
|
||||
$Terminal.write(line)
|
||||
tput.sgr0()
|
||||
|
||||
# Get the plugin version from the plugin's config file.
|
||||
var config = ConfigFile.new()
|
||||
|
@ -92,7 +94,7 @@ func draw_menu():
|
|||
tput.cup(row, offset)
|
||||
|
||||
if selected_index == i:
|
||||
tput.setab(Color("#FF7500"))
|
||||
tput.setab(Color("#FF786B"))
|
||||
tput.setaf(Color.black)
|
||||
|
||||
$Terminal.write("%s. %s" % [i + 1, item.name])
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue