Adding conditions vanilla theme icons
Update uiconstants.py to include theme icon path for all weather conditions. Moving DCS theme icons. Created Vanilla theme icons Fixes #1062
@ -56,10 +56,18 @@ def load_icons():
|
||||
|
||||
ICONS["Hangar"] = QPixmap("./resources/ui/misc/hangar.png")
|
||||
|
||||
ICONS["Dawn"] = QPixmap("./resources/ui/conditions/timeofday/dawn.png")
|
||||
ICONS["Day"] = QPixmap("./resources/ui/conditions/timeofday/day.png")
|
||||
ICONS["Dusk"] = QPixmap("./resources/ui/conditions/timeofday/dusk.png")
|
||||
ICONS["Night"] = QPixmap("./resources/ui/conditions/timeofday/night.png")
|
||||
ICONS["Dawn"] = QPixmap(
|
||||
"./resources/ui/conditions/" + get_theme_icons() + "/timeofday/dawn.png"
|
||||
)
|
||||
ICONS["Day"] = QPixmap(
|
||||
"./resources/ui/conditions/" + get_theme_icons() + "/timeofday/day.png"
|
||||
)
|
||||
ICONS["Dusk"] = QPixmap(
|
||||
"./resources/ui/conditions/" + get_theme_icons() + "/timeofday/dusk.png"
|
||||
)
|
||||
ICONS["Night"] = QPixmap(
|
||||
"./resources/ui/conditions/" + get_theme_icons() + "/timeofday/night.png"
|
||||
)
|
||||
|
||||
ICONS["Money"] = QPixmap(
|
||||
"./resources/ui/misc/" + get_theme_icons() + "/money_icon.png"
|
||||
@ -109,46 +117,64 @@ def load_icons():
|
||||
"""
|
||||
Weather Icons
|
||||
"""
|
||||
ICONS["Weather_winds"] = QPixmap("./resources/ui/conditions/weather/winds.png")
|
||||
ICONS["Weather_winds"] = QPixmap(
|
||||
"./resources/ui/conditions/" + get_theme_icons() + "/weather/winds.png"
|
||||
)
|
||||
ICONS["Weather_day-clear"] = QPixmap(
|
||||
"./resources/ui/conditions/weather/day-clear.png"
|
||||
"./resources/ui/conditions/" + get_theme_icons() + "/weather/day-clear.png"
|
||||
)
|
||||
ICONS["Weather_day-cloudy-fog"] = QPixmap(
|
||||
"./resources/ui/conditions/weather/day-cloudy-fog.png"
|
||||
"./resources/ui/conditions/" + get_theme_icons() + "/weather/day-cloudy-fog.png"
|
||||
)
|
||||
ICONS["Weather_day-fog"] = QPixmap(
|
||||
"./resources/ui/conditions/" + get_theme_icons() + "/weather/day-fog.png"
|
||||
)
|
||||
ICONS["Weather_day-fog"] = QPixmap("./resources/ui/conditions/weather/day-fog.png")
|
||||
ICONS["Weather_day-partly-cloudy"] = QPixmap(
|
||||
"./resources/ui/conditions/weather/day-partly-cloudy.png"
|
||||
"./resources/ui/conditions/"
|
||||
+ get_theme_icons()
|
||||
+ "/weather/day-partly-cloudy.png"
|
||||
)
|
||||
ICONS["Weather_day-rain"] = QPixmap(
|
||||
"./resources/ui/conditions/weather/day-rain.png"
|
||||
"./resources/ui/conditions/" + get_theme_icons() + "/weather/day-rain.png"
|
||||
)
|
||||
ICONS["Weather_day-thunderstorm"] = QPixmap(
|
||||
"./resources/ui/conditions/weather/day-thunderstorm.png"
|
||||
"./resources/ui/conditions/"
|
||||
+ get_theme_icons()
|
||||
+ "/weather/day-thunderstorm.png"
|
||||
)
|
||||
ICONS["Weather_day-totally-cloud"] = QPixmap(
|
||||
"./resources/ui/conditions/weather/day-totally-cloud.png"
|
||||
"./resources/ui/conditions/"
|
||||
+ get_theme_icons()
|
||||
+ "/weather/day-totally-cloud.png"
|
||||
)
|
||||
ICONS["Weather_night-clear"] = QPixmap(
|
||||
"./resources/ui/conditions/weather/night-clear.png"
|
||||
"./resources/ui/conditions/" + get_theme_icons() + "/weather/night-clear.png"
|
||||
)
|
||||
ICONS["Weather_night-cloudy-fog"] = QPixmap(
|
||||
"./resources/ui/conditions/weather/night-cloudy-fog.png"
|
||||
"./resources/ui/conditions/"
|
||||
+ get_theme_icons()
|
||||
+ "/weather/night-cloudy-fog.png"
|
||||
)
|
||||
ICONS["Weather_night-fog"] = QPixmap(
|
||||
"./resources/ui/conditions/weather/night-fog.png"
|
||||
"./resources/ui/conditions/" + get_theme_icons() + "/weather/night-fog.png"
|
||||
)
|
||||
ICONS["Weather_night-partly-cloudy"] = QPixmap(
|
||||
"./resources/ui/conditions/weather/night-partly-cloudy.png"
|
||||
"./resources/ui/conditions/"
|
||||
+ get_theme_icons()
|
||||
+ "/weather/night-partly-cloudy.png"
|
||||
)
|
||||
ICONS["Weather_night-rain"] = QPixmap(
|
||||
"./resources/ui/conditions/weather/night-rain.png"
|
||||
"./resources/ui/conditions/" + get_theme_icons() + "/weather/night-rain.png"
|
||||
)
|
||||
ICONS["Weather_night-thunderstorm"] = QPixmap(
|
||||
"./resources/ui/conditions/weather/night-thunderstorm.png"
|
||||
"./resources/ui/conditions/"
|
||||
+ get_theme_icons()
|
||||
+ "/weather/night-thunderstorm.png"
|
||||
)
|
||||
ICONS["Weather_night-totally-cloud"] = QPixmap(
|
||||
"./resources/ui/conditions/weather/night-totally-cloud.png"
|
||||
"./resources/ui/conditions/"
|
||||
+ get_theme_icons()
|
||||
+ "/weather/night-totally-cloud.png"
|
||||
)
|
||||
|
||||
ICONS["heading"] = QPixmap("./resources/ui/misc/heading.png")
|
||||
|
||||
|
Before Width: | Height: | Size: 692 B After Width: | Height: | Size: 692 B |
|
Before Width: | Height: | Size: 634 B After Width: | Height: | Size: 634 B |
|
Before Width: | Height: | Size: 671 B After Width: | Height: | Size: 671 B |
|
Before Width: | Height: | Size: 482 B After Width: | Height: | Size: 482 B |
|
Before Width: | Height: | Size: 634 B After Width: | Height: | Size: 634 B |
|
Before Width: | Height: | Size: 345 B After Width: | Height: | Size: 345 B |
|
Before Width: | Height: | Size: 484 B After Width: | Height: | Size: 484 B |
|
Before Width: | Height: | Size: 470 B After Width: | Height: | Size: 470 B |
|
Before Width: | Height: | Size: 567 B After Width: | Height: | Size: 567 B |
|
Before Width: | Height: | Size: 584 B After Width: | Height: | Size: 584 B |
|
Before Width: | Height: | Size: 332 B After Width: | Height: | Size: 332 B |
|
Before Width: | Height: | Size: 320 B After Width: | Height: | Size: 320 B |
|
Before Width: | Height: | Size: 345 B After Width: | Height: | Size: 345 B |
|
Before Width: | Height: | Size: 437 B After Width: | Height: | Size: 437 B |
|
Before Width: | Height: | Size: 405 B After Width: | Height: | Size: 405 B |
|
Before Width: | Height: | Size: 496 B After Width: | Height: | Size: 496 B |
|
Before Width: | Height: | Size: 481 B After Width: | Height: | Size: 481 B |
|
Before Width: | Height: | Size: 332 B After Width: | Height: | Size: 332 B |
|
Before Width: | Height: | Size: 276 B After Width: | Height: | Size: 276 B |
BIN
resources/ui/conditions/medium/timeofday/dawn.png
Normal file
|
After Width: | Height: | Size: 727 B |
BIN
resources/ui/conditions/medium/timeofday/day.png
Normal file
|
After Width: | Height: | Size: 699 B |
BIN
resources/ui/conditions/medium/timeofday/dusk.png
Normal file
|
After Width: | Height: | Size: 718 B |
BIN
resources/ui/conditions/medium/timeofday/night.png
Normal file
|
After Width: | Height: | Size: 517 B |
BIN
resources/ui/conditions/medium/weather/day-clear.png
Normal file
|
After Width: | Height: | Size: 699 B |
BIN
resources/ui/conditions/medium/weather/day-cloudy-fog.png
Normal file
|
After Width: | Height: | Size: 441 B |
BIN
resources/ui/conditions/medium/weather/day-fog.png
Normal file
|
After Width: | Height: | Size: 617 B |
BIN
resources/ui/conditions/medium/weather/day-partly-cloudy.png
Normal file
|
After Width: | Height: | Size: 617 B |
BIN
resources/ui/conditions/medium/weather/day-rain.png
Normal file
|
After Width: | Height: | Size: 759 B |
BIN
resources/ui/conditions/medium/weather/day-thunderstorm.png
Normal file
|
After Width: | Height: | Size: 784 B |
BIN
resources/ui/conditions/medium/weather/day-totally-cloud.png
Normal file
|
After Width: | Height: | Size: 439 B |
BIN
resources/ui/conditions/medium/weather/night-clear.png
Normal file
|
After Width: | Height: | Size: 430 B |
BIN
resources/ui/conditions/medium/weather/night-cloudy-fog.png
Normal file
|
After Width: | Height: | Size: 441 B |
BIN
resources/ui/conditions/medium/weather/night-fog.png
Normal file
|
After Width: | Height: | Size: 517 B |
BIN
resources/ui/conditions/medium/weather/night-partly-cloudy.png
Normal file
|
After Width: | Height: | Size: 506 B |
BIN
resources/ui/conditions/medium/weather/night-rain.png
Normal file
|
After Width: | Height: | Size: 671 B |
BIN
resources/ui/conditions/medium/weather/night-thundersotrm.png
Normal file
|
After Width: | Height: | Size: 677 B |
BIN
resources/ui/conditions/medium/weather/night-totally-cloud.png
Normal file
|
After Width: | Height: | Size: 439 B |
BIN
resources/ui/conditions/medium/weather/winds.png
Normal file
|
After Width: | Height: | Size: 339 B |