MWindowGUI Class Reference

#include <mwindowgui.h>

Inherits BC_Window.

Collaboration diagram for MWindowGUI:

Collaboration graph
[legend]

Public Member Functions

 MWindowGUI (MWindow *mwindow)
 ~MWindowGUI ()
int create_objects ()
void get_scrollbars ()
void redraw_time_dependancies ()
int focus_in_event ()
int focus_out_event ()
void update (int scrollbars, int canvas, int timebar, int zoombar, int patchbay, int clock, int buttonbar)
void update_title (char *path)
int translation_event ()
int resize_event (int w, int h)
int keypress_event ()
int close_event ()
int quit ()
int save_defaults (BC_Hash *defaults)
int menu_h ()
int show_message (char *message, int color=-1)
void show_error (char *message, int color=BLACK)
int repeat_event (int64_t duration)
int drag_motion ()
int drag_stop ()
void default_positions ()

Static Public Member Functions

static int visible (int64_t x1, int64_t x2, int64_t view_x1, int64_t view_x2)

Data Fields

MWindowmwindow
EditPopupedit_menu
PluginPopupplugin_menu
KeyframePopupkeyframe_menu
TransitionPopuptransition_menu
MainClockmainclock
MButtonsmbuttons
MTimeBartimebar
PatchBaypatchbay
MainMenumainmenu
ZoomBarzoombar
SampleScrollsamplescroll
StatusBarstatusbar
TrackScrolltrackscroll
TrackCanvascanvas
MainCursorcursor
int view_w
int view_h

Detailed Description

Definition at line 23 of file mwindowgui.h.


Constructor & Destructor Documentation

MWindowGUI::MWindowGUI ( MWindow mwindow  ) 

Definition at line 38 of file mwindowgui.C.

References canvas, cursor, samplescroll, and trackscroll.

MWindowGUI::~MWindowGUI (  ) 


Member Function Documentation

int MWindowGUI::create_objects (  ) 

void MWindowGUI::get_scrollbars (  ) 

void MWindowGUI::redraw_time_dependancies (  ) 

int MWindowGUI::focus_in_event (  )  [virtual]

Reimplemented from BC_WindowBase.

Definition at line 272 of file mwindowgui.C.

References cursor, and MainCursor::focus_in_event().

Here is the call graph for this function:

int MWindowGUI::focus_out_event (  )  [virtual]

Reimplemented from BC_WindowBase.

Definition at line 278 of file mwindowgui.C.

References cursor, and MainCursor::focus_out_event().

Here is the call graph for this function:

void MWindowGUI::update ( int  scrollbars,
int  canvas,
int  timebar,
int  zoombar,
int  patchbay,
int  clock,
int  buttonbar 
)

Definition at line 304 of file mwindowgui.C.

References MWindow::age_caches(), cursor, MWindow::edl, get_scrollbars(), LocalSession::get_selectionstart(), EDL::local_session, mainclock, mbuttons, mwindow, MainCursor::show(), MWindow::theme, EDL::tracks, MButtons::update(), MainClock::update(), and Tracks::update_y_pixels().

Referenced by SetFormatThread::apply_changes(), PreferencesThread::apply_settings(), MWindow::asset_to_rate(), MWindow::clear_entry(), MWindow::concatenate_tracks(), MWindow::cut(), MWindow::delete_track(), MWindow::delete_tracks(), MWindow::detach_transition(), ResourceThread::do_audio(), ResourceThread::do_video(), CWindowGUI::drag_stop(), MWindow::finish_modify_handles(), ShowTitles::handle_event(), ShowAssets::handle_event(), TransitionLengthText::handle_event(), PluginPopupOn::handle_event(), PluginPopupDetach::handle_event(), KeyframePopupDelete::handle_event(), GWindowToggle::handle_event(), MWindow::hide_plugin(), MWindow::insert_effects_cwindow(), keypress_event(), MWindow::map_audio(), MWindow::move_edits(), MWindow::move_effect(), MWindow::move_plugins_down(), MWindow::move_plugins_up(), MWindow::move_track_down(), MWindow::move_track_up(), MWindow::move_tracks_down(), MWindow::move_tracks_up(), MWindow::mute_selection(), MWindow::overwrite(), MWindow::paste(), MWindow::paste_assets(), MWindow::paste_audio_transition(), MWindow::paste_silence(), MWindow::paste_transition_cwindow(), MWindow::paste_video_transition(), MWindow::redo_entry(), MWindow::remove_assets_from_project(), Render::render(), Record::run(), PluginDialogThread::run(), MenuEffectThread::run(), ManualGoto::run(), AssetEdit::run(), MWindow::select_all(), CTimeBar::select_label(), MWindow::splice(), PatchGUI::toggle_behavior(), MWindow::trim_selection(), MWindow::undo_entry(), KeyframePopup::update(), and MWindow::update_project().

Here is the call graph for this function:

void MWindowGUI::update_title ( char *  path  ) 

Definition at line 254 of file mwindowgui.C.

References BCTEXTLEN, FileSystem::extract_name(), BC_WindowBase::flush(), and BC_WindowBase::set_title().

Here is the call graph for this function:

int MWindowGUI::translation_event (  )  [virtual]

Reimplemented from BC_WindowBase.

Definition at line 447 of file mwindowgui.C.

References BC_WindowBase::get_x(), BC_WindowBase::get_y(), mwindow, MainSession::mwindow_x, MainSession::mwindow_y, and MWindow::session.

Here is the call graph for this function:

int MWindowGUI::resize_event ( int  w,
int  h 
) [virtual]

int MWindowGUI::keypress_event (  )  [virtual]

