Main Page | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | File Members

VideoWindowCanvas Class Reference

#include <videowindowgui.h>

List of all members.

Public Member Functions

 VideoWindowCanvas (VideoWindowGUI *gui, int w, int h)
 ~VideoWindowCanvas ()
int button_press ()
int button_release ()
int cursor_motion ()
int draw_crop_box ()

Public Attributes

int button_down
VideoWindowGUIgui
int corner_selected


Detailed Description

Definition at line 27 of file videowindowgui.h.


Constructor & Destructor Documentation

VideoWindowCanvas::VideoWindowCanvas VideoWindowGUI gui,
int  w,
int  h
 

Definition at line 96 of file videowindowgui.C.

References button_down, and corner_selected.

VideoWindowCanvas::~VideoWindowCanvas  ) 
 

Definition at line 104 of file videowindowgui.C.


Member Function Documentation

int VideoWindowCanvas::button_press  ) 
 

Definition at line 108 of file videowindowgui.C.

References button_down, corner_selected, CROPHANDLE_H, CROPHANDLE_W, gui, VideoWindowGUI::thread, VideoWindow::video_cropping, VideoWindowGUI::x1, VideoWindowGUI::x2, VideoWindowGUI::x_offset, 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(), VideoWindow::get_h(), VideoWindow::get_w(), gui, VideoWindowGUI::thread, VideoWindow::video_cropping, VideoWindowGUI::x1, VideoWindowGUI::x2, VideoWindowGUI::x_offset, 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, gui, VideoWindowGUI::x1, VideoWindowGUI::x2, VideoWindowGUI::y1, and VideoWindowGUI::y2.

Referenced by cursor_motion(), VideoWindow::resize_window(), and VideoWindow::start_cropping().


Member Data Documentation

int VideoWindowCanvas::button_down
 

Definition at line 38 of file videowindowgui.h.

Referenced by button_press(), button_release(), cursor_motion(), and VideoWindowCanvas().

int VideoWindowCanvas::corner_selected
 

Definition at line 40 of file videowindowgui.h.

Referenced by button_press(), button_release(), cursor_motion(), and VideoWindowCanvas().

VideoWindowGUI* VideoWindowCanvas::gui
 

Definition at line 39 of file videowindowgui.h.

Referenced by button_press(), button_release(), cursor_motion(), and draw_crop_box().


The documentation for this class was generated from the following files:
Generated on Sun Jan 8 13:39:28 2006 for Cinelerra-svn by  doxygen 1.4.4