| 382 | } |
| 383 | |
| 384 | void MenuItemFont::setFontSizeObj(int s) |
| 385 | { |
| 386 | _fontSize = s; |
| 387 | dynamic_cast<Label*>(_label)->setSystemFontSize(_fontSize); |
| 388 | this->setContentSize(dynamic_cast<Label*>(_label)->getContentSize()); |
| 389 | } |
| 390 | |
| 391 | int MenuItemFont::getFontSizeObj() const |
| 392 | { |