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: