#include <patchgui.h>
Inherits BC_TextBox.

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 () |
Data Fields | |
| MWindow * | mwindow |
| PatchGUI * | patch |
Definition at line 150 of file patchgui.h.
Definition at line 713 of file patchgui.C.
References _, and BC_WindowBase::set_tooltip().

| int NudgePatch::handle_event | ( | ) | [virtual] |
Reimplemented from BC_TextBox.
Definition at line 729 of file patchgui.C.
References PatchGUI::calculate_nudge(), BC_TextBox::get_text(), patch, and set_value().

| int NudgePatch::button_press_event | ( | ) | [virtual] |
Reimplemented from BC_TextBox.
Definition at line 754 of file patchgui.C.
References NudgePopup::activate_menu(), BC_TextBox::button_press_event(), calculate_increment(), PatchGUI::calculate_nudge(), BC_WindowBase::cursor_inside(), BC_WindowBase::get_buttonpress(), BC_TextBox::get_text(), BC_WindowBase::is_event_win(), PatchBay::nudge_popup, patch, PatchGUI::patchbay, set_value(), and update().

| void NudgePatch::update | ( | ) |
Definition at line 803 of file patchgui.C.
References PatchGUI::calculate_nudge_text(), patch, and BC_TextBox::update().
Referenced by button_press_event(), VPatchGUI::update(), and APatchGUI::update().

| void NudgePatch::set_value | ( | int64_t | value | ) |
Definition at line 735 of file patchgui.C.
References MainSession::changes_made, Track::data_type, Track::gang, MWindow::gui, BC_WindowBase::lock_window(), mwindow, Track::nudge, patch, PatchGUI::patchbay, MWindow::restart_brender(), MWindow::session, MWindow::sync_parameters(), PatchBay::synchronize_nudge(), PatchGUI::track, TRACK_VIDEO, MWindow::undo, BC_WindowBase::unlock_window(), and MainUndo::update_undo().
Referenced by button_press_event(), and handle_event().

| int64_t NudgePatch::calculate_increment | ( | ) |
Definition at line 791 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().
Definition at line 161 of file patchgui.h.
Referenced by button_press_event(), calculate_increment(), handle_event(), set_value(), and update().
1.5.5