#include <vwindowgui.h>
Inherits BC_Window.

Public Member Functions | |
| VWindowGUI (MWindow *mwindow, VWindow *vwindow) | |
| ~VWindowGUI () | |
| int | create_objects () |
| int | resize_event (int w, int h) |
| int | translation_event () |
| int | close_event () |
| int | keypress_event () |
| int | button_press_event () |
| int | cursor_leave_event () |
| int | cursor_enter_event () |
| int | button_release_event () |
| int | cursor_motion_event () |
| void | update_sources (char *title) |
| void | change_source (EDL *edl, char *title) |
| void | drag_motion () |
| int | drag_stop () |
Data Fields | |
| MWindow * | mwindow |
| VWindow * | vwindow |
| VWindowCanvas * | canvas |
| VWindowSlider * | slider |
| BC_Title * | fps_title |
| MainClock * | clock |
| VTimeBar * | timebar |
| VWindowZoom * | zoom_panel |
| VWindowTransport * | transport |
| VWindowEditing * | edit_panel |
| VWindowMeters * | meters |
| ArrayList< BC_ListBoxItem * > | sources |
| ArrayList< LabelGUI * > | labels |
| VWindowInPoint * | in_point |
| VWindowOutPoint * | out_point |
| char | loaded_title [BCTEXTLEN] |
Private Member Functions | |
| void | get_scrollbars (int &canvas_x, int &canvas_y, int &canvas_w, int &canvas_h) |
Definition at line 29 of file vwindowgui.h.
| VWindowGUI::~VWindowGUI | ( | ) |
| int VWindowGUI::create_objects | ( | ) |
Definition at line 141 of file vwindowgui.C.
References _, BC_Slider::activate(), BC_WindowBase::add_subwindow(), canvas, clock, TimeBar::create_objects(), Canvas::create_objects(), PlayTransport::create_objects(), EditPanel::create_objects(), MeterPanel::create_objects(), BC_WindowBase::deactivate(), Theme::draw_vwindow_bg(), edit_panel, MWindow::edl, BC_WindowBase::flash(), BC_Theme::get_image(), Theme::get_vwindow_sizes(), in_point, meters, mwindow, out_point, BC_WindowBase::set_icon(), EditPanel::set_meters(), PlayTransport::set_slider(), slider, MWindow::theme, timebar, transport, update_sources(), Theme::vmeter_h, Theme::vmeter_x, Theme::vmeter_y, Theme::vslider_w, Theme::vslider_x, Theme::vslider_y, Theme::vtime_w, Theme::vtime_x, Theme::vtime_y, Theme::vtimebar_h, Theme::vtimebar_w, Theme::vtimebar_x, Theme::vtimebar_y, Theme::vtransport_x, Theme::vtransport_y, and vwindow.
Referenced by VWindow::create_objects().

| int VWindowGUI::resize_event | ( | int | w, | |
| int | h | |||
| ) | [virtual] |
Reimplemented from BC_WindowBase.
Definition at line 218 of file vwindowgui.C.
References canvas, clock, Theme::draw_vwindow_bg(), edit_panel, BC_WindowBase::flash(), Theme::get_vwindow_sizes(), BC_WindowBase::get_x(), BC_WindowBase::get_y(), meters, mwindow, PlayTransport::reposition_buttons(), EditPanel::reposition_buttons(), MeterPanel::reposition_window(), Canvas::reposition_window(), BC_WindowBase::reposition_window(), BC_Slider::reposition_window(), BC_WindowBase::resize_event(), VTimeBar::resize_event(), MWindow::session, VWindowSlider::set_position(), slider, MWindow::theme, timebar, transport, Theme::vcanvas_h, Theme::vcanvas_w, Theme::vcanvas_x, Theme::vcanvas_y, Theme::vedit_x, Theme::vedit_y, Theme::vmeter_h, Theme::vmeter_x, Theme::vmeter_y, Theme::vslider_w, Theme::vslider_x, Theme::vslider_y, Theme::vtime_w, Theme::vtime_x, Theme::vtime_y, Theme::vtransport_x, Theme::vtransport_y, MainSession::vwindow_h, MainSession::vwindow_w, MainSession::vwindow_x, and MainSession::vwindow_y.
Referenced by SetFormatThread::apply_changes(), VWindowMeters::change_status_event(), MWindowGUI::default_positions(), and VWindowCanvas::zoom_resize_window().

