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

VWindowGUI Class Reference

#include <vwindowgui.h>

List of all members.

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 ()
void update_sources (char *title)
void change_source (EDL *edl, char *title)
void drag_motion ()
int drag_stop ()

Public Attributes

MWindowmwindow
VWindowvwindow
VWindowCanvascanvas
VWindowSliderslider
BC_Title * fps_title
MainClockclock
VTimeBartimebar
VWindowZoomzoom_panel
VWindowTransporttransport
VWindowEditingedit_panel
VWindowMetersmeters
ArrayList< BC_ListBoxItem * > sources
ArrayList< LabelGUI * > labels
VWindowInPointin_point
VWindowOutPointout_point

Private Member Functions

void get_scrollbars (int &canvas_x, int &canvas_y, int &canvas_w, int &canvas_h)


Detailed Description

Definition at line 29 of file vwindowgui.h.


Constructor & Destructor Documentation

VWindowGUI::VWindowGUI MWindow mwindow,
VWindow vwindow
 

Definition at line 37 of file vwindowgui.C.

VWindowGUI::~VWindowGUI  ) 
 

Definition at line 53 of file vwindowgui.C.

References canvas, and transport.


Member Function Documentation

void VWindowGUI::change_source EDL edl,
char *  title
 

Definition at line 59 of file vwindowgui.C.

References VWindowSlider::set_position(), slider, timebar, TimeBar::update(), and update_sources().

Referenced by VWindow::change_source(), and VWindow::remove_source().

int VWindowGUI::close_event  ) 
 

Definition at line 274 of file vwindowgui.C.

References MWindow::gui, MWindowGUI::mainmenu, mwindow, MWindow::save_defaults(), MWindow::session, MainMenu::show_vwindow, and MainSession::show_vwindow.

Referenced by keypress_event().

int VWindowGUI::create_objects  ) 
 

Definition at line 139 of file vwindowgui.C.

References _, canvas, clock, TimeBar::create_objects(), Canvas::create_objects(), PlayTransport::create_objects(), EditPanel::create_objects(), MeterPanel::create_objects(), Theme::draw_vwindow_bg(), edit_panel, Theme::get_vwindow_sizes(), in_point, meters, mwindow, out_point, EditPanel::set_meters(), PlayTransport::set_slider(), slider, MWindow::theme, timebar, transport, update_sources(), Theme::vmeter_h, Theme::vmeter_x, Theme::vmeter_y, and vwindow.

Referenced by VWindow::create_objects().

void VWindowGUI::drag_motion  ) 
 

Definition at line 312 of file vwindowgui.C.

References canvas, MainSession::current_operation, VWindowCanvas::draw_refresh(), 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 334 of file vwindowgui.C.

References VWindow::asset, canvas, VWindow::change_source(), MainSession::current_operation, MainSession::drag_assets, MainSession::drag_clips, VWindowCanvas::draw_refresh(), mwindow, MWindow::session, 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]
 

int VWindowGUI::keypress_event  ) 
 

Definition at line 290 of file vwindowgui.C.

References close_event(), PlayTransport::keypress_event(), mwindow, MWindow::redo_entry(), transport, and MWindow::undo_entry().

int VWindowGUI::resize_event int  w,
int  h
 

Definition at line 224 of file vwindowgui.C.

References canvas, clock, Theme::draw_vwindow_bg(), edit_panel, Theme::get_vwindow_sizes(), meters, mwindow, PlayTransport::reposition_buttons(), EditPanel::reposition_buttons(), MeterPanel::reposition_window(), Canvas::reposition_window(), 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  ) 
 

Definition at line 267 of file vwindowgui.C.

References mwindow, MWindow::session, MainSession::vwindow_x, and MainSession::vwindow_y.

void VWindowGUI::update_sources char *  title  ) 
 

Definition at line 77 of file vwindowgui.C.

References EDL::assets, EDL::clips, MWindow::edl, mwindow, Asset::path, and sources.

Referenced by change_source(), and create_objects().


Member Data Documentation

VWindowCanvas* VWindowGUI::canvas
 

Definition at line 53 of file vwindowgui.h.

Referenced by create_objects(), VWindow::create_objects(), drag_motion(), drag_stop(), resize_event(), and ~VWindowGUI().

MainClock* VWindowGUI::clock
 

Definition at line 56 of file vwindowgui.h.

Referenced by create_objects(), resize_event(), VWindow::update_position(), and VTracking::update_tracker().

VWindowEditing* VWindowGUI::edit_panel
 

Definition at line 60 of file vwindowgui.h.

Referenced by create_objects(), and resize_event().

BC_Title* VWindowGUI::fps_title
 

Definition at line 55 of file vwindowgui.h.

VWindowInPoint* VWindowGUI::in_point
 

Definition at line 65 of file vwindowgui.h.

Referenced by create_objects().

ArrayList<LabelGUI*> VWindowGUI::labels
 

Definition at line 64 of file vwindowgui.h.

VWindowMeters* VWindowGUI::meters
 

Definition at line 62 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().

MWindow* VWindowGUI::mwindow
 

Definition at line 49 of file vwindowgui.h.

Referenced by close_event(), create_objects(), drag_motion(), drag_stop(), keypress_event(), resize_event(), translation_event(), and update_sources().

VWindowOutPoint* VWindowGUI::out_point
 

Definition at line 66 of file vwindowgui.h.

Referenced by create_objects().

VWindowSlider* VWindowGUI::slider
 

Definition at line 54 of file vwindowgui.h.

Referenced by change_source(), create_objects(), resize_event(), VWindow::update_position(), VTimeBar::update_preview(), and VTracking::update_tracker().

ArrayList<BC_ListBoxItem*> VWindowGUI::sources
 

Definition at line 63 of file vwindowgui.h.

Referenced by update_sources().

VTimeBar* VWindowGUI::timebar
 

Definition at line 57 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().

VWindowTransport* VWindowGUI::transport
 

Definition at line 59 of file vwindowgui.h.

Referenced by create_objects(), VWindow::create_objects(), keypress_event(), resize_event(), VTimeBar::select_label(), and ~VWindowGUI().

VWindow* VWindowGUI::vwindow
 

Definition at line 50 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().

VWindowZoom* VWindowGUI::zoom_panel
 

Definition at line 58 of file vwindowgui.h.


The documentation for this class was generated from the following files:
Generated on Sun Jan 8 13:39:29 2006 for Cinelerra-svn by  doxygen 1.4.4