Public Types | |
| enum | SowingMode { Lasering = -2, Erasing = -1, Idle = 0, Furrowing, FirstSowing, SequentSowing } |
Public Member Functions | |
| SowingMode | mode () |
| void | reverseSowingOrder (bool yn=true) |
| void | alternateSowingOrder (bool yn=true) |
| bool | moreToSow () const |
| void | stopSowing () |
| Geom::Point2D< int > | pivotPos () const |
| bool | accept (const MouseEvent &, bool released=false) |
| bool | activate (const Color &, const MouseEvent &) |
| void | setSequentSowMask (bool yn=true, OD::ButtonState mask=OD::LeftButton) |
| void | setIfDragInvertMask (bool yn=true, OD::ButtonState mask=OD::ShiftButton) |
| void | setLaserMask (bool yn=true, OD::ButtonState mask=OD::LeftButton) |
| void | setEraserMask (bool yn=true, OD::ButtonState mask=((OD::ButtonState)(OD::LeftButton+OD::ControlButton))) |
Protected Member Functions | |
| Sower (AuxDataEditor &, MouseEventHandler &) | |
| ~Sower () | |
| void | setView (const Rect &wv, const Geom::Rectangle< int > &mouserect) |
| bool | acceptMouse (const MouseEvent &, bool released) |
| bool | acceptTablet (const MouseEvent &, bool released) |
| bool | acceptLaser (const MouseEvent &, bool released) |
| bool | acceptEraser (const MouseEvent &, bool released) |
| void | reset () |
Protected Attributes | |
| AuxDataEditor & | editor_ |
| RCol2Coord | transformation_ |
| Annotation::AuxData * | sowingline_ |
| MouseEventHandler & | mouseeventhandler_ |
| Geom::PixRectangle< int > | mouserectangle_ |
| SowingMode | mode_ |
| ObjectSet< MouseEvent > | eventlist_ |
| TypeSet< Coord > | mousecoords_ |
| TypeSet< int > | bendpoints_ |
| bool | reversesowingorder_ |
| bool | alternatesowingorder_ |
| OD::ButtonState | sequentsowmask_ |
| OD::ButtonState | ifdraginvertmask_ |
| OD::ButtonState | lasermask_ |
| OD::ButtonState | erasermask_ |
| bool | singleseeded_ |
| int | curknotid_ |
| int | curknotstamp_ |
Friends | |
| class | AuxDataEditor |
| FlatView::Sower::Sower | ( | AuxDataEditor & | , | |
| MouseEventHandler & | ||||
| ) | [protected] |
| FlatView::Sower::~Sower | ( | ) | [protected] |
| bool FlatView::Sower::accept | ( | const MouseEvent & | , | |
| bool | released = false | |||
| ) |
| bool FlatView::Sower::acceptEraser | ( | const MouseEvent & | , | |
| bool | released | |||
| ) | [protected] |
| bool FlatView::Sower::acceptLaser | ( | const MouseEvent & | , | |
| bool | released | |||
| ) | [protected] |
| bool FlatView::Sower::acceptMouse | ( | const MouseEvent & | , | |
| bool | released | |||
| ) | [protected] |
| bool FlatView::Sower::acceptTablet | ( | const MouseEvent & | , | |
| bool | released | |||
| ) | [protected] |
| bool FlatView::Sower::activate | ( | const Color & | , | |
| const MouseEvent & | ||||
| ) |
| void FlatView::Sower::alternateSowingOrder | ( | bool | yn = true |
) |
| SowingMode FlatView::Sower::mode | ( | ) | [inline] |
| bool FlatView::Sower::moreToSow | ( | ) | const |
| Geom::Point2D<int> FlatView::Sower::pivotPos | ( | ) | const |
| void FlatView::Sower::reset | ( | ) | [protected] |
| void FlatView::Sower::reverseSowingOrder | ( | bool | yn = true |
) |
| void FlatView::Sower::setEraserMask | ( | bool | yn = true, |
|
| OD::ButtonState | mask = ((OD::ButtonState)(OD::LeftButton+OD::ControlButton)) | |||
| ) |
| void FlatView::Sower::setIfDragInvertMask | ( | bool | yn = true, |
|
| OD::ButtonState | mask = OD::ShiftButton | |||
| ) |
| void FlatView::Sower::setLaserMask | ( | bool | yn = true, |
|
| OD::ButtonState | mask = OD::LeftButton | |||
| ) |
| void FlatView::Sower::setSequentSowMask | ( | bool | yn = true, |
|
| OD::ButtonState | mask = OD::LeftButton | |||
| ) |
| void FlatView::Sower::setView | ( | const Rect & | wv, | |
| const Geom::Rectangle< int > & | mouserect | |||
| ) | [protected] |
| void FlatView::Sower::stopSowing | ( | ) |
friend class AuxDataEditor [friend] |
bool FlatView::Sower::alternatesowingorder_ [protected] |
TypeSet<int> FlatView::Sower::bendpoints_ [protected] |
int FlatView::Sower::curknotid_ [protected] |
int FlatView::Sower::curknotstamp_ [protected] |
AuxDataEditor& FlatView::Sower::editor_ [protected] |
OD::ButtonState FlatView::Sower::erasermask_ [protected] |
ObjectSet<MouseEvent> FlatView::Sower::eventlist_ [protected] |
OD::ButtonState FlatView::Sower::ifdraginvertmask_ [protected] |
OD::ButtonState FlatView::Sower::lasermask_ [protected] |
SowingMode FlatView::Sower::mode_ [protected] |
TypeSet<Coord> FlatView::Sower::mousecoords_ [protected] |
MouseEventHandler& FlatView::Sower::mouseeventhandler_ [protected] |
Geom::PixRectangle<int> FlatView::Sower::mouserectangle_ [protected] |
bool FlatView::Sower::reversesowingorder_ [protected] |
OD::ButtonState FlatView::Sower::sequentsowmask_ [protected] |
bool FlatView::Sower::singleseeded_ [protected] |
Annotation::AuxData* FlatView::Sower::sowingline_ [protected] |
RCol2Coord FlatView::Sower::transformation_ [protected] |
1.7.1