#include <pen.H>
Inheritance diagram for Pen:


Public Types | |
| typedef CallMeth_t< Simple_int, Event > | _callb |
| typedef GuardMeth_t< Simple_int, Event > | _guard |
Public Member Functions | |
| Pen (Cstr_ptr &pen_name, CGEST_INTptr &gest_int=GEST_INTptr(), CEvent &d=Event(), CEvent &m=Event(), CEvent &u=Event(), CEvent &shift_d=Event(), CEvent &shift_u=Event(), CEvent &ctrl_d=Event(), CEvent &ctrl_u=Event()) | |
| str_ptr | pen_name () const |
| mlib::XYpt | get_ptr_position () const |
| mlib::XYpt | get_last_position () const |
| VIEWptr | view () const |
| virtual void | activate (State *) |
| virtual bool | deactivate (State *) |
| virtual void | notify_gesture (GEST_INT *, CGESTUREptr &) |
| virtual void | key (CEvent &) |
| virtual int | erase_down (CEvent &, State *&) |
| virtual int | erase_move (CEvent &, State *&) |
| virtual int | erase_up (CEvent &, State *&) |
| virtual int | ctrl_down (CEvent &, State *&) |
| virtual int | ctrl_move (CEvent &, State *&) |
| virtual int | ctrl_up (CEvent &, State *&) |
| virtual int | down (CEvent &, State *&) |
| virtual int | move (CEvent &, State *&) |
| virtual int | up (CEvent &, State *&) |
| 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 |
| virtual int | handle_event (CEvent &, State *&) |
Protected Types | |
| typedef int(Pen::* | callback_meth_t )(CEvent &, State *&) |
Protected Member Functions | |
| State * | create_fsa (CEvent &d, CEvent &m, CEvent &u, callback_meth_t down, callback_meth_t move, callback_meth_t up) |
| int | check_interactive (CEvent &e, State *&s) |
Protected Attributes | |
| GEST_INTptr | _gest_int |
| State * | _shift_fsa |
| State * | _ctrl_fsa |
| str_ptr | _pen_name |
| VIEWptr | _view |
| DrawState | _draw_start |
| DrawFSA | _fsa |
| State | _manip_move |
| CAMptr | _cam |
| State | _entry |
Definition at line 25 of file pen.H.
|
|
|
|
|
|
|
|
|
|
||||||||||||||||||||||||||||||||||||||||
|
Definition at line 19 of file pen.C. References _ctrl_fsa, Interactor< Simple_int, Event, State >::_entry, _shift_fsa, create_fsa(), ctrl_down(), ctrl_move(), ctrl_up(), erase_down(), erase_move(), erase_up(), and State_t< EVENT >::set_name(). |
|
|
Definition at line 133 of file pen.C. References _ctrl_fsa, Interactor< Simple_int, Event, State >::_entry, _gest_int, _pen_name, _shift_fsa, and ModeName::push_name(). |
|
||||||||||||||||
|
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 393 of file fsa.H. Referenced by Simple_int::add_events(), create_fsa(), GEST_INT::GEST_INT(), Screen_pan_int::Screen_pan_int(), and Simple_int::Simple_int(). |
|
||||||||||||
|
Definition at line 71 of file pen.C. References Evd::_d, DEVice_2d::cur(), GEOM::null, DEVice_buttons::ptr2d(), ray_geom(), and Event::view(). Referenced by down(), and erase_down(). |
|
||||||||||||||||||||||||||||
|
Definition at line 48 of file pen.C. References Interactor< Simple_int, Event, State >::Cb(). Referenced by Pen(). |
|
||||||||||||
|
Definition at line 77 of file pen.H. Referenced by Pen(). |
|
||||||||||||
|
Definition at line 78 of file pen.H. Referenced by Pen(). |
|
||||||||||||
|
Definition at line 79 of file pen.H. Referenced by Pen(). |
|
|
Definition at line 150 of file pen.C. References _ctrl_fsa, Interactor< Simple_int, Event, State >::_entry, _gest_int, _shift_fsa, and ModeName::pop_name(). |
|
||||||||||||
|
Reimplemented from Simple_int. Definition at line 97 of file pen.C. References check_interactive(). |
|
|
|
|
|
|
|
||||||||||||
|
Definition at line 115 of file pen.C. References check_interactive(). Referenced by Pen(). |
|
||||||||||||
|
Definition at line 121 of file pen.C. Referenced by Pen(). |
|
||||||||||||
|
Definition at line 127 of file pen.C. Referenced by Pen(). |
|
||||||||||||
|
|
|
|
Definition at line 55 of file pen.H. References DEVice_2d::last, and DEVice_2d::old(). |
|
|
Definition at line 54 of file pen.H. References DEVice_2d::cur(), and DEVice_2d::last. |
|
||||||||||||
|
Definition at line 142 of file gest_int.H. |
|
|
|
|
||||||||||||
|
Reimplemented from Simple_int. |
|
||||||||||||
|
|
|
||||||||||||
|
Implements GestObs. Definition at line 83 of file pen.C. References _fsa, Config::get_var_bool(), FSAT< EVENT >::handle_event(), FSAT< EVENT >::is_reset(), and GEST_INT::reset(). |
|
|
Definition at line 53 of file pen.H. References _pen_name. |
|
||||||||||||
|
Reimplemented from Simple_int. |
|
|
Definition at line 57 of file pen.H. References _view. |
|
|
|
|
|
Definition at line 31 of file pen.H. Referenced by activate(), deactivate(), and Pen(). |
|
|
|
|
|
Definition at line 407 of file fsa.H. Referenced by activate(), Simple_int::add_events(), deactivate(), FilmTrans::FilmTrans(), GEST_INT::GEST_INT(), MMENU::invoke(), Pen(), Screen_pan_int::Screen_pan_int(), and Simple_int::Simple_int(). |
|
|
Definition at line 35 of file pen.H. Referenced by notify_gesture(). |
|
|
Definition at line 29 of file pen.H. Referenced by activate(), and deactivate(). |
|
|
Definition at line 35 of file manip.H. Referenced by Simple_int::add_events(), FilmTrans::FilmTrans(), and Simple_int::Simple_int(). |
|
|
Definition at line 32 of file pen.H. Referenced by activate(), and pen_name(). |
|
|
Definition at line 30 of file pen.H. Referenced by activate(), deactivate(), and Pen(). |
|
|
Definition at line 33 of file pen.H. Referenced by view(). |
1.4.4