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

AWindowGUI Class Reference

#include <awindowgui.h>

List of all members.

Public Member Functions

 AWindowGUI (MWindow *mwindow, AWindow *awindow)
 ~AWindowGUI ()
int create_objects ()
int resize_event (int w, int h)
int translation_event ()
int close_event ()
int keypress_event ()
void update_assets ()
void sort_assets ()
void reposition_objects ()
int current_folder_number ()
int drag_motion ()
int drag_stop ()
void collect_assets ()
void create_persistent_folder (ArrayList< BC_ListBoxItem * > *output, int do_audio, int do_video, int is_realtime, int is_transition)
void copy_picons (ArrayList< BC_ListBoxItem * > *dst, ArrayList< BC_ListBoxItem * > *src, char *folder)
void sort_picons (ArrayList< BC_ListBoxItem * > *src, char *folder)
Assetselected_asset ()
PluginServerselected_plugin ()
AssetPiconselected_folder ()

Public Attributes

MWindowmwindow
AWindowawindow
AWindowAssetsasset_list
AWindowFoldersfolder_list
AWindowDividerdivider
ArrayList< BC_ListBoxItem * > assets
ArrayList< BC_ListBoxItem * > folders
ArrayList< BC_ListBoxItem * > aeffects
ArrayList< BC_ListBoxItem * > veffects
ArrayList< BC_ListBoxItem * > atransitions
ArrayList< BC_ListBoxItem * > vtransitions
ArrayList< BC_ListBoxItem * > displayed_assets [2]
char * asset_titles [ASSET_COLUMNS]
BC_Pixmap * folder_icon
BC_Pixmap * file_icon
BC_Pixmap * audio_icon
BC_Pixmap * video_icon
BC_Pixmap * clip_icon
NewFolderThreadnewfolder_thread
AssetPopupasset_menu
AssetListMenuassetlist_menu
FolderListMenufolderlist_menu
VFrame * temp_picon

Private Member Functions

void update_folder_list ()
void update_asset_list ()
void filter_displayed_assets ()


Detailed Description

Definition at line 66 of file awindowgui.h.


Constructor & Destructor Documentation

AWindowGUI::AWindowGUI MWindow mwindow,
AWindow awindow
 

Definition at line 270 of file awindowgui.C.

References temp_picon.

AWindowGUI::~AWindowGUI  ) 
 

Definition at line 292 of file awindowgui.C.

References aeffects, asset_menu, assetlist_menu, assets, atransitions, audio_icon, clip_icon, displayed_assets, file_icon, folder_icon, folderlist_menu, folders, newfolder_thread, temp_picon, veffects, and vtransitions.


Member Function Documentation

int AWindowGUI::close_event  ) 
 

Definition at line 479 of file awindowgui.C.

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

Referenced by keypress_event().

void AWindowGUI::collect_assets  ) 
 

Definition at line 748 of file awindowgui.C.

References AssetPicon::asset, asset_list, MainSession::drag_assets, MainSession::drag_clips, AssetPicon::edl, mwindow, and MWindow::session.

Referenced by AWindowAssets::drag_start_event(), AssetPopup::match_size(), AssetPopup::paste_assets(), and AssetPopup::update().

void AWindowGUI::copy_picons ArrayList< BC_ListBoxItem * > *  dst,
ArrayList< BC_ListBoxItem * > *  src,
char *  folder
 

Definition at line 763 of file awindowgui.C.

References AssetPicon::asset, LocalSession::clip_notes, AssetPicon::edl, LocalSession::folder, Asset::folder, and EDL::local_session.

Referenced by filter_displayed_assets().

int AWindowGUI::create_objects  ) 
 

Definition at line 312 of file awindowgui.C.

References _, aeffects, asset_list, asset_menu, asset_titles, assetlist_menu, atransitions, audio_icon, clip_icon, FolderListMenu::create_objects(), AssetListMenu::create_objects(), AssetPopup::create_objects(), create_persistent_folder(), divider, file_icon, folder_icon, folder_list, folderlist_menu, folders, mwindow, newfolder_thread, AssetPicon::persistent, MWindow::theme, veffects, video_icon, and vtransitions.

Referenced by AWindow::create_objects().

void AWindowGUI::create_persistent_folder ArrayList< BC_ListBoxItem * > *  output,
int  do_audio,
int  do_video,
int  is_realtime,
int  is_transition
 

Definition at line 566 of file awindowgui.C.

References AssetPicon::create_objects(), MWindow::create_plugindb(), and mwindow.

Referenced by create_objects().

int AWindowGUI::current_folder_number  ) 
 

Definition at line 892 of file awindowgui.C.

References EDLSession::current_folder, MWindow::edl, folders, mwindow, and EDL::session.

int AWindowGUI::drag_motion  ) 
 

Definition at line 906 of file awindowgui.C.

int AWindowGUI::drag_stop  ) 
 

