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

MainMenu Class Reference

#include <mainmenu.h>

List of all members.

Public Member Functions

 MainMenu (MWindow *mwindow, MWindowGUI *gui)
 ~MainMenu ()
int create_objects ()
int load_defaults (Defaults *defaults)
int save_defaults (Defaults *defaults)
int add_load (char *new_path)
int init_loads (Defaults *defaults)
int init_aeffects (Defaults *defaults)
int save_aeffects (Defaults *defaults)
int add_aeffect (char *title)
int init_veffects (Defaults *defaults)
int save_veffects (Defaults *defaults)
int add_veffect (char *title)
int quit ()
int set_show_autos ()
void update_toggles (int use_lock)

Public Attributes

MWindowGUIgui
MWindowmwindow
ThreadLoaderthreadloader
MenuAEffectsaeffects
MenuVEffectsveffects
Loadload_file
BC_RecentList * recent_load
LoadPreviousload [TOTAL_LOADS]
RecordMenuItemrecord
RenderItemrender
Newnew_project
MenuAEffectItemaeffect [TOTAL_EFFECTS]
MenuVEffectItemveffect [TOTAL_EFFECTS]
Quitquit_program
Undoundo
Redoredo
int total_aeffects
int total_veffects
BC_Menu * filemenu
BC_Menu * audiomenu
BC_Menu * videomenu
LabelsFollowEditslabels_follow_edits
PluginsFollowEditsplugins_follow_edits
CursorOnFramescursor_on_frames
LoopPlaybackloop_playback
ShowAssetsshow_assets
ShowTitlesshow_titles
ShowTransitionsshow_transitions
ShowAutomationfade_automation
ShowAutomationmute_automation
ShowAutomationpan_automation
ShowAutomationcamera_x
ShowAutomationcamera_y
ShowAutomationcamera_z
ShowAutomationproject_x
ShowAutomationproject_y
ShowAutomationproject_z
PluginAutomationplugin_automation
ShowAutomationmask_automation
ShowAutomationmode_automation
ShowVWindowshow_vwindow
ShowAWindowshow_awindow
ShowCWindowshow_cwindow
ShowGWindowshow_gwindow
ShowLWindowshow_lwindow


Detailed Description

Definition at line 39 of file mainmenu.h.


Constructor & Destructor Documentation

MainMenu::MainMenu MWindow mwindow,
MWindowGUI gui
 

Definition at line 49 of file mainmenu.C.

MainMenu::~MainMenu  ) 
 

Definition at line 56 of file mainmenu.C.


Member Function Documentation

int MainMenu::add_aeffect char *  title  ) 
 

Definition at line 331 of file mainmenu.C.

References aeffect, aeffects, audiomenu, total_aeffects, and TOTAL_EFFECTS.

Referenced by MenuAEffectThread::fix_menu().

int MainMenu::add_load char *  new_path  ) 
 

Definition at line 413 of file mainmenu.C.

References filemenu, load, mwindow, recent_load, and LoadPrevious::set_path().

Referenced by LoadPrevious::handle_event(), main(), SaveAs::run(), and LoadFileThread::run().

int MainMenu::add_veffect char *  title  ) 
 

Definition at line 372 of file mainmenu.C.

References TOTAL_EFFECTS, total_veffects, veffect, veffects, and videomenu.

Referenced by MenuVEffectThread::fix_menu().

int MainMenu::create_objects  ) 
 

Definition at line 60 of file mainmenu.C.

References _, aeffects, audiomenu, camera_x, camera_y, camera_z, Quit::create_objects(), Load::create_objects(), New::create_objects(), cursor_on_frames, MWindow::defaults, fade_automation, filemenu, labels_follow_edits, load_file, loop_playback, mask_automation, mode_automation, mute_automation, mwindow, new_project, pan_automation, plugin_automation, plugins_follow_edits, project_x, project_y, project_z, quit_program, recent_load, record, redo, render, SaveAs::set_mainmenu(), show_assets, show_awindow, show_cwindow, show_gwindow, show_lwindow, show_titles, show_transitions, show_vwindow, PreferencesMenuitem::thread, undo, veffects, and videomenu.

Referenced by MWindowGUI::create_objects().

int MainMenu::init_aeffects Defaults *  defaults  ) 
 

Definition at line 250 of file mainmenu.C.

References aeffect, aeffects, audiomenu, and total_aeffects.

Referenced by load_defaults().

int MainMenu::init_loads Defaults *  defaults  ) 
 

Definition at line 282 of file mainmenu.C.

References filemenu, load, mwindow, recent_load, and LoadPrevious::set_path().

Referenced by load_defaults().

int MainMenu::init_veffects Defaults *  defaults  ) 
 

Definition at line 266 of file mainmenu.C.

References total_veffects, veffect, veffects, and videomenu.

Referenced by load_defaults().

int MainMenu::load_defaults Defaults *  defaults  ) 
 

Definition at line 195 of file mainmenu.C.

References init_aeffects(), init_loads(), and init_veffects().

Referenced by MWindow::create_objects().

int MainMenu::quit  ) 
 

Definition at line 238 of file mainmenu.C.

References Quit::handle_event(), and quit_program.

Referenced by MWindowGUI::close_event().

int MainMenu::save_aeffects Defaults *  defaults  ) 
 

Definition at line 305 of file mainmenu.C.

References aeffect, and total_aeffects.

Referenced by save_defaults().

int MainMenu::save_defaults Defaults *  defaults  ) 
 

Definition at line 227 of file mainmenu.C.

References save_aeffects(), and save_veffects().

Referenced by MWindowGUI::save_defaults().

int MainMenu::save_veffects Defaults *  defaults  ) 
 

Definition at line 317 of file mainmenu.C.

References total_veffects, and veffect.

Referenced by save_defaults().

int MainMenu::set_show_autos  ) 
 

void MainMenu::update_toggles int  use_lock  ) 
 

Definition at line 203 of file mainmenu.C.

References EDLSession::auto_conf, camera_x, camera_y, camera_z, EDLSession::cursor_on_frames, cursor_on_frames, MWindow::edl, fade_automation, MWindow::gui, EDLSession::labels_follow_edits, labels_follow_edits, EDL::local_session, LocalSession::loop_playback, loop_playback, mask_automation, mode_automation, mute_automation, mwindow, pan_automation, plugin_automation, AutoConf::plugins, EDLSession::plugins_follow_edits, plugins_follow_edits, project_x, project_y, project_z, EDL::session, EDLSession::show_titles, show_titles, show_transitions, AutoConf::transitions, and ShowAutomation::update_toggle().

Referenced by MWindow::create_objects(), MWindow::paste_edls(), and GWindowGUI::update_mwindow().


Member Data Documentation

MenuAEffectItem* MainMenu::aeffect[TOTAL_EFFECTS]
 

Definition at line 78 of file mainmenu.h.

Referenced by add_aeffect(), init_aeffects(), and save_aeffects().

MenuAEffects* MainMenu::aeffects
 

Definition at line 68 of file mainmenu.h.

Referenced by add_aeffect(), create_objects(), and init_aeffects().

BC_Menu * MainMenu::audiomenu
 

Definition at line 85 of file mainmenu.h.

Referenced by add_aeffect(), create_objects(), and init_aeffects().

ShowAutomation* MainMenu::camera_x
 

Definition at line 97 of file mainmenu.h.

Referenced by create_objects(), and update_toggles().

ShowAutomation* MainMenu::camera_y
 

Definition at line 98 of file mainmenu.h.

Referenced by create_objects(), and update_toggles().

ShowAutomation* MainMenu::camera_z
 

Definition at line 99 of file mainmenu.h.

Referenced by create_objects(), and update_toggles().

CursorOnFrames* MainMenu::cursor_on_frames
 

Definition at line 89 of file mainmenu.h.

Referenced by create_objects(), and update_toggles().

ShowAutomation* MainMenu::fade_automation
 

Definition at line 94 of file mainmenu.h.

Referenced by create_objects(), and update_toggles().

BC_Menu* MainMenu::filemenu
 

Definition at line 85 of file mainmenu.h.

Referenced by add_load(), create_objects(), and init_loads().

MWindowGUI* MainMenu::gui
 

Definition at line 65 of file mainmenu.h.

LabelsFollowEdits* MainMenu::labels_follow_edits
 

Definition at line 87 of file mainmenu.h.

Referenced by create_objects(), and update_toggles().

LoadPrevious* MainMenu::load[TOTAL_LOADS]
 

Definition at line 73 of file mainmenu.h.

Referenced by add_load(), and init_loads().

Load* MainMenu::load_file
 

Definition at line 71 of file mainmenu.h.

Referenced by create_objects().

LoopPlayback* MainMenu::loop_playback
 

Definition at line 90 of file mainmenu.h.

Referenced by create_objects(), and update_toggles().

ShowAutomation* MainMenu::mask_automation
 

Definition at line 104 of file mainmenu.h.

Referenced by create_objects(), and update_toggles().

ShowAutomation* MainMenu::mode_automation
 

Definition at line 105 of file mainmenu.h.

Referenced by create_objects(), and update_toggles().

ShowAutomation* MainMenu::mute_automation
 

