PatchGUI Class Reference

#include <patchgui.h>

Inherited by APatchGUI, and VPatchGUI.

Collaboration diagram for PatchGUI:

Collaboration graph
[legend]

Public Member Functions

 PatchGUI (MWindow *mwindow, PatchBay *patchbay, Track *track, int x, int y)
virtual ~PatchGUI ()
virtual int create_objects ()
virtual int reposition (int x, int y)
void toggle_behavior (int type, int value, BC_Toggle *toggle, int *output)
virtual int update (int x, int y)
virtual void synchronize_fade (float change)
void synchronize_faders (float change, int audio, int video)
char * calculate_nudge_text (int *changed)
int64_t calculate_nudge (char *string)

Data Fields

MWindowmwindow
PatchBaypatchbay
Tracktrack
int track_id
int data_type
int x
int y
int change_source
TitlePatchtitle
RecordPatchrecord
PlayPatchplay
GangPatchgang
DrawPatchdraw
MutePatchmute
ExpandPatchexpand
NudgePatchnudge
char string_return [BCTEXTLEN]

Detailed Description

Definition at line 23 of file patchgui.h.


Constructor & Destructor Documentation

PatchGUI::PatchGUI ( MWindow mwindow,
PatchBay patchbay,
Track track,
int  x,
int  y 
)

Definition at line 27 of file patchgui.C.

References change_source, draw, expand, gang, Track::get_id(), mute, nudge, play, record, title, and track_id.

Here is the call graph for this function:

PatchGUI::~PatchGUI (  )  [virtual]

Definition at line 52 of file patchgui.C.

References draw, expand, gang, mute, nudge, play, record, and title.


Member Function Documentation

int PatchGUI::create_objects (  )  [virtual]

Reimplemented in APatchGUI, and VPatchGUI.

Definition at line 65 of file patchgui.C.

References update(), x, and y.

Referenced by PatchBay::update().

Here is the call graph for this function:

int PatchGUI::reposition ( int  x,
int  y 
) [virtual]

void PatchGUI::toggle_behavior ( int  type,
int  value,
BC_Toggle toggle,
int *  output 
)

int PatchGUI::update ( int  x,
int  y 
) [virtual]

virtual void PatchGUI::synchronize_fade ( float  change  )  [inline, virtual]

Reimplemented in APatchGUI, and VPatchGUI.

Definition at line 40 of file patchgui.h.

void PatchGUI::synchronize_faders ( float  change,
int  audio,
int  video 
)

char * PatchGUI::calculate_nudge_text ( int *  changed  ) 

Definition at line 312 of file patchgui.C.

References Track::edl, Track::from_units(), BC_TextBox::get_text(), nudge, Track::nudge, EDLSession::nudge_seconds, EDL::session, string_return, and track.

Referenced by NudgePatch::update().

Here is the call graph for this function:

int64_t PatchGUI::calculate_nudge ( char *  string  ) 

Definition at line 331 of file patchgui.C.

References MWindow::edl, mwindow, EDLSession::nudge_seconds, EDL::session, Track::to_units(), and track.

Referenced by NudgePatch::button_press_event(), and NudgePatch::handle_event().

Here is the call graph for this function:


Field Documentation

Definition at line 50 of file patchgui.h.

Referenced by PatchGUI(), and PatchBay::update().

Definition at line 56 of file patchgui.h.

Referenced by PatchGUI(), reposition(), update(), and ~PatchGUI().

Definition at line 57 of file patchgui.h.

Referenced by PatchGUI(), reposition(), update(), and ~PatchGUI().

Definition at line 58 of file patchgui.h.

Referenced by PatchGUI(), reposition(), update(), and ~PatchGUI().

Definition at line 60 of file patchgui.h.

Referenced by PatchGUI(), reposition(), update(), and ~PatchGUI().

Definition at line 61 of file patchgui.h.

Referenced by PatchGUI(), reposition(), update(), and ~PatchGUI().

Definition at line 62 of file patchgui.h.

Referenced by PatchGUI(), reposition(), update(), and ~PatchGUI().

Definition at line 63 of file patchgui.h.

Referenced by PatchGUI(), reposition(), update(), and ~PatchGUI().

char PatchGUI::string_return[BCTEXTLEN]

Definition at line 65 of file patchgui.h.

Referenced by calculate_nudge_text().


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

Generated on Mon Apr 28 14:35:02 2008 for Cinelerra by  doxygen 1.5.5