|
Minsky: 3.17.0
|
#include <eventInterface.h>


Classes | |
| struct | KeyPressArgs |
Public Member Functions | |
| virtual void | mouseDown (float x, float y) |
| virtual void | controlMouseDown (float x, float y) |
| virtual void | mouseUp (float x, float y) |
| virtual void | mouseMove (float x, float y) |
| virtual void | zoom (double x, double y, double z) |
| virtual void | moveTo (float x, float y) |
| move this so that (x,y) is centred More... | |
| virtual std::vector< float > | position () const |
| current centre coordinates More... | |
| virtual double | zoomFactor () const |
| virtual bool | keyPress (const KeyPressArgs &) |
| handle key press over current itemFocus, More... | |
| ItemPtr | item |
| item or wire obtained by get*At() calls More... | |
| WirePtr | wire |
| item or wire obtained by get*At() calls More... | |
| virtual bool | getItemAt (float x, float y) |
| item or wire obtained by get*At() calls More... | |
| virtual bool | getWireAt (float x, float y) |
| item or wire obtained by get*At() calls More... | |
Definition at line 30 of file eventInterface.h.
|
inlinevirtual |
Reimplemented in minsky::Canvas, and minsky::PubTab.
Definition at line 33 of file eventInterface.h.
References mouseDown().

|
inlinevirtual |
item or wire obtained by get*At() calls
Reimplemented in minsky::Canvas, and minsky::PubTab.
Definition at line 63 of file eventInterface.h.
|
inlinevirtual |
item or wire obtained by get*At() calls
Reimplemented in minsky::Canvas.
Definition at line 64 of file eventInterface.h.
|
inlinevirtual |
handle key press over current itemFocus,
| keySym | the X key sym code |
| utf8 | utf8 encoded character |
| state | modifer state 1=shift, 2=caps lock, 4=ctrl, 8=alt |
| x | & y contain mouse coordinates |
Reimplemented in minsky::GodleyTableWindow, minsky::Canvas, minsky::PubTab, and minsky::RavelPopup.
Definition at line 57 of file eventInterface.h.
|
inlinevirtual |
Reimplemented in minsky::GodleyTableWindow, minsky::PlotWidget, minsky::Canvas, minsky::PhillipsDiagram, minsky::PubTab, minsky::VariablePane, minsky::RavelPopup, minsky::PannableTab< minsky::EquationDisplay >, minsky::PannableTab< PubTabBase >, and minsky::PannableTab< VariablePaneBase >.
Definition at line 32 of file eventInterface.h.
Referenced by controlMouseDown().

|
inlinevirtual |
Reimplemented in minsky::GodleyTableWindow, minsky::PlotWidget, minsky::Canvas, minsky::PhillipsDiagram, minsky::PubTab, minsky::PannableTab< minsky::EquationDisplay >, minsky::PannableTab< PubTabBase >, minsky::PannableTab< VariablePaneBase >, and minsky::RavelPopup.
Definition at line 35 of file eventInterface.h.
|
inlinevirtual |
Reimplemented in minsky::GodleyTableWindow, minsky::PlotWidget, minsky::Canvas, minsky::PhillipsDiagram, minsky::PubTab, minsky::PannableTab< minsky::EquationDisplay >, minsky::PannableTab< PubTabBase >, minsky::PannableTab< VariablePaneBase >, and minsky::RavelPopup.
Definition at line 34 of file eventInterface.h.
|
inlinevirtual |
move this so that (x,y) is centred
Reimplemented in minsky::Canvas, minsky::PhillipsDiagram, minsky::PannableTab< minsky::EquationDisplay >, minsky::PannableTab< PubTabBase >, and minsky::PannableTab< VariablePaneBase >.
Definition at line 38 of file eventInterface.h.
|
inlinevirtual |
current centre coordinates
Reimplemented in minsky::Canvas, minsky::PhillipsDiagram, minsky::PannableTab< minsky::EquationDisplay >, minsky::PannableTab< PubTabBase >, and minsky::PannableTab< VariablePaneBase >.
Definition at line 40 of file eventInterface.h.
|
inlinevirtual |
Reimplemented in minsky::GodleyTableWindow, minsky::Canvas, minsky::PannableTab< minsky::EquationDisplay >, minsky::PannableTab< PubTabBase >, and minsky::PannableTab< VariablePaneBase >.
Definition at line 36 of file eventInterface.h.
|
inlinevirtual |
Reimplemented in minsky::GodleyTableWindow, minsky::Canvas, minsky::PannableTab< minsky::EquationDisplay >, minsky::PannableTab< PubTabBase >, and minsky::PannableTab< VariablePaneBase >.
Definition at line 41 of file eventInterface.h.
| ItemPtr minsky::EventInterface::item |
item or wire obtained by get*At() calls
Definition at line 61 of file eventInterface.h.
| WirePtr minsky::EventInterface::wire |
item or wire obtained by get*At() calls
Definition at line 62 of file eventInterface.h.