22 lines
529 B
C++
22 lines
529 B
C++
#pragma once
|
|||
|
|
#include "olcPixelGameEngine.h"
|
||
|
|
|
||
|
|
class Theme{
|
||
|
|
std::string displayName;
|
||
|
|
std::string imgPath;
|
||
|
|
|
||
|
|
Pixel buttonCol,highlightCol;
|
||
|
|
public:
|
||
|
|
inline Theme(){}
|
||
|
|
inline Theme(std::string displayName,std::string imgPath,Pixel buttonCol,Pixel highlightCol)
|
||
|
|
:displayName(displayName),imgPath(imgPath),buttonCol(buttonCol),highlightCol(highlightCol){}
|
||
|
|
inline Pixel GetButtonCol(){
|
||
|
|
return buttonCol;
|
||
|
|
}
|
||
|
|
inline Pixel GetHighlightCol(){
|
||
|
|
return highlightCol;
|
||
|
|
}
|
||
|
|
inline std::string GetThemeName(){
|
||
|
|
return displayName;
|
||
|
|
}
|
||
|
|
};
|