#include <mmenu.H>
Inheritance diagram for MMENU:
Public Types | |
enum | DIR { N = 0, NE, E, SE, S, SW, W, NW, NUM_DIRS } |
typedef CallMeth_t< Simple_int, Event > | _callb |
typedef GuardMeth_t< Simple_int, Event > | _guard |
Public Member Functions | |
void | add (CGEOMptr &g, MenuCb_t *o=0) |
void | add (Cstr_ptr &n, MenuCb_t *o=0) |
void | clear () |
virtual | ~MMENU () |
MMENU (CEvent &d, CEvent &m, CEvent &u) | |
virtual void | call (int sel) |
virtual int | invoke (CEvent &, State *&) |
virtual int | down (CEvent &, State *&) |
virtual int | move (CEvent &, State *&) |
virtual int | up (CEvent &, State *&) |
virtual int | tick () |
virtual void | setIndex (int idx) |
virtual int | getIndex () const |
void | Own () const |
void | Free () const |
int | Lock () |
void | Unlock () |
int | Unique () const |
virtual int | noop (CEvent &, State *&) |
virtual void | add_events (CEvent &d, CEvent &m, CEvent &u) |
_callb * | Cb (TYPENAME _callb::_method m) |
_callb * | Cb (TYPENAME _callb::_method m, State_t< Event > *s) |
_guard * | Gd (const Event &e, TYPENAME _guard::_method m) |
State * | entry () |
const State * | entry () const |
Protected Attributes | |
ARRAY< MMENUMenuItem > | _items |
int | _sel |
VIEWptr | _view |
double | _t0 |
mlib::XYpt | _d |
int | _disp |
CCOLOR | _nhighlight_col |
CCOLOR | _highlight_col |
int | _index |
State | _manip_move |
CAMptr | _cam |
State | _entry |
Classes | |
struct | MMENUMenuItem |
Definition at line 69 of file mmenu.H.
|
|
|
|
|
|
|
|
|
|
|
Definition at line 95 of file mmenu.H. References add(). |
|
Definition at line 92 of file mmenu.H. References _items, and ARRAY< T >::add(). Referenced by add(). |
|
Definition at line 42 of file manip.C. References Interactor< Simple_int, Event, State >::_entry, Simple_int::_manip_move, Interactor< Simple_int, Event, State >::Cb(), Simple_int::down(), Simple_int::move(), and Simple_int::up(). |
|
Definition at line 107 of file mmenu.C. References _items, and ARRAY< T >::num(). Referenced by up(). |
|
|
|
Definition at line 393 of file fsa.H. Referenced by Simple_int::add_events(), Pen::create_fsa(), GEST_INT::GEST_INT(), Screen_pan_int::Screen_pan_int(), and Simple_int::Simple_int(). |
|
Definition at line 98 of file mmenu.H. References _items, and ARRAY< T >::clear(). |
|
Reimplemented from Simple_int. Definition at line 32 of file mmenu.C. References _d, Evd::_d, _MENU_OFFSET, _sel, _t0, _view, DEVice_2d::cur(), DEVice_buttons::ptr2d(), the_time(), and Event::view(). |
|
|
|
|
|
Definition at line 76 of file ref.H. References REFcounter::_mutex, REFcounter::_u, and REF_ME. |
|
|
|
Definition at line 45 of file gel.H. References FRAMEobs::_index. |
|
Definition at line 16 of file mmenu.C. References Interactor< Simple_int, Event, State >::_entry, State_t< EVENT >::consumes(), and State_t< EVENT >::event(). |
|
Definition at line 105 of file ref.H. References REFcounter::_mutex, and REFcounter::_u. Referenced by REFlock::REFlock(). |
|
Reimplemented from Simple_int. Definition at line 56 of file mmenu.C. References Evd::_d, _highlight_col, _items, _sel, CBBOX, BBOX2D::contains(), DEVice_2d::cur(), and ARRAY< T >::num(). |
|
|
|
Definition at line 59 of file ref.H. References REFcounter::_mutex, REFcounter::_u, and REF_ME. |
|
Definition at line 44 of file gel.H. References FRAMEobs::_index. |
|
Reimplemented from FRAMEobs. Definition at line 135 of file mmenu.C. References _d, _items, _MENU_OFFSET, _nhighlight_col, _sel, BBOX2D::max(), BBOX2D::min(), and ARRAY< T >::num(). |
|
Definition at line 115 of file ref.H. References REFcounter::_mutex, and REFcounter::_u. |
|
Definition at line 111 of file ref.H. References REFcounter::_mutex, and REFcounter::_u. Referenced by REFlock::~REFlock(). |
|
Reimplemented from Simple_int. Definition at line 114 of file mmenu.C. References _items, _sel, _view, call(), and ARRAY< T >::num(). |
|
|
|
|
|
|
|
Definition at line 407 of file fsa.H. Referenced by Pen::activate(), Simple_int::add_events(), Pen::deactivate(), FilmTrans::FilmTrans(), GEST_INT::GEST_INT(), invoke(), Pen::Pen(), Screen_pan_int::Screen_pan_int(), and Simple_int::Simple_int(). |
|
Definition at line 117 of file mmenu.H. Referenced by move(). |
|
Definition at line 37 of file gel.H. Referenced by FRAMEobs::getIndex(), and FRAMEobs::setIndex(). |
|
Definition at line 90 of file mmenu.H. Referenced by add(), call(), clear(), move(), tick(), and up(). |
|
Definition at line 35 of file manip.H. Referenced by Simple_int::add_events(), FilmTrans::FilmTrans(), and Simple_int::Simple_int(). |
|
Definition at line 116 of file mmenu.H. Referenced by tick(). |
|
|
|
Definition at line 112 of file mmenu.H. Referenced by down(). |
|
|