renamed Texture:DEFAULT_BEVEL to Texture::DEFAULT_LEVEL
This commit is contained in:
parent
0569849c6d
commit
84a81a1ac1
3 changed files with 3 additions and 3 deletions
|
@ -87,7 +87,7 @@ void Texture::setFromString(const char * const texture_str) {
|
|||
else if (strstr(ts, "flat"))
|
||||
addType(Texture::FLAT);
|
||||
else
|
||||
addType(Texture::DEFAULT_BEVEL);
|
||||
addType(Texture::DEFAULT_LEVEL);
|
||||
|
||||
if (! (type() & Texture::FLAT)) {
|
||||
if (strstr(ts, "bevel2"))
|
||||
|
|
|
@ -41,7 +41,7 @@ public:
|
|||
FLAT = 0x00002,
|
||||
SUNKEN = 0x00004,
|
||||
RAISED = 0x00008,
|
||||
DEFAULT_BEVEL = FLAT
|
||||
DEFAULT_LEVEL = FLAT
|
||||
};
|
||||
|
||||
enum Textures {
|
||||
|
|
|
@ -242,7 +242,7 @@ void ThemeItem<Texture>::load(const string *o_name, const string *o_altname) {
|
|||
|
||||
template <>
|
||||
void ThemeItem<Texture>::setDefaultValue() {
|
||||
m_value.setType(Texture::DEFAULT_BEVEL | Texture::DEFAULT_TEXTURE);
|
||||
m_value.setType(Texture::DEFAULT_LEVEL | Texture::DEFAULT_TEXTURE);
|
||||
load(); // one might forget to add line something: so we try to load something.*: too
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue