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

RecordMonitorCanvas Class Reference

#include <recordmonitor.h>

Inheritance diagram for RecordMonitorCanvas:

Canvas List of all members.

Public Member Functions

 RecordMonitorCanvas (MWindow *mwindow, RecordMonitorGUI *window, Record *record, int x, int y, int w, int h)
 ~RecordMonitorCanvas ()
void zoom_resize_window (float percentage)
int button_press_event ()
int button_release_event ()
int cursor_motion_event ()
int cursor_enter_event ()
void reset_translation ()
int keypress_event ()
int get_output_w ()
int get_output_h ()

Public Attributes

RecordMonitorGUIwindow
MWindowmwindow
Recordrecord

Detailed Description

Definition at line 185 of file recordmonitor.h.


Constructor & Destructor Documentation

RecordMonitorCanvas::RecordMonitorCanvas MWindow mwindow,
RecordMonitorGUI window,
Record record,
int  x,
int  y,
int  w,
int  h
 

Definition at line 591 of file recordmonitor.C.

RecordMonitorCanvas::~RecordMonitorCanvas  ) 
 

Definition at line 616 of file recordmonitor.C.


Member Function Documentation

int RecordMonitorCanvas::button_press_event  )  [virtual]
 

Reimplemented from Canvas.

Definition at line 631 of file recordmonitor.C.

References Canvas::button_press_event(), RecordMonitorGUI::current_operation, RecordMonitorGUI::cursor_x_origin, RecordMonitorGUI::cursor_y_origin, VideoInConfig::driver, MWindow::edl, Canvas::get_cursor_x(), Canvas::get_cursor_y(), mwindow, record, EDL::session, RecordMonitorGUI::translate_x_origin, RecordMonitorGUI::translate_y_origin, EDLSession::vconfig_in, Record::video_x, Record::video_y, and window.

int RecordMonitorCanvas::button_release_event  )  [virtual]
 

Reimplemented from Canvas.

Definition at line 663 of file recordmonitor.C.

References RecordMonitorGUI::current_operation, and window.

int RecordMonitorCanvas::cursor_enter_event  )  [virtual]
 

Reimplemented from Canvas.

Definition at line 681 of file recordmonitor.C.

References VideoInConfig::driver, MWindow::edl, mwindow, EDL::session, Canvas::set_cursor(), and EDLSession::vconfig_in.

int RecordMonitorCanvas::cursor_motion_event  )  [virtual]
 

Reimplemented from Canvas.

Definition at line 669 of file recordmonitor.C.

References RecordMonitorGUI::current_operation, RecordMonitorGUI::cursor_x_origin, RecordMonitorGUI::cursor_y_origin, Canvas::get_cursor_x(), Canvas::get_cursor_y(), record, Record::set_translation(), RecordMonitorGUI::translate_x_origin, RecordMonitorGUI::translate_y_origin, and window.

int RecordMonitorCanvas::get_output_h  ) 
 

Definition at line 625 of file recordmonitor.C.

References Record::default_asset, Asset::height, and record.

int RecordMonitorCanvas::get_output_w  ) 
 

Definition at line 620 of file recordmonitor.C.

References Record::default_asset, record, and Asset::width.

int RecordMonitorCanvas::keypress_event  ) 
 

Definition at line 693 of file recordmonitor.C.

References Canvas::canvas, record, Record::set_translation(), Record::video_x, and Record::video_y.

void RecordMonitorCanvas::reset_translation  )  [virtual]
 

Reimplemented from Canvas.

Definition at line 688 of file recordmonitor.C.

References record, and Record::set_translation().

void RecordMonitorCanvas::zoom_resize_window float  percentage  )  [virtual]
 

Reimplemented from Canvas.

Definition at line 647 of file recordmonitor.C.

References Canvas::calculate_sizes(), Record::default_asset, MWindow::edl, EDL::get_aspect_ratio(), Asset::height, mwindow, record, RecordMonitorGUI::resize_event(), Theme::rmonitor_canvas_h, Theme::rmonitor_canvas_w, MWindow::theme, Asset::width, and window.


Member Data Documentation

MWindow* RecordMonitorCanvas::mwindow
 

Definition at line 208 of file recordmonitor.h.

Referenced by button_press_event(), cursor_enter_event(), and zoom_resize_window().

Record* RecordMonitorCanvas::record
 

Definition at line 209 of file recordmonitor.h.

Referenced by button_press_event(), cursor_motion_event(), get_output_h(), get_output_w(), keypress_event(), reset_translation(), and zoom_resize_window().

RecordMonitorGUI* RecordMonitorCanvas::window
 

Definition at line 207 of file recordmonitor.h.

Referenced by button_press_event(), button_release_event(), cursor_motion_event(), and zoom_resize_window().


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