Definition at line 914 of file awindowgui.C.

Referenced by AWindowAssets::drag_stop_event().

void AWindowGUI::filter_displayed_assets  )  [private]
 

Definition at line 821 of file awindowgui.C.

References aeffects, assets, atransitions, copy_picons(), EDLSession::current_folder, displayed_assets, MWindow::edl, mwindow, EDL::session, veffects, and vtransitions.

Referenced by update_assets().

int AWindowGUI::keypress_event  ) 
 

Definition at line 495 of file awindowgui.C.

References close_event().

void AWindowGUI::reposition_objects  ) 
 

Definition at line 461 of file awindowgui.C.

References Theme::adivider_h, Theme::adivider_w, Theme::adivider_x, Theme::adivider_y, Theme::afolders_h, Theme::afolders_w, Theme::afolders_x, Theme::afolders_y, Theme::alist_h, Theme::alist_w, Theme::alist_x, Theme::alist_y, asset_list, divider, folder_list, Theme::get_awindow_sizes(), mwindow, and MWindow::theme.

Referenced by AWindowDivider::cursor_motion_event().

int AWindowGUI::resize_event int  w,
int  h
 

Definition at line 404 of file awindowgui.C.

References Theme::abuttons_x, Theme::abuttons_y, Theme::adivider_h, Theme::adivider_w, Theme::adivider_x, Theme::adivider_y, Theme::afolders_h, Theme::afolders_w, Theme::afolders_x, Theme::afolders_y, Theme::alist_h, Theme::alist_w, Theme::alist_x, Theme::alist_y, asset_list, MainSession::awindow_h, MainSession::awindow_w, MainSession::awindow_x, MainSession::awindow_y, divider, Theme::draw_awindow_bg(), folder_list, Theme::get_awindow_sizes(), mwindow, MWindow::session, and MWindow::theme.

Referenced by MWindowGUI::default_positions().

Asset * AWindowGUI::selected_asset  ) 
 

Definition at line 921 of file awindowgui.C.

References AssetPicon::asset, and asset_list.

Referenced by AWindowInfo::handle_event().

AssetPicon * AWindowGUI::selected_folder  ) 
 

Definition at line 933 of file awindowgui.C.

References folder_list.

PluginServer * AWindowGUI::selected_plugin  ) 
 

Definition at line 927 of file awindowgui.C.

References asset_list, and AssetPicon::plugin.

void AWindowGUI::sort_assets  ) 
 

Definition at line 713 of file awindowgui.C.

References aeffects, assets, atransitions, EDLSession::current_folder, MWindow::edl, mwindow, EDL::session, sort_picons(), update_assets(), veffects, and vtransitions.

Referenced by AssetListSort::handle_event(), and AssetPopupSort::handle_event().

void AWindowGUI::sort_picons ArrayList< BC_ListBoxItem * > *  src,
char *  folder
 

Definition at line 794 of file awindowgui.C.

Referenced by sort_assets().

int AWindowGUI::translation_event  ) 
 

Definition at line 454 of file awindowgui.C.

References MainSession::awindow_x, MainSession::awindow_y, mwindow, and MWindow::session.

void AWindowGUI::update_asset_list  )  [private]
 

Definition at line 597 of file awindowgui.C.

References AssetPicon::asset, EDL::assets, assets, EDL::clips, AssetPicon::create_objects(), AssetPicon::edl, MWindow::edl, Asset::id, AssetPicon::id, AssetPicon::in_use, and mwindow.

Referenced by update_assets().

void AWindowGUI::update_assets  ) 
 

Definition at line 849 of file awindowgui.C.

References EDLSession::asset_columns, asset_list, asset_titles, EDLSession::assetlist_format, displayed_assets, MWindow::edl, filter_displayed_assets(), folder_list, EDLSession::folderlist_format, folders, mwindow, EDL::session, update_asset_list(), and update_folder_list().

Referenced by AWindow::create_objects(), MWindow::new_folder(), MWindow::paste(), MWindow::remove_assets_from_project(), ClipEdit::run(), AssetEdit::run(), AWindowFolders::selection_changed(), sort_assets(), MWindow::undo_entry(), and MWindow::update_project().

void AWindowGUI::update_folder_list  )  [private]
 

Definition at line 511 of file awindowgui.C.

References AssetPicon::create_objects(), MWindow::edl, EDL::folders, folders, AssetPicon::in_use, mwindow, and AssetPicon::persistent.

Referenced by update_assets().


Member Data Documentation

ArrayList<BC_ListBoxItem*> AWindowGUI::aeffects
 

Definition at line 113 of file awindowgui.h.

Referenced by create_objects(), filter_displayed_assets(), sort_assets(), and ~AWindowGUI().

AWindowAssets* AWindowGUI::asset_list
 

Definition at line 104 of file awindowgui.h.

