Add support to set color transparency from Lua

This commit is contained in:
Daniel Appelt 2025-08-23 21:29:43 +02:00 committed by Robin Gareus
parent d09a972b73
commit 7fa17f50da
No known key found for this signature in database
GPG key ID: A090BCE02CF57F04
3 changed files with 10 additions and 1 deletions

View file

@ -824,6 +824,13 @@ UIConfiguration::set_modifier (string const & name, SVAModifier svam)
ColorsChanged (); /* EMIT SIGNAL */
}
void
UIConfiguration::set_modifier (string const & name, string const & mod_str)
{
SVAModifier svam (mod_str);
set_modifier (name, svam);
}
void
UIConfiguration::load_rc_file (bool themechange, bool allow_own)
{