#include <patchgui.h>
Inherited by APatchGUI, and VPatchGUI.

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 | |
| MWindow * | mwindow |
| PatchBay * | patchbay |
| Track * | track |
| int | track_id |
| int | data_type |
| int | x |
| int | y |
| int | change_source |
| TitlePatch * | title |
| RecordPatch * | record |
| PlayPatch * | play |
| GangPatch * | gang |
| DrawPatch * | draw |
| MutePatch * | mute |
| ExpandPatch * | expand |
| NudgePatch * | nudge |
| char | string_return [BCTEXTLEN] |
Definition at line 23 of file patchgui.h.
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] |
| 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, BC_Theme::get_image_set(), VFrame::get_w(), BC_WindowBase::get_w(), mute, mwindow, patchbay, play, Theme::play_h, record, BC_Toggle::reposition_window(), BC_TextBox::reposition_window(), MWindow::theme, title, Theme::title_h, and TRACE.
Referenced by VPatchGUI::reposition(), APatchGUI::reposition(), and update().

| 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, BC_WindowBase::lock_window(), Tracks::MUTE, mwindow, PatchBay::new_status, patchbay, Tracks::PLAY, Tracks::RECORD, MWindow::restart_brender(), Tracks::select_all(), BC_Toggle::set_value(), BC_WindowBase::shift_down(), MWindow::sync_parameters(), Tracks::total_of(), EDL::tracks, MWindow::undo, BC_WindowBase::unlock_window(), MWindowGUI::update(), 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 BC_WindowBase::add_subwindow(), Track::draw, draw, expand, Track::expand_view, Track::gang, gang, BC_Theme::get_image_set(), MutePatch::get_keyframe(), VFrame::get_w(), BC_WindowBase::get_w(), BC_WindowBase::h, mute, mwindow, patchbay, Track::play, play, Theme::play_h, Track::record, record, reposition(), MWindow::theme, Track::title, title, Theme::title_h, track, BC_Toggle::update(), BC_TextBox::update(), IntAuto::value, and Track::vertical_span().
Referenced by create_objects(), PatchBay::synchronize_faders(), PatchBay::synchronize_nudge(), VPatchGUI::update(), PatchBay::update(), and APatchGUI::update().

| virtual void PatchGUI::synchronize_fade | ( | float | change | ) | [inline, virtual] |
| 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().

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

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().
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().
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(), PatchBay::get_patch_of(), VFadePatch::handle_event(), TitlePatch::handle_event(), AFadePatch::handle_event(), NudgePatch::set_value(), VPatchGUI::update(), update(), and APatchGUI::update().
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().
| int PatchGUI::x |
Definition at line 52 of file patchgui.h.
Referenced by VPatchGUI::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(), create_objects(), APatchGUI::create_objects(), PatchBay::synchronize_faders(), and PatchBay::synchronize_nudge().
Definition at line 54 of file patchgui.h.
Referenced by VFadePatch::handle_event(), AFadePatch::handle_event(), PatchGUI(), VPatchGUI::synchronize_fade(), and APatchGUI::synchronize_fade().
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().
Definition at line 64 of file patchgui.h.
Referenced by calculate_nudge_text(), PatchGUI(), VPatchGUI::reposition(), APatchGUI::reposition(), VPatchGUI::update(), APatchGUI::update(), and ~PatchGUI().
| char PatchGUI::string_return[BCTEXTLEN] |
1.5.5