Referenced by collect_assets(), create_objects(), AssetListFormat::handle_event(), reposition_objects(), resize_event(), selected_asset(), selected_plugin(), AWindowFolders::selection_changed(), and update_assets().

AssetPopup* AWindowGUI::asset_menu
 

Definition at line 133 of file awindowgui.h.

Referenced by create_objects(), AWindowAssets::selection_changed(), and ~AWindowGUI().

char* AWindowGUI::asset_titles[ASSET_COLUMNS]
 

Definition at line 122 of file awindowgui.h.

Referenced by create_objects(), and update_assets().

AssetListMenu* AWindowGUI::assetlist_menu
 

Definition at line 134 of file awindowgui.h.

Referenced by AWindowAssets::button_press_event(), create_objects(), AWindowAssets::selection_changed(), and ~AWindowGUI().

ArrayList<BC_ListBoxItem*> AWindowGUI::assets
 

Definition at line 111 of file awindowgui.h.

Referenced by filter_displayed_assets(), sort_assets(), update_asset_list(), and ~AWindowGUI().

ArrayList<BC_ListBoxItem*> AWindowGUI::atransitions
 

Definition at line 115 of file awindowgui.h.

Referenced by create_objects(), filter_displayed_assets(), sort_assets(), and ~AWindowGUI().

BC_Pixmap* AWindowGUI::audio_icon
 

Definition at line 127 of file awindowgui.h.

Referenced by create_objects(), AssetPicon::create_objects(), AssetPicon::~AssetPicon(), and ~AWindowGUI().

AWindow* AWindowGUI::awindow
 

Definition at line 102 of file awindowgui.h.

Referenced by AWindowInfo::handle_event(), and AssetPopupInfo::handle_event().

BC_Pixmap* AWindowGUI::clip_icon
 

Definition at line 129 of file awindowgui.h.

Referenced by create_objects(), AssetPicon::create_objects(), AssetPicon::~AssetPicon(), and ~AWindowGUI().

ArrayList<BC_ListBoxItem*> AWindowGUI::displayed_assets[2]
 

Definition at line 120 of file awindowgui.h.

Referenced by filter_displayed_assets(), update_assets(), and ~AWindowGUI().

AWindowDivider* AWindowGUI::divider
 

Definition at line 106 of file awindowgui.h.

Referenced by create_objects(), reposition_objects(), and resize_event().

BC_Pixmap* AWindowGUI::file_icon
 

Definition at line 126 of file awindowgui.h.

Referenced by create_objects(), AssetPicon::create_objects(), AssetPicon::~AssetPicon(), and ~AWindowGUI().

BC_Pixmap* AWindowGUI::folder_icon
 

Definition at line 125 of file awindowgui.h.

Referenced by create_objects(), AssetPicon::~AssetPicon(), and ~AWindowGUI().

AWindowFolders* AWindowGUI::folder_list
 

Definition at line 105 of file awindowgui.h.

Referenced by create_objects(), FolderListFormat::handle_event(), AWindowDeleteFolder::handle_event(), reposition_objects(), resize_event(), selected_folder(), and update_assets().

FolderListMenu* AWindowGUI::folderlist_menu
 

Definition at line 135 of file awindowgui.h.

Referenced by AWindowFolders::button_press_event(), create_objects(), and ~AWindowGUI().

ArrayList<BC_ListBoxItem*> AWindowGUI::folders
 

Definition at line 112 of file awindowgui.h.

Referenced by create_objects(), current_folder_number(), update_assets(), update_folder_list(), and ~AWindowGUI().

MWindow* AWindowGUI::mwindow
 

Definition at line 101 of file awindowgui.h.

Referenced by close_event(), collect_assets(), create_objects(), create_persistent_folder(), current_folder_number(), filter_displayed_assets(), reposition_objects(), resize_event(), sort_assets(), translation_event(), update_asset_list(), update_assets(), and update_folder_list().

NewFolderThread* AWindowGUI::newfolder_thread
 

Definition at line 130 of file awindowgui.h.

Referenced by create_objects(), AWindowNewFolder::handle_event(), and ~AWindowGUI().

VFrame* AWindowGUI::temp_picon
 

Definition at line 137 of file awindowgui.h.

Referenced by AWindowGUI(), AssetPicon::create_objects(), and ~AWindowGUI().

ArrayList<BC_ListBoxItem*> AWindowGUI::veffects
 

Definition at line 114 of file awindowgui.h.

Referenced by create_objects(), filter_displayed_assets(), sort_assets(), and ~AWindowGUI().

BC_Pixmap* AWindowGUI::video_icon
 

Definition at line 128 of file awindowgui.h.

Referenced by create_objects(), AssetPicon::create_objects(), and AssetPicon::~AssetPicon().

ArrayList<BC_ListBoxItem*> AWindowGUI::vtransitions
 

Definition at line 116 of file awindowgui.h.

Referenced by create_objects(), filter_displayed_assets(), sort_assets(), and ~AWindowGUI().


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