| 46 | } |
| 47 | |
| 48 | std::string LayoutManager::getButtonLayoutName(ButtonLayout layout) { |
| 49 | #define ENUM_CASE(name, value) case name: return #name; |
| 50 | switch (layout) { |
| 51 | ButtonLayout_VALUELIST(ENUM_CASE) |
| 52 | default: return "BUTTON_LAYOUT_UNKNOWN"; |
| 53 | } |
| 54 | #undef ENUM_CASE |
| 55 | } |
| 56 | |
| 57 | std::string LayoutManager::getButtonLayoutRightName(ButtonLayoutRight layout) { |
| 58 | #define ENUM_CASE(name, value) case name: return #name; |
no outgoing calls
no test coverage detected