Crazy Eddie's GUI System
0.8.4
|
MenuItem class for the FalagardBase module. More...
Public Member Functions | |
FalagardMenuItem (const String &type) | |
Constructor. | |
void | render () |
Populate render cache. | |
Sizef | getItemPixelSize (void) const |
Return the "optimal" size for the item. | |
bool | handleFontRenderSizeChange (const Font *const font) |
Perform any updates needed because the given font's render size has changed. | |
Static Public Attributes | |
static const String | TypeName |
type name for this widget. | |
Protected Member Functions | |
const NamedArea & | getContentNamedArea () const |
bool | parentIsMenubar () const |
MenuItem class for the FalagardBase module.
This class requires LookNFeel to be assigned. The LookNFeel should provide the following:
States (missing states will default to '***Normal'):
Named Areas: ContentSize HasPopupContentSize
Sizef CEGUI::FalagardMenuItem::getItemPixelSize | ( | void | ) | const [virtual] |
Return the "optimal" size for the item.
Implements CEGUI::ItemEntryWindowRenderer.
bool CEGUI::FalagardMenuItem::handleFontRenderSizeChange | ( | const Font *const | font | ) | [virtual] |
Perform any updates needed because the given font's render size has changed.
/note This base implementation deals with updates needed for various definitions in the assigned widget look. If you override, you should generally always call this base class implementation.
font | Pointer to the Font whose render size has changed. |
Reimplemented from CEGUI::WindowRenderer.
void CEGUI::FalagardMenuItem::render | ( | ) | [virtual] |
Populate render cache.
This method must be implemented by all window renderers and should perform the rendering operations needed for this widget. Normally using the Falagard API...
Implements CEGUI::WindowRenderer.