#include <vpatchgui.h>
Inherits BC_PopupMenu.

Public Member Functions | |
| VModePatch (MWindow *mwindow, VPatchGUI *patch, int x, int y) | |
| int | handle_event () |
| int | create_objects () |
| void | update (int mode) |
Static Public Member Functions | |
| static char * | mode_to_text (int mode) |
| static IntAuto * | get_keyframe (MWindow *mwindow, VPatchGUI *patch) |
Data Fields | |
| MWindow * | mwindow |
| VPatchGUI * | patch |
| int | mode |
Definition at line 44 of file vpatchgui.h.
Definition at line 242 of file vpatchgui.C.
References get_keyframe(), mode, PatchBay::mode_to_icon(), PatchGUI::patchbay, BC_PopupMenu::set_icon(), BC_WindowBase::set_tooltip(), and IntAuto::value.

| int VModePatch::handle_event | ( | ) | [virtual] |
Reimplemented from BC_PopupMenu.
Definition at line 258 of file vpatchgui.C.
References _, EDLSession::auto_conf, Autos::auto_exists_for_editing(), Track::automation, AutoConf::autos, Automation::autos, MWindowGUI::canvas, MainSession::changes_made, TrackCanvas::draw_overlays(), MWindow::edl, BC_WindowBase::flash(), Autos::get_auto_for_editing(), LocalSession::get_selectionstart(), MWindow::gui, EDL::local_session, mode, mwindow, patch, MWindow::session, EDL::session, MWindow::sync_parameters(), MWindow::undo, update(), MainUndo::update_undo(), IntAuto::value, and VPatchGUI::vtrack.
Referenced by VModePatchItem::handle_event().

| int VModePatch::create_objects | ( | ) |
Definition at line 308 of file vpatchgui.C.
References BC_PopupMenu::add_item(), and mode_to_text().
Referenced by VPatchGUI::update().

| char * VModePatch::mode_to_text | ( | int | mode | ) | [static] |
Definition at line 294 of file vpatchgui.C.
References EDL::align_to_frame(), Track::automation, Automation::autos, MWindow::edl, Autos::get_prev_auto(), LocalSession::get_selectionstart(), EDL::local_session, VTrack::to_units(), and VPatchGUI::vtrack.
Referenced by VPatchGUI::update(), and VModePatch().

| void VModePatch::update | ( | int | mode | ) |
Definition at line 320 of file vpatchgui.C.
References BC_PopupMenu::get_item(), VModePatchItem::mode, PatchBay::mode_to_icon(), patch, PatchGUI::patchbay, BC_MenuItem::set_checked(), BC_PopupMenu::set_icon(), and BC_PopupMenu::total_items().
Referenced by handle_event(), and VPatchGUI::update().

| int VModePatch::mode |
Definition at line 57 of file vpatchgui.h.
Referenced by VModePatchItem::handle_event(), handle_event(), VModePatch(), and VModePatchItem::VModePatchItem().
1.5.5