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

PatchGUI Class Reference

#include <patchgui.h>

Inheritance diagram for PatchGUI:

APatchGUI VPatchGUI List of all members.

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)

Public Attributes

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.

PatchGUI::~PatchGUI  )  [virtual]
 

Definition at line 52 of file patchgui.C.

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


Member Function Documentation

int64_t PatchGUI::calculate_nudge char *  string  ) 
 

Definition at line 330 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().

char * PatchGUI::calculate_nudge_text int *  changed  ) 
 

Definition at line 311 of file patchgui.C.

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

Referenced by NudgePatch::update().

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().

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

Reimplemented in APatchGUI, and VPatchGUI.

Definition at line 70 of file patchgui.C.

References draw, expand, gang, mute, mwindow, patchbay, play, Theme::play_h, record, MWindow::theme, title, and Theme::title_h.

Referenced by VPatchGUI::reposition(), APatchGUI::reposition(), and update().

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
 

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

Definition at line 218 of file patchgui.C.

References _, PatchBay::button_down, MWindow::cwindow, PatchBay::drag_operation, Tracks::DRAW, MWindow::edl, Tracks::EXPAND, Tracks::GANG, MWindow::gui, Tracks::MUTE, mwindow, PatchBay::new_status, patchbay, Tracks::PLAY, Tracks::RECORD, MWindow::restart_brender(), Tracks::select_all(), MWindow::sync_parameters(), Tracks::total_of(), EDL::tracks, MWindow::undo, CWindow::update(), PatchBay::update(), and MainUndo::update_undo().

Referenced by ExpandPatch::button_press_event(), MutePatch::button_press_event(), DrawPatch::button_press_event(), GangPatch::button_press_event(), RecordPatch::button_press_event(), and PlayPatch::button_press_event().

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

Reimplemented in APatchGUI, and VPatchGUI.

Definition at line 133 of file patchgui.C.

References Track::draw, draw, expand, Track::expand_view, Track::gang, gang, MutePatch::get_keyframe(), mute, mwindow, patchbay, Track::play, play, Theme::play_h, Track::record, record, reposition(), MWindow::theme, Track::title, title, Theme::title_h, track, IntAuto::value, and Track::vertical_span().

Referenced by create_objects(), PatchBay::synchronize_faders(), PatchBay::synchronize_nudge(), VPatchGUI::update(), and APatchGUI::update().


Member Data Documentation

int PatchGUI::change_source
 

Definition at line 54 of file patchgui.h.

Referenced by VFadePatch::handle_event(), AFadePatch::handle_event(), PatchGUI(), VPatchGUI::synchronize_fade(), and APatchGUI::synchronize_fade().

int PatchGUI::data_type
 

Definition at line 51 of file patchgui.h.

Referenced by APatchGUI::APatchGUI(), PatchBay::change_meter_format(), PatchBay::reset_meters(), PatchBay::stop_meters(), PatchBay::update_meters(), and VPatchGUI::VPatchGUI().

DrawPatch* PatchGUI::draw
 

Definition at line 61 of file patchgui.h.

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

ExpandPatch* PatchGUI::expand
 

Definition at line 63 of file patchgui.h.

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

GangPatch* PatchGUI::gang
 

Definition at line 60 of file patchgui.h.

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

MutePatch* PatchGUI::mute
 

Definition at line 62 of file patchgui.h.

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

MWindow* PatchGUI::mwindow
 

Definition at line 45 of file patchgui.h.

Referenced by calculate_nudge(), VPatchGUI::reposition(), reposition(), APatchGUI::reposition(), toggle_behavior(), VPatchGUI::update(), update(), and APatchGUI::update().

NudgePatch* PatchGUI::nudge
 

Definition at line 64 of file patchgui.h.

Referenced by calculate_nudge_text(), PatchGUI(), VPatchGUI::reposition(), APatchGUI::reposition(), VPatchGUI::update(), APatchGUI::update(), and ~PatchGUI().

PatchBay* PatchGUI::patchbay
 

Definition at line 46 of file patchgui.h.

Referenced by NudgePatch::button_press_event(), ExpandPatch::button_release_event(), MutePatch::button_release_event(), DrawPatch::button_release_event(), GangPatch::button_release_event(), RecordPatch::button_release_event(), PlayPatch::button_release_event(), VFadePatch::handle_event(), AFadePatch::handle_event(), reposition(), NudgePatch::set_value(), toggle_behavior(), VModePatch::update(), VPatchGUI::update(), update(), APatchGUI::update(), and VModePatch::VModePatch().

PlayPatch* PatchGUI::play
 

Definition at line 58 of file patchgui.h.

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

RecordPatch* PatchGUI::record
 

Definition at line 57 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().

TitlePatch* PatchGUI::title
 

Definition at line 56 of file patchgui.h.

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

Track* PatchGUI::track
 

Definition at line 47 of file patchgui.h.

Referenced by NudgePopup::activate_menu(), ExpandPatch::button_press_event(), MutePatch::button_press_event(), DrawPatch::button_press_event(), GangPatch::button_press_event(), RecordPatch::button_press_event(), PlayPatch::button_press_event(), NudgePatch::calculate_increment(), calculate_nudge(), calculate_nudge_text(), MutePatch::get_keyframe(), VFadePatch::handle_event(), TitlePatch::handle_event(), AFadePatch::handle_event(), NudgePatch::set_value(), VPatchGUI::update(), update(), and APatchGUI::update().

int PatchGUI::track_id
 

Definition at line 50 of file patchgui.h.

Referenced by PatchGUI().

int PatchGUI::x
 

Definition at line 52 of file patchgui.h.

Referenced by VPatchGUI::create_objects(), PerformancePrefs::create_objects(), create_objects(), APatchGUI::create_objects(), PatchBay::synchronize_faders(), and PatchBay::synchronize_nudge().

int PatchGUI::y
 

Definition at line 52 of file patchgui.h.

Referenced by VPatchGUI::create_objects(), PerformancePrefs::create_objects(), create_objects(), APatchGUI::create_objects(), PatchBay::synchronize_faders(), and PatchBay::synchronize_nudge().


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