mirror of
https://github.com/elasota/Aerofoil.git
synced 2025-09-24 07:06:36 +00:00
Icon refactor
This commit is contained in:
@@ -56,4 +56,19 @@ namespace PortabilityLayer
|
||||
|
||||
uint8_t m_lut[16 * 16 * 16];
|
||||
};
|
||||
|
||||
class Icon4BitPalette
|
||||
{
|
||||
public:
|
||||
static const unsigned int kSize = 16;
|
||||
|
||||
Icon4BitPalette();
|
||||
|
||||
static Icon4BitPalette *GetInstance();
|
||||
const RGBAColor *GetColors() const;
|
||||
|
||||
private:
|
||||
static Icon4BitPalette ms_instance;
|
||||
RGBAColor m_colors[kSize];
|
||||
};
|
||||
}
|
||||
|
Reference in New Issue
Block a user