forked from 0ad/0ad
Add gray, stone-esc modern button type.
This was SVN commit r17403.
This commit is contained in:
parent
71cd4ac3cc
commit
80663a6c8a
BIN
binaries/data/mods/mod/art/textures/ui/global/modern/button/gray-unselected-background.png
(Stored with Git LFS)
Normal file
BIN
binaries/data/mods/mod/art/textures/ui/global/modern/button/gray-unselected-background.png
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
binaries/data/mods/mod/art/textures/ui/global/modern/button/gray-unselected-center-bottom.png
(Stored with Git LFS)
Normal file
BIN
binaries/data/mods/mod/art/textures/ui/global/modern/button/gray-unselected-center-bottom.png
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
binaries/data/mods/mod/art/textures/ui/global/modern/button/gray-unselected-center-top.png
(Stored with Git LFS)
Normal file
BIN
binaries/data/mods/mod/art/textures/ui/global/modern/button/gray-unselected-center-top.png
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
binaries/data/mods/mod/art/textures/ui/global/modern/button/gray-unselected-left-bottom.png
(Stored with Git LFS)
Normal file
BIN
binaries/data/mods/mod/art/textures/ui/global/modern/button/gray-unselected-left-bottom.png
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
binaries/data/mods/mod/art/textures/ui/global/modern/button/gray-unselected-left-center.png
(Stored with Git LFS)
Normal file
BIN
binaries/data/mods/mod/art/textures/ui/global/modern/button/gray-unselected-left-center.png
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
binaries/data/mods/mod/art/textures/ui/global/modern/button/gray-unselected-left-top.png
(Stored with Git LFS)
Normal file
BIN
binaries/data/mods/mod/art/textures/ui/global/modern/button/gray-unselected-left-top.png
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
binaries/data/mods/mod/art/textures/ui/global/modern/button/gray-unselected-right-bottom.png
(Stored with Git LFS)
Normal file
BIN
binaries/data/mods/mod/art/textures/ui/global/modern/button/gray-unselected-right-bottom.png
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
binaries/data/mods/mod/art/textures/ui/global/modern/button/gray-unselected-right-center.png
(Stored with Git LFS)
Normal file
BIN
binaries/data/mods/mod/art/textures/ui/global/modern/button/gray-unselected-right-center.png
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
binaries/data/mods/mod/art/textures/ui/global/modern/button/gray-unselected-right-top.png
(Stored with Git LFS)
Normal file
BIN
binaries/data/mods/mod/art/textures/ui/global/modern/button/gray-unselected-right-top.png
(Stored with Git LFS)
Normal file
Binary file not shown.
@ -555,6 +555,150 @@
|
||||
size="100%-8 100%-8 100% 100%"
|
||||
/>
|
||||
</sprite>
|
||||
<!-- GRAY -->
|
||||
<sprite name="ModernButtonGray">
|
||||
<!-- Background -->
|
||||
<image texture="global/modern/button/gray-unselected-background.png"
|
||||
real_texture_placement="0 0 512 128"
|
||||
texture_size="0 0 512 128"
|
||||
size="2 2 100%-2 100%-2"
|
||||
/>
|
||||
<!-- Left -->
|
||||
<image texture="global/modern/button/gray-unselected-left-top.png"
|
||||
real_texture_placement="0 0 8 8"
|
||||
size="0 0 8 8"
|
||||
/>
|
||||
<image texture="global/modern/button/gray-unselected-left-center.png"
|
||||
real_texture_placement="0 0 8 16"
|
||||
texture_size="0 0 8 16"
|
||||
size="0 8 8 100%-8"
|
||||
/>
|
||||
<image texture="global/modern/button/gray-unselected-left-bottom.png"
|
||||
real_texture_placement="0 0 8 8"
|
||||
size="0 100%-8 8 100%"
|
||||
/>
|
||||
<!-- Center -->
|
||||
<image texture="global/modern/button/gray-unselected-center-top.png"
|
||||
real_texture_placement="0 0 128 8"
|
||||
texture_size="0 0 128 8"
|
||||
size="8 0 100%-8 8"
|
||||
/>
|
||||
<image texture="global/modern/button/gray-unselected-center-bottom.png"
|
||||
real_texture_placement="0 0 128 8"
|
||||
texture_size="0 0 128 8"
|
||||
size="8 100%-8 100%-8 100%"
|
||||
/>
|
||||
<!-- Right -->
|
||||
<image texture="global/modern/button/gray-unselected-right-top.png"
|
||||
real_texture_placement="0 0 8 8"
|
||||
size="100%-8 0 100% 8"
|
||||
/>
|
||||
<image texture="global/modern/button/gray-unselected-right-center.png"
|
||||
real_texture_placement="0 0 8 16"
|
||||
texture_size="0 0 8 16"
|
||||
size="100%-8 8 100% 100%-8"
|
||||
/>
|
||||
<image texture="global/modern/button/gray-unselected-right-bottom.png"
|
||||
real_texture_placement="0 0 8 8"
|
||||
size="100%-8 100%-8 100% 100%"
|
||||
/>
|
||||
</sprite>
|
||||
<sprite name="ModernButtonGrayOver">
|
||||
<!-- Background -->
|
||||
<image texture="global/modern/button/gray-unselected-background.png"
|
||||
real_texture_placement="0 0 512 128"
|
||||
texture_size="0 0 512 128"
|
||||
size="2 2 100%-2 100%-2"
|
||||
>
|
||||
<effect add_color="42 42 42 0"/>
|
||||
</image>
|
||||
<!-- Left -->
|
||||
<image texture="global/modern/button/gray-unselected-left-top.png"
|
||||
real_texture_placement="0 0 8 8"
|
||||
size="0 0 8 8"
|
||||
/>
|
||||
<image texture="global/modern/button/gray-unselected-left-center.png"
|
||||
real_texture_placement="0 0 8 16"
|
||||
texture_size="0 0 8 16"
|
||||
size="0 8 8 100%-8"
|
||||
/>
|
||||
<image texture="global/modern/button/gray-unselected-left-bottom.png"
|
||||
real_texture_placement="0 0 8 8"
|
||||
size="0 100%-8 8 100%"
|
||||
/>
|
||||
<!-- Center -->
|
||||
<image texture="global/modern/button/gray-unselected-center-top.png"
|
||||
real_texture_placement="0 0 128 8"
|
||||
texture_size="0 0 128 8"
|
||||
size="8 0 100%-8 8"
|
||||
/>
|
||||
<image texture="global/modern/button/gray-unselected-center-bottom.png"
|
||||
real_texture_placement="0 0 128 8"
|
||||
texture_size="0 0 128 8"
|
||||
size="8 100%-8 100%-8 100%"
|
||||
/>
|
||||
<!-- Right -->
|
||||
<image texture="global/modern/button/gray-unselected-right-top.png"
|
||||
real_texture_placement="0 0 8 8"
|
||||
size="100%-8 0 100% 8"
|
||||
/>
|
||||
<image texture="global/modern/button/gray-unselected-right-center.png"
|
||||
real_texture_placement="0 0 8 16"
|
||||
texture_size="0 0 8 16"
|
||||
size="100%-8 8 100% 100%-8"
|
||||
/>
|
||||
<image texture="global/modern/button/gray-unselected-right-bottom.png"
|
||||
real_texture_placement="0 0 8 8"
|
||||
size="100%-8 100%-8 100% 100%"
|
||||
/>
|
||||
</sprite>
|
||||
<sprite name="ModernButtonGrayDisabled">
|
||||
<!-- Background -->
|
||||
<image texture="global/modern/button/gray-unselected-background.png"
|
||||
real_texture_placement="0 0 512 128"
|
||||
texture_size="0 0 512 128"
|
||||
size="2 2 100%-2 100%-2"
|
||||
/>
|
||||
<!-- Left -->
|
||||
<image texture="global/modern/button/gray-unselected-left-top.png"
|
||||
real_texture_placement="0 0 8 8"
|
||||
size="0 0 8 8"
|
||||
/>
|
||||
<image texture="global/modern/button/gray-unselected-left-center.png"
|
||||
real_texture_placement="0 0 8 16"
|
||||
texture_size="0 0 8 16"
|
||||
size="0 8 8 100%-8"
|
||||
/>
|
||||
<image texture="global/modern/button/gray-unselected-left-bottom.png"
|
||||
real_texture_placement="0 0 8 8"
|
||||
size="0 100%-8 8 100%"
|
||||
/>
|
||||
<!-- Center -->
|
||||
<image texture="global/modern/button/gray-unselected-center-top.png"
|
||||
real_texture_placement="0 0 128 8"
|
||||
texture_size="0 0 128 8"
|
||||
size="8 0 100%-8 8"
|
||||
/>
|
||||
<image texture="global/modern/button/gray-unselected-center-bottom.png"
|
||||
real_texture_placement="0 0 128 8"
|
||||
texture_size="0 0 128 8"
|
||||
size="8 100%-8 100%-8 100%"
|
||||
/>
|
||||
<!-- Right -->
|
||||
<image texture="global/modern/button/gray-unselected-right-top.png"
|
||||
real_texture_placement="0 0 8 8"
|
||||
size="100%-8 0 100% 8"
|
||||
/>
|
||||
<image texture="global/modern/button/gray-unselected-right-center.png"
|
||||
real_texture_placement="0 0 8 16"
|
||||
texture_size="0 0 8 16"
|
||||
size="100%-8 8 100% 100%-8"
|
||||
/>
|
||||
<image texture="global/modern/button/gray-unselected-right-bottom.png"
|
||||
real_texture_placement="0 0 8 8"
|
||||
size="100%-8 100%-8 100% 100%"
|
||||
/>
|
||||
</sprite>
|
||||
<!--
|
||||
==========================================
|
||||
- Basic. -
|
||||
|
@ -148,9 +148,20 @@
|
||||
sprite="ModernButtonYellow"
|
||||
sprite_disabled="ModernButtonYellowDisabled"
|
||||
sprite_over="ModernButtonYellowOver"
|
||||
sprite_pressed="ModernButtonRed"
|
||||
font="sans-bold-14"
|
||||
textcolor="black"
|
||||
sprite_pressed="ModernButtonYellow"
|
||||
font="sans-bold-stroke-14"
|
||||
textcolor="white"
|
||||
text_align="center"
|
||||
text_valign="center"
|
||||
sound_pressed="audio/interface/ui/ui_button_click.ogg"
|
||||
/>
|
||||
<style name="ModernButtonGray"
|
||||
sprite="ModernButtonGray"
|
||||
sprite_disabled="ModernButtonGrayDisabled"
|
||||
sprite_over="ModernButtonGrayOver"
|
||||
sprite_pressed="ModernButtonGray"
|
||||
font="sans-bold-stroke-14"
|
||||
textcolor="white"
|
||||
text_align="center"
|
||||
text_valign="center"
|
||||
sound_pressed="audio/interface/ui/ui_button_click.ogg"
|
||||
|
Loading…
Reference in New Issue
Block a user