Icon setup

This commit is contained in:
Matt Soucy 2023-01-13 19:17:22 -05:00
parent 2aa09e4fe9
commit 4debce853b
Signed by: msoucy
GPG Key ID: 7996734FB2370F0C

View File

@ -1,12 +1,22 @@
require 'squib' require 'squib'
require 'game_icons' require 'game_icons'
AUDIENCE = GameIcons.get('delapouite/person'). module Icons
recolor(fg: 'black', bg: 'white', fg_opacity: 1.0, bg_opacity: 0.0).
string def self.getIcon(name, color = 'black')
MUSIC = GameIcons.get('delapouite/musical-score'). return GameIcons.get(name).
recolor(fg: 'black', bg: 'white', fg_opacity: 1.0, bg_opacity: 0.0). recolor(fg: color, bg: 'white', fg_opacity: 1.0, bg_opacity: 0.0).
string string
end
AUDIENCE = getIcon 'delapouite/person'
MUSIC = getIcon 'delapouite/musical-score'
LOVE = getIcon 'skoll/hearts'
ANGER = getIcon 'skoll/fist'
JOY = getIcon 'lorc/delighted'
SAD = getIcon 'lorc/tear-tracks'
end
VOLUMES = { VOLUMES = {
"ppp" => 1, "ppp" => 1,