#include <videowindowgui.h>
Inherits BC_SubWindow.

Public Member Functions | |
| VideoWindowCanvas (VideoWindowGUI *gui, int w, int h) | |
| ~VideoWindowCanvas () | |
| int | button_press () |
| int | button_release () |
| int | cursor_motion () |
| int | draw_crop_box () |
Data Fields | |
| int | button_down |
| VideoWindowGUI * | gui |
| int | corner_selected |
Definition at line 27 of file videowindowgui.h.
| VideoWindowCanvas::VideoWindowCanvas | ( | VideoWindowGUI * | gui, | |
| int | w, | |||
| int | h | |||
| ) |
| VideoWindowCanvas::~VideoWindowCanvas | ( | ) |
Definition at line 104 of file videowindowgui.C.
| int VideoWindowCanvas::button_press | ( | ) |
Definition at line 108 of file videowindowgui.C.
References button_down, corner_selected, CROPHANDLE_H, CROPHANDLE_W, BC_WindowBase::get_cursor_x(), BC_WindowBase::get_cursor_y(), gui, VideoWindowGUI::thread, VideoWindow::video_cropping, BC_WindowBase::x, VideoWindowGUI::x1, VideoWindowGUI::x2, VideoWindowGUI::x_offset, BC_WindowBase::y, VideoWindowGUI::y1, VideoWindowGUI::y2, and VideoWindowGUI::y_offset.

| int VideoWindowCanvas::button_release | ( | ) |
Definition at line 143 of file videowindowgui.C.
References button_down, corner_selected, gui, VideoWindowGUI::thread, and VideoWindow::video_cropping.
| int VideoWindowCanvas::cursor_motion | ( | ) |
Definition at line 152 of file videowindowgui.C.
References button_down, corner_selected, draw_crop_box(), BC_WindowBase::flash(), BC_WindowBase::get_cursor_x(), BC_WindowBase::get_cursor_y(), BC_WindowBase::get_h(), BC_WindowBase::get_w(), gui, VideoWindowGUI::thread, VideoWindow::video_cropping, BC_WindowBase::x, VideoWindowGUI::x1, VideoWindowGUI::x2, VideoWindowGUI::x_offset, BC_WindowBase::y, VideoWindowGUI::y1, VideoWindowGUI::y2, and VideoWindowGUI::y_offset.

| int VideoWindowCanvas::draw_crop_box | ( | ) |
Definition at line 189 of file videowindowgui.C.
References CROPHANDLE_H, CROPHANDLE_W, BC_WindowBase::draw_box(), BC_WindowBase::draw_rectangle(), gui, BC_WindowBase::h, BC_WindowBase::set_color(), BC_WindowBase::set_inverse(), BC_WindowBase::set_opaque(), BC_WindowBase::w, WHITE, VideoWindowGUI::x1, VideoWindowGUI::x2, VideoWindowGUI::y1, and VideoWindowGUI::y2.
Referenced by cursor_motion(), VideoWindow::resize_window(), and VideoWindow::start_cropping().

Reimplemented from BC_WindowBase.
Definition at line 38 of file videowindowgui.h.
Referenced by button_press(), button_release(), cursor_motion(), and VideoWindowCanvas().
Definition at line 39 of file videowindowgui.h.
Referenced by button_press(), button_release(), cursor_motion(), and draw_crop_box().
Definition at line 40 of file videowindowgui.h.
Referenced by button_press(), button_release(), cursor_motion(), and VideoWindowCanvas().
1.5.5