#include <protos.h>
Inherited by mitemcheckbox, mitemkeyinput, mitemmanual, and mitemslider.

Public Member Functions | |
| mitem (gmenu *parent, color *bgcolor) | |
| virtual | ~mitem () |
| virtual void | render (int x, int y, int w) |
| virtual int | width ()=0 |
| virtual void | select () |
| virtual void | focus (bool on) |
| virtual void | key (int code, bool isdown, int unicode) |
| virtual void | init () |
| virtual const char * | getdesc () |
| bool | isselection () |
| void | renderbg (int x, int y, int w, color *c) |
Public Attributes | |
| struct gmenu * | parent |
| color * | bgcolor |
Static Public Attributes | |
| static color | gray |
| static color | white |
| static color | whitepulse |
| virtual mitem::~mitem | ( | ) | [inline, virtual] |
| virtual void mitem::focus | ( | bool | on | ) | [inline, virtual] |
Reimplemented in mitemmanual, and mitemtextinput.
| virtual const char* mitem::getdesc | ( | ) | [inline, virtual] |
Reimplemented in mitemmanual.
| virtual void mitem::init | ( | ) | [inline, virtual] |
Reimplemented in mitemtextinput, mitemslider, mitemkeyinput, and mitemcheckbox.
| bool mitem::isselection | ( | ) |
| virtual void mitem::key | ( | int | code, | |
| bool | isdown, | |||
| int | unicode | |||
| ) | [inline, virtual] |
Reimplemented in mitemtextinput, mitemslider, and mitemkeyinput.
| void mitem::render | ( | int | x, | |
| int | y, | |||
| int | w | |||
| ) | [virtual] |
Reimplemented in mitemmanual, mitemimage, mitemtextinput, mitemslider, mitemkeyinput, and mitemcheckbox.
| void mitem::renderbg | ( | int | x, | |
| int | y, | |||
| int | w, | |||
| color * | c | |||
| ) |
| virtual void mitem::select | ( | ) | [inline, virtual] |
Reimplemented in mitemmanual, mitemtextinput, mitemkeyinput, and mitemcheckbox.
| virtual int mitem::width | ( | ) | [pure virtual] |
Implemented in mitemmanual, mitemimage, mitemtextinput, mitemslider, mitemkeyinput, and mitemcheckbox.
color mitem::gray [static] |
struct gmenu* mitem::parent [read] |
color mitem::white [static] |
color mitem::whitepulse [static] |
1.5.7.1