AWindowGUI Class Reference

#include <awindowgui.h>

Inherits BC_Window.

Collaboration diagram for AWindowGUI:

Collaboration graph
[legend]

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 async_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 create_label_folder ()
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 ()
int create_custom_xatoms ()
virtual int recieve_custom_xatoms (xatom_event *event)

Data Fields

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 * > labellist
ArrayList< BC_ListBoxItem * > displayed_assets [2]
char * asset_titles [ASSET_COLUMNS]
BC_Pixmapfolder_icon
BC_Pixmapfile_icon
BC_Pixmapaudio_icon
BC_Pixmapvideo_icon
BC_Pixmapclip_icon
NewFolderThreadnewfolder_thread
AssetPopupasset_menu
LabelPopuplabel_menu
AssetListMenuassetlist_menu
FolderListMenufolderlist_menu
VFrametemp_picon
int allow_iconlisting

Private Member Functions

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

Private Attributes

Atom UpdateAssetsXAtom

Detailed Description

Definition at line 71 of file awindowgui.h.


Constructor & Destructor Documentation

AWindowGUI::AWindowGUI ( MWindow mwindow,
AWindow awindow 
)

Definition at line 303 of file awindowgui.C.

References allow_iconlisting, and temp_picon.

AWindowGUI::~AWindowGUI (  ) 


Member Function Documentation

int AWindowGUI::create_objects (  ) 

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

int AWindowGUI::translation_event (  )  [virtual]

Reimplemented from BC_WindowBase.

Definition at line 520 of file awindowgui.C.

References MainSession::awindow_x, MainSession::awindow_y, BC_WindowBase::get_x(), BC_WindowBase::get_y(), mwindow, and MWindow::session.

Here is the call graph for this function:

int AWindowGUI::close_event (  )  [virtual]

int AWindowGUI::keypress_event (  )  [virtual]

Reimplemented from BC_WindowBase.

Definition at line 576 of file awindowgui.C.

References close_event(), BC_WindowBase::ctrl_down(), and BC_WindowBase::get_keypress().

Here is the call graph for this function:

void AWindowGUI::async_update_assets (  ) 

void AWindowGUI::sort_assets (  ) 

void AWindowGUI::reposition_objects (  ) 

int AWindowGUI::current_folder_number (  ) 

Definition at line 1042 of file awindowgui.C.

References EDLSession::current_folder, MWindow::edl, folders, BC_ListBoxItem::get_text(), mwindow, EDL::session, ArrayList< TYPE >::total, and ArrayList< TYPE >::values.

Here is the call graph for this function:

int AWindowGUI::drag_motion (  ) 

Definition at line 1056 of file awindowgui.C.

References BC_WindowBase::get_hidden().

Here is the call graph for this function:

int AWindowGUI::drag_stop (  ) 

Definition at line 1064 of file awindowgui.C.

References BC_WindowBase::get_hidden().

Referenced by AWindowAssets::drag_stop_event().

Here is the call graph for this function:

void AWindowGUI::collect_assets (  ) 

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

Definition at line 677 of file awindowgui.C.

References ArrayList< TYPE >::append(), AssetPicon::create_objects(), MWindow::create_plugindb(), mwindow, ArrayList< TYPE >::total, and ArrayList< TYPE >::values.

Referenced by create_objects().

Here is the call graph for this function:

void AWindowGUI::create_label_folder (  ) 

Definition at line 708 of file awindowgui.C.

References ArrayList< TYPE >::append(), AssetPicon::create_objects(), MWindow::edl, List< TYPE >::first, labellist, EDL::labels, mwindow, and NEXT.

Referenced by create_objects(), and update_assets().

Here is the call graph for this function:

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

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

Asset * AWindowGUI::selected_asset (  ) 

Definition at line 1071 of file awindowgui.C.

References AssetPicon::asset, asset_list, and BC_ListBox::get_selection().

Referenced by AWindowInfo::handle_event().

Here is the call graph for this function:

PluginServer * AWindowGUI::selected_plugin (  ) 

Definition at line 1077 of file awindowgui.C.

References asset_list, BC_ListBox::get_selection(), and AssetPicon::plugin.

Here is the call graph for this function:

AssetPicon * AWindowGUI::selected_folder (  ) 

Definition at line 1083 of file awindowgui.C.

References folder_list, and BC_ListBox::get_selection().

Here is the call graph for this function:

int AWindowGUI::create_custom_xatoms (  ) 

Definition at line 594 of file awindowgui.C.

References BC_WindowBase::create_xatom(), and UpdateAssetsXAtom.

Referenced by create_objects().

Here is the call graph for this function:

int AWindowGUI::recieve_custom_xatoms ( xatom_event event  )  [virtual]

Reimplemented from BC_WindowBase.

Definition at line 599 of file awindowgui.C.

References xatom_event::message_type, update_assets(), and UpdateAssetsXAtom.

Here is the call graph for this function:

void AWindowGUI::update_folder_list (  )  [private]

void AWindowGUI::update_asset_list (  )  [private]

void AWindowGUI::filter_displayed_assets (  )  [private]

void AWindowGUI::update_assets (  )  [private]


Field Documentation

Definition at line 112 of file awindowgui.h.

Referenced by create_objects(), and reposition_objects().

Definition at line 117 of file awindowgui.h.

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

Definition at line 119 of file awindowgui.h.

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

Definition at line 120 of file awindowgui.h.

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

Definition at line 121 of file awindowgui.h.

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

Definition at line 122 of file awindowgui.h.

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

Definition at line 127 of file awindowgui.h.

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

char* AWindowGUI::asset_titles[ASSET_COLUMNS]

Definition at line 129 of file awindowgui.h.

Referenced by create_objects(), filter_displayed_assets(), and update_assets().

Definition at line 132 of file awindowgui.h.

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

Definition at line 137 of file awindowgui.h.

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

Definition at line 140 of file awindowgui.h.

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

Definition at line 141 of file awindowgui.h.

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

Definition at line 143 of file awindowgui.h.

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

Definition at line 145 of file awindowgui.h.

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

Definition at line 160 of file awindowgui.h.

Referenced by async_update_assets(), create_custom_xatoms(), and recieve_custom_xatoms().


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

Generated on Mon Apr 28 14:12:09 2008 for Cinelerra by  doxygen 1.5.5