int MWindowGUI::close_event (  )  [virtual]

Reimplemented from BC_WindowBase.

Definition at line 689 of file mwindowgui.C.

References mainmenu, and MainMenu::quit().

Here is the call graph for this function:

int MWindowGUI::quit (  ) 

int MWindowGUI::save_defaults ( BC_Hash defaults  ) 

Reimplemented from BC_WindowBase.

Definition at line 456 of file mwindowgui.C.

References BC_WindowBase::get_h(), BC_WindowBase::get_w(), mainmenu, BC_WindowBase::save_defaults(), MainMenu::save_defaults(), and BC_Hash::update().

Referenced by MWindow::save_defaults().

Here is the call graph for this function:

int MWindowGUI::menu_h (  ) 

Definition at line 694 of file mwindowgui.C.

References BC_WindowBase::get_h(), and mainmenu.

Here is the call graph for this function:

int MWindowGUI::show_message ( char *  message,
int  color = -1 
)

void MWindowGUI::show_error ( char *  message,
int  color = BLACK 
)

int MWindowGUI::repeat_event ( int64_t  duration  )  [virtual]

Reimplemented from BC_WindowBase.

Definition at line 439 of file mwindowgui.C.

References cursor, and MainCursor::repeat_event().

Here is the call graph for this function:

int MWindowGUI::drag_motion (  ) 

Definition at line 353 of file mwindowgui.C.

References canvas, TrackCanvas::drag_motion(), and BC_WindowBase::get_hidden().

Referenced by AWindowAssets::drag_motion_event().

Here is the call graph for this function:

int MWindowGUI::drag_stop (  ) 

Definition at line 361 of file mwindowgui.C.

References canvas, TrackCanvas::drag_stop(), and BC_WindowBase::get_hidden().

Referenced by AWindowAssets::drag_stop_event().

Here is the call graph for this function:

void MWindowGUI::default_positions (  ) 

int MWindowGUI::visible ( int64_t  x1,
int64_t  x2,
int64_t  view_x1,
int64_t  view_x2 
) [static]


Field Documentation

Definition at line 75 of file mwindowgui.h.

Referenced by create_objects(), TrackCanvas::do_tracks(), and ~MWindowGUI().

Definition at line 76 of file mwindowgui.h.

Referenced by create_objects(), TrackCanvas::do_plugins(), and ~MWindowGUI().

Definition at line 77 of file mwindowgui.h.

Referenced by create_objects(), TrackCanvas::do_keyframes(), and ~MWindowGUI().

Definition at line 78 of file mwindowgui.h.

Referenced by create_objects(), TrackCanvas::do_transitions(), and ~MWindowGUI().

Definition at line 89 of file mwindowgui.h.

Referenced by MWindow::add_audio_track_entry(), MWindow::add_video_track_entry(), PreferencesThread::apply_settings(), ZoomTextBox::button_press_event(), TimeBar::button_press_event(), MutePatch::button_press_event(), TimeBar::button_release_event(), CWindow::calculate_affected_auto(), MWindow::clear_automation(), MWindow::clear_default_keyframe(), create_objects(), MWindow::create_objects(), TimeBar::cursor_motion_event(), PatchBay::cursor_motion_event(), CWindowCanvas::cursor_motion_event(), MWindow::cut_automation(), MWindow::cut_default_keyframe(), ResourceThread::do_audio(), ResourceThread::do_video(), drag_motion(), drag_stop(), Tracking::draw(), MainCursor::draw(), MWindow::expand_autos(), MWindow::find_cursor(), MWindow::fit_autos(), MWindow::fit_selection(), MainCursor::flash(), get_scrollbars(), MWindow::goto_end(), MWindow::goto_start(), AutoZoom::handle_down_event(), ZoomTextBox::handle_event(), VModePatch::handle_event(), VFadePatch::handle_event(), PluginAutomation::handle_event(), ShowAutomation::handle_event(), ShowTransitions::handle_event(), TrackScroll::handle_event(), SampleScroll::handle_event(), TitlePatch::handle_event(), GWindowToggle::handle_event(), CWindowProjectorGUI::handle_event(), CWindowCameraGUI::handle_event(), APanPatch::handle_event(), AFadePatch::handle_event(), AutoZoom::handle_up_event(), CPlayback::init_cursor(), keypress_event(), MWindow::move_left(), MWindow::move_right(), MWindowGUI(), MWindow::next_edit_handle(), MWindow::next_label(), MWindow::paste_automation(), MWindow::paste_default_keyframe(), MWindow::prev_edit_handle(), MWindow::prev_label(), IndexFile::redraw_edits(), TimeBar::repeat_event(), resize_event(), MWindow::samplemovement(), MWindow::select_all(), MTimeBar::select_label(), MWindow::select_point(), TimeBar::select_region(), MWindow::set_brender_start(), MWindow::set_editing_mode(), SampleScroll::set_position(), ZoomBar::set_selection(), MWindow::shrink_autos(), MWindow::straighten_automation(), PluginServer::sync_parameters(), ZoomPanel::text_to_zoom(), MWindow::toggle_label(), MWindow::toggle_loop_playback(), MWindow::trackmovement(), MainCursor::update(), CTracking::update_scroll(), CTracking::update_tracker(), ZoomPanel::value_to_text(), and MWindow::zoom_amp().

Definition at line 93 of file mwindowgui.h.

Referenced by get_scrollbars().

Definition at line 93 of file mwindowgui.h.

Referenced by get_scrollbars().


The documentation for this class was generated from the following files:

Generated on Mon Apr 28 14:32:59 2008 for Cinelerra by  doxygen 1.5.5