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

NudgePatch Class Reference

#include <patchgui.h>

List of all members.

Public Member Functions

 NudgePatch (MWindow *mwindow, PatchGUI *patch, int x, int y, int w)
int handle_event ()
int button_press_event ()
void update ()
void set_value (int64_t value)
int64_t calculate_increment ()

Public Attributes


Detailed Description

Definition at line 150 of file patchgui.h.

Constructor & Destructor Documentation

NudgePatch::NudgePatch MWindow mwindow,
PatchGUI patch,
int  x,
int  y,
int  w

Definition at line 712 of file patchgui.C.

References _.

Member Function Documentation

int NudgePatch::button_press_event  ) 

Definition at line 753 of file patchgui.C.

References NudgePopup::activate_menu(), PatchBay::button_press_event(), calculate_increment(), PatchGUI::calculate_nudge(), PatchBay::nudge_popup, patch, PatchGUI::patchbay, set_value(), and update().

int64_t NudgePatch::calculate_increment  ) 

Definition at line 790 of file patchgui.C.

References Track::data_type, Track::edl, EDLSession::frame_rate, patch, EDLSession::sample_rate, EDL::session, PatchGUI::track, and TRACK_AUDIO.

Referenced by button_press_event().

int NudgePatch::handle_event  ) 

Definition at line 728 of file patchgui.C.

References PatchGUI::calculate_nudge(), patch, and set_value().

void NudgePatch::set_value int64_t  value  ) 

Definition at line 734 of file patchgui.C.

References MainSession::changes_made, Track::data_type, Track::gang, MWindow::gui, mwindow, Track::nudge, patch, PatchGUI::patchbay, MWindow::restart_brender(), MWindow::session, MWindow::sync_parameters(), PatchBay::synchronize_nudge(), PatchGUI::track, TRACK_VIDEO, MWindow::undo, and MainUndo::update_undo().

Referenced by button_press_event(), and handle_event().

void NudgePatch::update  ) 

Definition at line 802 of file patchgui.C.

References PatchGUI::calculate_nudge_text(), patch, and PatchBay::update().

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

Member Data Documentation

MWindow* NudgePatch::mwindow

Definition at line 160 of file patchgui.h.

Referenced by set_value().

PatchGUI* NudgePatch::patch

Definition at line 161 of file patchgui.h.

Referenced by button_press_event(), calculate_increment(), handle_event(), set_value(), and update().

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