forked from mirrors/0ad
f65e839ac5
Each sprite is comprised of dynamically scaled 9 slices stored in a designated directory. Base, over, pressed, and disabled variants are combined into a button style called 'BrownButton'. The sprites have a native/maximum total resolution of 266 x 74 pixels. (which is larger than any other button sprites) Brightness of the base sprite is kept neutral so that it fits on both light and dark backgrounds. Disable compression and mipmapping as they don't work well with sliced sprites.