#include <ipetool.h>
Inherits ipe::Tool.
PanTool::PanTool | ( | CanvasBase * | canvas, | |
const Page * | page, | |||
int | view | |||
) |
void PanTool::mouseButton | ( | int | button, | |
bool | press | |||
) | [virtual] |
Called when a mouse button is pressed or released on the canvas.
button is 1, 2, or 3, with Shift/Ctrl/Alt/Meta modifiers added in (as defined in CanvasBase::TModifiers. press is true for button-down, and false for button-up.
Reimplemented from ipe::Tool.
void PanTool::mouseMove | ( | ) | [virtual] |