MainMenu Class Reference

#include <mainmenu.h>

Inherits BC_MenuBar.

Collaboration diagram for MainMenu:

Collaboration graph
[legend]

Public Member Functions

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

Data Fields

MWindowGUIgui
MWindowmwindow
ThreadLoaderthreadloader
MenuAEffectsaeffects
MenuVEffectsveffects
Loadload_file
BC_RecentListrecent_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_Menufilemenu
BC_Menuaudiomenu
BC_Menuvideomenu
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 50 of file mainmenu.C.

MainMenu::~MainMenu (  ) 

Definition at line 57 of file mainmenu.C.


Member Function Documentation

int MainMenu::create_objects (  ) 

int MainMenu::load_defaults ( BC_Hash defaults  ) 

Reimplemented from BC_WindowBase.

Definition at line 200 of file mainmenu.C.

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

Referenced by MWindow::create_objects().

Here is the call graph for this function:

int MainMenu::save_defaults ( BC_Hash defaults  ) 

Reimplemented from BC_WindowBase.

Definition at line 232 of file mainmenu.C.

References save_aeffects(), and save_veffects().

Referenced by MWindowGUI::save_defaults().

Here is the call graph for this function:

int MainMenu::add_load ( char *  path  ) 

int MainMenu::init_loads ( BC_Hash defaults  ) 

int MainMenu::init_aeffects ( BC_Hash defaults  ) 

Definition at line 255 of file mainmenu.C.

References BC_Menu::add_item(), aeffect, aeffects, audiomenu, BC_WindowBase::BC_MenuItem, BC_Hash::get(), BC_WindowBase::title, and total_aeffects.

Referenced by load_defaults().

Here is the call graph for this function:

int MainMenu::save_aeffects ( BC_Hash defaults  ) 

Definition at line 320 of file mainmenu.C.

References aeffect, total_aeffects, and BC_Hash::update().

Referenced by save_defaults().

Here is the call graph for this function:

int MainMenu::add_aeffect ( char *  title  ) 

Definition at line 346 of file mainmenu.C.

References BC_Menu::add_item(), aeffect, aeffects, audiomenu, BC_WindowBase::BC_MenuItem, BC_MenuItem::set_text(), total_aeffects, and TOTAL_EFFECTS.

Referenced by MenuAEffectThread::fix_menu().

Here is the call graph for this function:

int MainMenu::init_veffects ( BC_Hash defaults  ) 

Definition at line 271 of file mainmenu.C.

References BC_Menu::add_item(), BC_WindowBase::BC_MenuItem, BC_Hash::get(), BC_WindowBase::title, total_veffects, veffect, veffects, and videomenu.

Referenced by load_defaults().

Here is the call graph for this function:

int MainMenu::save_veffects ( BC_Hash defaults  ) 

Definition at line 332 of file mainmenu.C.

References total_veffects, BC_Hash::update(), and veffect.

Referenced by save_defaults().

Here is the call graph for this function:

int MainMenu::add_veffect ( char *  title  ) 

Definition at line 387 of file mainmenu.C.

References BC_Menu::add_item(), BC_WindowBase::BC_MenuItem, BC_MenuItem::set_text(), TOTAL_EFFECTS, total_veffects, veffect, veffects, and videomenu.

Referenced by MenuVEffectThread::fix_menu().

Here is the call graph for this function:

int MainMenu::quit (  ) 

Definition at line 243 of file mainmenu.C.

References Quit::handle_event(), and quit_program.

Referenced by MWindowGUI::close_event().

Here is the call graph for this function:

int MainMenu::set_show_autos (  ) 

void MainMenu::update_toggles ( int  use_lock  ) 


Field Documentation

Definition at line 65 of file mainmenu.h.

Definition at line 66 of file mainmenu.h.

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

Definition at line 67 of file mainmenu.h.

Definition at line 68 of file mainmenu.h.

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

Definition at line 69 of file mainmenu.h.

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

Definition at line 71 of file mainmenu.h.

Referenced by create_objects().

Definition at line 72 of file mainmenu.h.

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

Definition at line 73 of file mainmenu.h.

Referenced by add_load(), and init_loads().

Definition at line 76 of file mainmenu.h.

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

Definition at line 77 of file mainmenu.h.

Referenced by create_objects().

Definition at line 78 of file mainmenu.h.

Referenced by create_objects().

Definition at line 79 of file mainmenu.h.

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

Definition at line 80 of file mainmenu.h.

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

Definition at line 81 of file mainmenu.h.

Referenced by create_objects(), and quit().

Definition at line 84 of file mainmenu.h.

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

Definition at line 85 of file mainmenu.h.

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

Definition at line 86 of file mainmenu.h.

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

Definition at line 86 of file mainmenu.h.

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

Definition at line 86 of file mainmenu.h.

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

Definition at line 88 of file mainmenu.h.

Referenced by create_objects(), MWindow::set_labels_follow_edits(), and update_toggles().

Definition at line 89 of file mainmenu.h.

Referenced by create_objects(), and update_toggles().

Definition at line 90 of file mainmenu.h.

Referenced by create_objects(), and update_toggles().

Definition at line 91 of file mainmenu.h.

Referenced by create_objects(), and update_toggles().

Definition at line 92 of file mainmenu.h.

Referenced by create_objects().

Definition at line 93 of file mainmenu.h.

Referenced by create_objects(), and update_toggles().

Definition at line 94 of file mainmenu.h.

Referenced by create_objects(), and update_toggles().

Definition at line 95 of file mainmenu.h.

Referenced by create_objects(), and update_toggles().

Definition at line 96 of file mainmenu.h.

Referenced by create_objects(), and update_toggles().

Definition at line 97 of file mainmenu.h.

Referenced by create_objects(), and update_toggles().

Definition at line 98 of file mainmenu.h.

Referenced by create_objects(), and update_toggles().

Definition at line 99 of file mainmenu.h.

Referenced by create_objects(), and update_toggles().

Definition at line 100 of file mainmenu.h.

Referenced by create_objects(), and update_toggles().

Definition at line 101 of file mainmenu.h.

Referenced by create_objects(), and update_toggles().

Definition at line 102 of file mainmenu.h.

Referenced by create_objects(), and update_toggles().

Definition at line 103 of file mainmenu.h.

Referenced by create_objects(), and update_toggles().

Definition at line 104 of file mainmenu.h.

Referenced by create_objects(), and update_toggles().

Definition at line 105 of file mainmenu.h.

Referenced by create_objects(), and update_toggles().

Definition at line 106 of file mainmenu.h.

Referenced by create_objects(), and update_toggles().

Definition at line 107 of file mainmenu.h.

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

Definition at line 108 of file mainmenu.h.

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

Definition at line 109 of file mainmenu.h.

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

Definition at line 110 of file mainmenu.h.

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

Definition at line 111 of file mainmenu.h.

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


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

Generated on Mon Apr 28 14:30:11 2008 for Cinelerra by  doxygen 1.5.5