| int VWindowGUI::translation_event | ( | ) | [virtual] |
Reimplemented from BC_WindowBase.
Definition at line 261 of file vwindowgui.C.
References BC_WindowBase::get_x(), BC_WindowBase::get_y(), mwindow, MWindow::session, MainSession::vwindow_x, and MainSession::vwindow_y.

| int VWindowGUI::close_event | ( | ) | [virtual] |
Reimplemented from BC_WindowBase.
Definition at line 268 of file vwindowgui.C.
References MWindow::gui, BC_WindowBase::hide_window(), BC_WindowBase::lock_window(), MWindowGUI::mainmenu, mwindow, MWindow::save_defaults(), MWindow::session, BC_MenuItem::set_checked(), MainMenu::show_vwindow, MainSession::show_vwindow, and BC_WindowBase::unlock_window().
Referenced by keypress_event().

| int VWindowGUI::keypress_event | ( | ) | [virtual] |
Reimplemented from BC_WindowBase.
Definition at line 284 of file vwindowgui.C.
References canvas, close_event(), ESC, BC_WindowBase::get_keypress(), PlayTransport::keypress_event(), BC_WindowBase::lock_window(), mwindow, MWindow::redo_entry(), MWindow::session, Canvas::start_fullscreen(), Canvas::stop_fullscreen(), transport, MWindow::undo_entry(), BC_WindowBase::unlock_window(), and MainSession::vwindow_fullscreen.

| int VWindowGUI::button_press_event | ( | ) | [virtual] |
Reimplemented from BC_WindowBase.
Definition at line 320 of file vwindowgui.C.
References Canvas::button_press_event_base(), canvas, and Canvas::get_canvas().

| int VWindowGUI::cursor_leave_event | ( | ) | [virtual] |
Reimplemented from BC_WindowBase.
Definition at line 327 of file vwindowgui.C.
References canvas, Canvas::cursor_leave_event_base(), and Canvas::get_canvas().

| int VWindowGUI::cursor_enter_event | ( | ) | [virtual] |
Reimplemented from BC_WindowBase.
Definition at line 334 of file vwindowgui.C.
References canvas, Canvas::cursor_enter_event_base(), and Canvas::get_canvas().

| int VWindowGUI::button_release_event | ( | ) | [virtual] |
Reimplemented from BC_WindowBase.
Definition at line 341 of file vwindowgui.C.
References Canvas::button_release_event(), canvas, and Canvas::get_canvas().

| int VWindowGUI::cursor_motion_event | ( | ) | [virtual] |
Reimplemented from BC_WindowBase.
Definition at line 348 of file vwindowgui.C.
References canvas, Canvas::cursor_motion_event(), Canvas::get_canvas(), and BC_WindowBase::unhide_cursor().

| void VWindowGUI::update_sources | ( | char * | title | ) |
Definition at line 79 of file vwindowgui.C.
References ArrayList< TYPE >::append(), EDL::assets, BCTEXTLEN, LocalSession::clip_title, EDL::clips, MWindow::edl, FileSystem::extract_name(), List< TYPE >::first, BC_ListBoxItem::get_text(), EDL::local_session, BC_WindowBase::lock_window(), mwindow, NEXT, ArrayList< TYPE >::remove_all_objects(), sources, ArrayList< TYPE >::total, BC_WindowBase::unlock_window(), and ArrayList< TYPE >::values.
Referenced by change_source(), and create_objects().

| void VWindowGUI::change_source | ( | EDL * | edl, | |
| char * | title | |||
| ) |
Definition at line 61 of file vwindowgui.C.
References BCTEXTLEN, loaded_title, BC_WindowBase::lock_window(), VWindowSlider::set_position(), BC_WindowBase::set_title(), slider, timebar, BC_WindowBase::unlock_window(), TimeBar::update(), and update_sources().
Referenced by VWindow::change_source(), and VWindow::remove_source().

