7#ifndef MYGUI_WIDGET_STYLE_H_
8#define MYGUI_WIDGET_STYLE_H_
44 std::string_view name = type.getValueName(value);
45 if (name.empty() || name ==
_value)
49 type.mValue =
static_cast<Enum>(value);
55 return a.mValue ==
b.mValue;
60 return a.mValue !=
b.mValue;
79 return getValueName(mValue);
88 std::string_view getValueName(
int _index)
const
92 static const std::string_view values[MAX] = {
"Child",
"Popup",
"Overlapped"};
93 return values[_index];