SetChannelsCanvas Class Reference

#include <setformat.h>

Inherits BC_SubWindow.

Collaboration diagram for SetChannelsCanvas:

Collaboration graph
[legend]

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
VFrametemp_picon
RotateFramerotater

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 
)

SetChannelsCanvas::~SetChannelsCanvas (  ) 

Definition at line 631 of file setformat.C.

References rotater, and temp_picon.


Member Function Documentation

int SetChannelsCanvas::draw ( int  angle = -1  ) 

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

Definition at line 688 of file setformat.C.

References box_r, BC_WindowBase::get_h(), BC_WindowBase::get_w(), MARGIN, and Units::polar_to_xy().

Referenced by button_press_event(), and draw().

Here is the call graph for this function:

int SetChannelsCanvas::button_press_event (  )  [virtual]

int SetChannelsCanvas::button_release_event (  )  [virtual]

Reimplemented from BC_WindowBase.

Definition at line 736 of file setformat.C.

References active_channel, and draw().

Here is the call graph for this function:

int SetChannelsCanvas::cursor_motion_event (  )  [virtual]

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

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


Field Documentation

Definition at line 95 of file setformat.h.

Referenced by button_press_event(), and cursor_motion_event().

int SetChannelsCanvas::box_r [private]

Definition at line 96 of file setformat.h.

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

Definition at line 100 of file setformat.h.

Referenced by draw().

Definition at line 101 of file setformat.h.

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

Definition at line 102 of file setformat.h.

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

Definition at line 103 of file setformat.h.

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


The documentation for this class was generated from the following files:

Generated on Mon Apr 28 14:42:53 2008 for Cinelerra by  doxygen 1.5.5