Definition at line 95 of file mainmenu.h.

Referenced by create_objects(), and update_toggles().

MWindow* MainMenu::mwindow
 

Definition at line 66 of file mainmenu.h.

Referenced by add_load(), create_objects(), init_loads(), and update_toggles().

New* MainMenu::new_project
 

Definition at line 77 of file mainmenu.h.

Referenced by create_objects().

ShowAutomation* MainMenu::pan_automation
 

Definition at line 96 of file mainmenu.h.

Referenced by create_objects(), and update_toggles().

PluginAutomation* MainMenu::plugin_automation
 

Definition at line 103 of file mainmenu.h.

Referenced by create_objects(), and update_toggles().

PluginsFollowEdits* MainMenu::plugins_follow_edits
 

Definition at line 88 of file mainmenu.h.

Referenced by create_objects(), and update_toggles().

ShowAutomation* MainMenu::project_x
 

Definition at line 100 of file mainmenu.h.

Referenced by create_objects(), and update_toggles().

ShowAutomation* MainMenu::project_y
 

Definition at line 101 of file mainmenu.h.

Referenced by create_objects(), and update_toggles().

ShowAutomation* MainMenu::project_z
 

Definition at line 102 of file mainmenu.h.

Referenced by create_objects(), and update_toggles().

Quit* MainMenu::quit_program
 

Definition at line 80 of file mainmenu.h.

Referenced by create_objects(), and quit().

BC_RecentList* MainMenu::recent_load
 

Definition at line 72 of file mainmenu.h.

Referenced by add_load(), create_objects(), and init_loads().

RecordMenuItem* MainMenu::record
 

Definition at line 75 of file mainmenu.h.

Referenced by create_objects(), Quit::handle_event(), and Quit::run().

Redo* MainMenu::redo
 

Definition at line 82 of file mainmenu.h.

Referenced by create_objects(), MainUndo::push_undo_item(), MainUndo::redo(), and MainUndo::undo().

RenderItem* MainMenu::render
 

Definition at line 76 of file mainmenu.h.

Referenced by create_objects().

ShowAssets* MainMenu::show_assets
 

Definition at line 91 of file mainmenu.h.

Referenced by create_objects().

ShowAWindow* MainMenu::show_awindow
 

Definition at line 107 of file mainmenu.h.

Referenced by AWindowGUI::close_event(), create_objects(), and MWindow::show_awindow().

ShowCWindow* MainMenu::show_cwindow
 

Definition at line 108 of file mainmenu.h.

Referenced by create_objects(), CWindow::hide_window(), and MWindow::show_cwindow().

ShowGWindow* MainMenu::show_gwindow
 

Definition at line 109 of file mainmenu.h.

Referenced by GWindowGUI::close_event(), create_objects(), and MWindow::show_gwindow().

ShowLWindow* MainMenu::show_lwindow
 

Definition at line 110 of file mainmenu.h.

Referenced by LevelWindowGUI::close_event(), create_objects(), and MWindow::show_lwindow().

ShowTitles* MainMenu::show_titles
 

Definition at line 92 of file mainmenu.h.

Referenced by create_objects(), and update_toggles().

ShowTransitions* MainMenu::show_transitions
 

Definition at line 93 of file mainmenu.h.

Referenced by create_objects(), and update_toggles().

ShowVWindow* MainMenu::show_vwindow
 

Definition at line 106 of file mainmenu.h.

Referenced by VWindowGUI::close_event(), create_objects(), and MWindow::show_vwindow().

ThreadLoader* MainMenu::threadloader
 

Definition at line 67 of file mainmenu.h.

int MainMenu::total_aeffects
 

Definition at line 83 of file mainmenu.h.

Referenced by add_aeffect(), init_aeffects(), and save_aeffects().

int MainMenu::total_veffects
 

Definition at line 84 of file mainmenu.h.

Referenced by add_veffect(), init_veffects(), and save_veffects().

Undo* MainMenu::undo
 

Definition at line 81 of file mainmenu.h.

Referenced by create_objects(), MainUndo::push_undo_item(), MainUndo::redo(), and MainUndo::undo().

MenuVEffectItem* MainMenu::veffect[TOTAL_EFFECTS]
 

Definition at line 79 of file mainmenu.h.

Referenced by add_veffect(), init_veffects(), and save_veffects().

MenuVEffects* MainMenu::veffects
 

Definition at line 69 of file mainmenu.h.

Referenced by add_veffect(), create_objects(), and init_veffects().

BC_Menu * MainMenu::videomenu
 

Definition at line 85 of file mainmenu.h.

Referenced by add_veffect(), create_objects(), and init_veffects().


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