10 Commits

Author SHA1 Message Date
O4k
639f4c1700
Allows for new skin config.ini format(s)
The new code checks for a config.ini file in the Skin's folder. Then it checks for a "Font_Paths" section where it replaces the default fonts with the names of the new fonts listed in the Config. You will have to add the desired fonts to the truetype folder within the skin folder and update the config to match the fonts you have added. If you remove the existing fonts in that folder, the launcher will not load if there is a problem with the config file.

Note that the system-wide font name variables do not change, but their referenced file does.

The new Config file would look something like this:
    
    [Font_Paths]
    varela = Roboto-Black
    veramono = Roboto-Regular
    noto = Roboto-Bold
    notocjk = Roboto-Light

    [Colors]
    High = #f0ffff
    Text = #ffffff
    ReadOnlyText = #ffffff
    Front = #614f7d
    URL = #f0ffff
    Line = #614f7d
    TitleBg = #111013
    Active = #ff70ba
    Disabled = #e6e6ff
    White = #111013
    Black = #614f7d
2019-12-21 10:32:14 -08:00
cuu
4f354f28c2 add GiveWallpaper to allow the custom wallpaper from any Theme/skin 2019-07-01 20:30:07 +08:00
cuu
baae2545f1 IconPool 2019-06-13 16:17:51 +08:00
cuu
25a191a4d0 empty fonts.py 2019-04-26 17:33:44 +08:00
cuu
d3b508c3a1 fix fds leak and remove SkinMap 2019-04-26 14:01:36 +08:00
cuu
3c6416f85b replace SkinManager() to MySkinManager 2018-11-30 13:18:21 +08:00
cuu
bacd0b8e72 add control of gsnotify 2018-10-07 22:13:12 +08:00
Adam Shaw
544aafa959 Added remaining UI color changes 2018-08-06 23:35:52 -05:00
Adam Shaw
47570323d8 Added simple global skin manager 2018-08-04 17:34:24 -05:00
cuu
3bfd917ea1 Add SkinManager to all parts 2018-05-31 23:40:11 +08:00