Changeset View
Changeset View
Standalone View
Standalone View
binaries/data/mods/mod/gui/common/modern/sprites.xml
Show First 20 Lines • Show All 477 Lines • ▼ Show 20 Lines | <image backcolor="darkgray" | ||||
bordercolor="black" | bordercolor="black" | ||||
/> | /> | ||||
</sprite> | </sprite> | ||||
<!-- | <!-- | ||||
========================================== | ========================================== | ||||
- Misc. - | - Misc. - | ||||
========================================== | ========================================== | ||||
--> | --> | ||||
<sprite name = "ModernWindowCornerBottomRight"> | |||||
elexis: Why is it called corner bottom right if its a background?
Those copies are hurtful, would be… | |||||
Not Done Inline ActionsSince it is only the bottom right corner of the background In theory we could make all 4 the corners as separate sprites and have a sprite merging those and adding the title window, but in practise sprites doesn't allow including another sprite, thus we need to either allow that or make some style merging the sprites already and use that in all current occasions, however calling both out of scope for now. bb: Since it is only the bottom right corner of the background
In theory we could make all 4 the… | |||||
Not Done Inline Actionssad but true elexis: sad but true | |||||
<!-- background --> | |||||
<image backcolor = "12 12 12"/> | |||||
<image texture = "global/modern/background.png" | |||||
texture_size = "0 0 1024 1024" | |||||
size = "0 0 100%-12 100%-12" | |||||
/> | |||||
<!-- shading --> | |||||
<image texture = "global/modern/shadow-high.png" | |||||
texture_size = "0 0 1024 256" | |||||
size = "0 100%-268 100%-12 100%-12" | |||||
/> | |||||
<!-- bottom edge --> | |||||
<image texture = "global/modern/border.png" | |||||
real_texture_placement = "0 0 2048 8" | |||||
size = "0 100%-16 100%-10 100%-8" | |||||
/> | |||||
</sprite> | |||||
<sprite name = "ModernDropDownArrow"> | <sprite name = "ModernDropDownArrow"> | ||||
<image texture = "global/modern/dropdown-arrow.png" | <image texture = "global/modern/dropdown-arrow.png" | ||||
real_texture_placement = "0 0 16 16" | real_texture_placement = "0 0 16 16" | ||||
texture_size="0 0 16 16" | texture_size="0 0 16 16" | ||||
size="0 6 16 22" | size="0 6 16 22" | ||||
/> | /> | ||||
</sprite> | </sprite> | ||||
<sprite name = "ModernDropDownArrowDisabled"> | <sprite name = "ModernDropDownArrowDisabled"> | ||||
▲ Show 20 Lines • Show All 89 Lines • Show Last 20 Lines |
Wildfire Games · Phabricator
Why is it called corner bottom right if its a background?
Those copies are hurtful, would be better to avoid them in some elegant way. For instance splitting the existing sprite into two sprites maybe or reusing the existing sprite somehow. Shouldn't sacrifice essential visual appearance however.