mirror of
https://github.com/mt-mods/mail.git
synced 2025-07-07 15:10:37 -04:00
Add colors utilities
Local function get_base_color(), conversions hex <=> rgb, rgb color mixer, and global function get_color()
This commit is contained in:
parent
2111db2ff9
commit
0b3497eb2f
15 changed files with 80 additions and 39 deletions
|
@ -21,7 +21,7 @@ function mail.show_drafts(name)
|
|||
button_exit[6,9.5;2.5,0.5;quit;]] .. S("Close") .. [[]
|
||||
|
||||
tablecolumns[color;text;text]
|
||||
table[0,0.7;5.75,9.35;drafts;]] .. mail.colors.header .. "," .. S("To") .. "," .. S("Subject")
|
||||
table[0,0.7;5.75,9.35;drafts;]] .. mail.get_color("h") .. "," .. S("To") .. "," .. S("Subject")
|
||||
|
||||
local formspec = { drafts_formspec }
|
||||
local entry = mail.get_storage_entry(name)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue