#include <perspective.h>
Inherits BC_SubWindow.

Public Types | |
| enum | { NONE, DRAG, DRAG_FULL, ZOOM } |
Public Member Functions | |
| PerspectiveCanvas (PerspectiveMain *plugin, int x, int y, int w, int h) | |
| int | button_press_event () |
| int | button_release_event () |
| int | cursor_motion_event () |
Data Fields | |
| int | state |
| int | start_cursor_x |
| int | start_cursor_y |
| float | start_x1 |
| float | start_y1 |
| float | start_x2 |
| float | start_y2 |
| float | start_x3 |
| float | start_y3 |
| float | start_x4 |
| float | start_y4 |
| PerspectiveMain * | plugin |
Definition at line 43 of file perspective.h.
| anonymous enum |
| PerspectiveCanvas::PerspectiveCanvas | ( | PerspectiveMain * | plugin, | |
| int | x, | |||
| int | y, | |||
| int | w, | |||
| int | h | |||
| ) |
| int PerspectiveCanvas::button_press_event | ( | ) | [virtual] |
Reimplemented from BC_WindowBase.
Definition at line 325 of file perspective.C.
References BC_WindowBase::alt_down(), BC_WindowBase::cursor_inside(), BC_WindowBase::cursor_x, BC_WindowBase::cursor_y, DISTANCE, DRAG, DRAG_FULL, PerspectiveMain::get_current_x(), PerspectiveMain::get_current_y(), BC_WindowBase::get_cursor_x(), BC_WindowBase::get_cursor_y(), BC_WindowBase::is_event_win(), min, plugin, AffineEngine::SHEER, BC_WindowBase::shift_down(), start_cursor_x, start_cursor_y, start_x1, start_x2, start_x3, start_x4, start_y1, start_y2, start_y3, start_y4, state, and ZOOM.

| int PerspectiveCanvas::button_release_event | ( | ) | [virtual] |
| int PerspectiveCanvas::cursor_motion_event | ( | ) | [virtual] |
Reimplemented from BC_WindowBase.
Definition at line 417 of file perspective.C.
References DRAG, DRAG_FULL, BC_WindowBase::get_cursor_x(), BC_WindowBase::get_cursor_y(), BC_WindowBase::get_h(), BC_WindowBase::get_w(), BC_WindowBase::h, NONE, plugin, PluginClient::send_configure_change(), PerspectiveMain::set_current_x(), PerspectiveMain::set_current_y(), start_cursor_x, start_cursor_y, start_x1, start_x2, start_x3, start_x4, start_y1, start_y2, start_y3, start_y4, state, BC_WindowBase::w, and ZOOM.

Definition at line 54 of file perspective.h.
Referenced by button_press_event(), button_release_event(), cursor_motion_event(), and PerspectiveCanvas().
Definition at line 64 of file perspective.h.
Referenced by button_press_event(), and cursor_motion_event().
Definition at line 64 of file perspective.h.
Referenced by button_press_event(), and cursor_motion_event().
Definition at line 65 of file perspective.h.
Referenced by button_press_event(), and cursor_motion_event().
Definition at line 65 of file perspective.h.
Referenced by button_press_event(), and cursor_motion_event().
Definition at line 66 of file perspective.h.
Referenced by button_press_event(), and cursor_motion_event().
Definition at line 66 of file perspective.h.
Referenced by button_press_event(), and cursor_motion_event().
Definition at line 67 of file perspective.h.
Referenced by button_press_event(), and cursor_motion_event().
Definition at line 67 of file perspective.h.
Referenced by button_press_event(), and cursor_motion_event().
Definition at line 68 of file perspective.h.
Referenced by button_press_event(), and cursor_motion_event().
Definition at line 68 of file perspective.h.
Referenced by button_press_event(), and cursor_motion_event().
Definition at line 69 of file perspective.h.
Referenced by button_press_event(), and cursor_motion_event().
1.5.5