| void VWindowGUI::drag_motion | ( | ) |
Definition at line 359 of file vwindowgui.C.
References canvas, MainSession::current_operation, BC_WindowBase::cursor_x, BC_WindowBase::cursor_y, VWindowCanvas::draw_refresh(), BC_WindowBase::get_cursor_over_window(), BC_WindowBase::get_hidden(), BC_WindowBase::get_relative_cursor_x(), BC_WindowBase::get_relative_cursor_y(), Canvas::h, mwindow, MWindow::session, MainSession::vcanvas_highlighted, Canvas::w, Canvas::x, and Canvas::y.
Referenced by AWindowAssets::drag_motion_event().

| int VWindowGUI::drag_stop | ( | ) |
Definition at line 381 of file vwindowgui.C.
References VWindow::asset, canvas, VWindow::change_source(), MainSession::current_operation, MainSession::drag_assets, MainSession::drag_clips, VWindowCanvas::draw_refresh(), BC_WindowBase::get_hidden(), mwindow, MWindow::session, ArrayList< TYPE >::total, ArrayList< TYPE >::values, MainSession::vcanvas_highlighted, and vwindow.
Referenced by AWindowAssets::drag_stop_event().

| void VWindowGUI::get_scrollbars | ( | int & | canvas_x, | |
| int & | canvas_y, | |||
| int & | canvas_w, | |||
| int & | canvas_h | |||
| ) | [private] |
Definition at line 54 of file vwindowgui.h.
Referenced by close_event(), create_objects(), drag_motion(), drag_stop(), keypress_event(), resize_event(), translation_event(), and update_sources().
Definition at line 55 of file vwindowgui.h.
Referenced by create_objects(), drag_stop(), VWindowCanvas::draw_refresh(), VWindowTransport::get_edl(), VTimeBar::get_edl(), VWindowTransport::goto_end(), and VWindowTransport::goto_start().
Definition at line 58 of file vwindowgui.h.
Referenced by button_press_event(), button_release_event(), create_objects(), VWindow::create_objects(), cursor_enter_event(), cursor_leave_event(), cursor_motion_event(), drag_motion(), drag_stop(), keypress_event(), resize_event(), and ~VWindowGUI().
Definition at line 59 of file vwindowgui.h.
Referenced by change_source(), create_objects(), resize_event(), VWindow::update_position(), VTimeBar::update_preview(), and VTracking::update_tracker().
Definition at line 60 of file vwindowgui.h.
Definition at line 61 of file vwindowgui.h.
Referenced by create_objects(), resize_event(), VWindow::update_position(), and VTracking::update_tracker().
Definition at line 62 of file vwindowgui.h.
Referenced by change_source(), VWindow::clear_inpoint(), VWindow::clear_outpoint(), create_objects(), VWindowSlider::handle_event(), VWindowEditing::next_label(), VWindowEditing::prev_label(), resize_event(), VWindow::set_inpoint(), VWindow::set_outpoint(), VWindowEditing::toggle_label(), VWindow::update(), and VTracking::update_tracker().
Definition at line 63 of file vwindowgui.h.
Definition at line 64 of file vwindowgui.h.
Referenced by create_objects(), VWindow::create_objects(), keypress_event(), resize_event(), VTimeBar::select_label(), and ~VWindowGUI().
Definition at line 67 of file vwindowgui.h.
Referenced by SetFormatThread::apply_changes(), PreferencesThread::apply_settings(), create_objects(), MWindow::reset_meters(), resize_event(), VTracking::stop_meters(), and VTracking::update_meters().
Definition at line 69 of file vwindowgui.h.
| char VWindowGUI::loaded_title[BCTEXTLEN] |
Definition at line 72 of file vwindowgui.h.
Referenced by change_source(), VWindowEditing::to_clip(), and VWindowGUI().
1.5.5