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

SetChannelsCanvas Class Reference

#include <setformat.h>

List of all members.

Public Member Functions

 SetChannelsCanvas (MWindow *mwindow, SetFormatThread *thread, int x, int y, int w, int h)
 ~SetChannelsCanvas ()
int draw (int angle=-1)
int get_dimensions (int channel_position, int &x, int &y, int &w, int &h)
int button_press_event ()
int button_release_event ()
int cursor_motion_event ()

Private Member Functions

int poltoxy (int &x, int &y, int r, int d)
int xytopol (int &d, int x, int y)

Private Attributes

int active_channel
int degree_offset
int box_r
MWindowmwindow
SetFormatThreadthread
VFrame * temp_picon
RotateFrame * rotater


Detailed Description

Definition at line 76 of file setformat.h.


Constructor & Destructor Documentation

SetChannelsCanvas::SetChannelsCanvas MWindow mwindow,
SetFormatThread thread,
int  x,
int  y,
int  w,
int  h
 

Definition at line 573 of file setformat.C.

References active_channel, box_r, Theme::channel_position_data, MWindow::preferences, Preferences::processors, rotater, temp_picon, and MWindow::theme.

SetChannelsCanvas::~SetChannelsCanvas  ) 
 

Definition at line 596 of file setformat.C.

References rotater, and temp_picon.


Member Function Documentation

int SetChannelsCanvas::button_press_event  ) 
 

Definition at line 672 of file setformat.C.

References EDLSession::achannel_positions, active_channel, EDLSession::audio_channels, degree_offset, draw(), get_dimensions(), SetFormatThread::new_settings, EDL::session, and thread.

int SetChannelsCanvas::button_release_event  ) 
 

Definition at line 701 of file setformat.C.

References active_channel, and draw().

int SetChannelsCanvas::cursor_motion_event  ) 
 

Definition at line 712 of file setformat.C.

References EDLSession::achannel_positions, active_channel, degree_offset, draw(), SetFormatThread::new_settings, EDL::session, and thread.

int SetChannelsCanvas::draw int  angle = -1  ) 
 

Definition at line 602 of file setformat.C.

References _, EDLSession::achannel_positions, EDLSession::audio_channels, box_r, Theme::channel_position_color, Theme::channel_position_data, get_dimensions(), mwindow, SetFormatThread::new_settings, rotater, EDL::session, temp_picon, MWindow::theme, and thread.

Referenced by button_press_event(), button_release_event(), SetFormatWindow::create_objects(), cursor_motion_event(), SetChannelsTextBox::handle_event(), and SetFormatThread::update().

int SetChannelsCanvas::get_dimensions int  channel_position,
int &  x,
int &  y,
int &  w,
int &  h
 

Definition at line 653 of file setformat.C.

References box_r, and MARGIN.

Referenced by button_press_event(), and draw().

int SetChannelsCanvas::poltoxy int &  x,
int &  y,
int  r,
int  d
[private]
 

int SetChannelsCanvas::xytopol int &  d,
int  x,
int  y
[private]
 


Member Data Documentation

int SetChannelsCanvas::active_channel [private]
 

Definition at line 94 of file setformat.h.

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

int SetChannelsCanvas::box_r [private]
 

Definition at line 96 of file setformat.h.

Referenced by draw(), get_dimensions(), and SetChannelsCanvas().

int SetChannelsCanvas::degree_offset [private]
 

Definition at line 95 of file setformat.h.

Referenced by button_press_event(), and cursor_motion_event().

MWindow* SetChannelsCanvas::mwindow [private]
 

Definition at line 100 of file setformat.h.

Referenced by draw().

RotateFrame* SetChannelsCanvas::rotater [private]
 

Definition at line 103 of file setformat.h.

Referenced by draw(), SetChannelsCanvas(), and ~SetChannelsCanvas().

VFrame* SetChannelsCanvas::temp_picon [private]
 

Definition at line 102 of file setformat.h.

Referenced by draw(), SetChannelsCanvas(), and ~SetChannelsCanvas().

SetFormatThread* SetChannelsCanvas::thread [private]
 

Definition at line 101 of file setformat.h.

Referenced by button_press_event(), cursor_motion_event(), and draw().


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