| 200 | } |
| 201 | |
| 202 | IMenuStyle *MenuManager::FindStyleByName(const char *name) |
| 203 | { |
| 204 | unsigned int count = GetStyleCount(); |
| 205 | for (unsigned int i=0; i<count; i++) |
| 206 | { |
| 207 | IMenuStyle *ptr = GetStyle(i); |
| 208 | if (strcasecmp(ptr->GetStyleName(), name) == 0) |
| 209 | { |
| 210 | return ptr; |
| 211 | } |
| 212 | } |
| 213 | |
| 214 | return NULL; |
| 215 | } |
| 216 | |
| 217 | inline bool IsSlotItem(IMenuPanel *display, |
| 218 | unsigned int style) |
no test coverage detected