NCBI C++ ToolKit
Public Member Functions | Protected Member Functions | Private Attributes | List of all members
wxFileArtProvider Class Reference

Search Toolkit Book for wxFileArtProvider

#include <gui/widgets/wx/fileartprov.hpp>

+ Inheritance diagram for wxFileArtProvider:
+ Collaboration diagram for wxFileArtProvider:

Public Member Functions

 wxFileArtProvider ()
 
virtual ~wxFileArtProvider ()
 
void RegisterImageAlias (const wxArtID &anId, const wxArtClient &aClient, const wxSize &aSize, const wxImage &anImage)
 
int AddDirectory (wxString aDirName)
 
virtual void RegisterFileAlias (const wxArtID &anId, const wxArtClient &aClient, const wxSize &aSize, const wxString &aName, long aType=wxBITMAP_TYPE_ANY, int anIndex=-1)
 
void RegisterFileAlias (const wxArtID &anId, const wxArtClient &aClient, const wxString &aName, long aType=wxBITMAP_TYPE_ANY, int anIndex=-1)
 
void RegisterFileAlias (const wxArtID &anId, const wxString &aName, long aType=wxBITMAP_TYPE_ANY, int anIndex=-1)
 
void RemoveAlias (const wxArtID &anId, const wxArtClient &aClient=wxART_OTHER, const wxSize &aSize=wxDefaultSize)
 

Protected Member Functions

virtual wxBitmap CreateBitmap (const wxArtID &id, const wxArtClient &client, const wxSize &size)
 

Private Attributes

wxFileArtNameAndImageCachem_nameCache
 
wxFileArtDirNameSetm_DirNameSet
 

Detailed Description

Definition at line 48 of file fileartprov.hpp.

Constructor & Destructor Documentation

◆ wxFileArtProvider()

wxFileArtProvider::wxFileArtProvider ( )

Definition at line 130 of file fileartprov.cpp.

◆ ~wxFileArtProvider()

wxFileArtProvider::~wxFileArtProvider ( )
virtual

Definition at line 139 of file fileartprov.cpp.

References m_DirNameSet, and m_nameCache.

Member Function Documentation

◆ AddDirectory()

int wxFileArtProvider::AddDirectory ( wxString  aDirName)

◆ CreateBitmap()

wxBitmap wxFileArtProvider::CreateBitmap ( const wxArtID &  id,
const wxArtClient &  client,
const wxSize &  size 
)
protectedvirtual

◆ RegisterFileAlias() [1/3]

virtual void wxFileArtProvider::RegisterFileAlias ( const wxArtID &  anId,
const wxArtClient &  aClient,
const wxSize &  aSize,
const wxString &  aName,
long  aType = wxBITMAP_TYPE_ANY,
int  anIndex = -1 
)
virtual

Referenced by CBamUIDataSourceType::CBamUIDataSourceType(), CEditToolbar::CEditToolbar(), CErrorListCtrl::CErrorListCtrl(), CGenBankUIDataSourceType::CGenBankUIDataSourceType(), CGroupMapWidget::CGroupMapWidget(), CLBLASTUIDataSourceType::CLBLASTUIDataSourceType(), Core_RegisterCommands(), PT::CPTIcons::CPTIcons(), CIndProgressBar::Create(), CMacroFlowEditor::CreateControls(), CTableDataListCtrl::CTableDataListCtrl(), CTableImportListCtrl::CTableImportListCtrl(), CTooltipFrame::CTooltipFrame(), CwxTreeCtrlEx::CwxTreeCtrlEx(), CDataMiningPanel::Init(), CDiagConsolePanel::Init(), CEventTablePanel::Init(), CQueryParsePanel::Init(), CScriptPanel::Init(), CSelectionPanel::Init(), CConfigureTracksDlg::Init(), RegisterFileAlias(), CTableViewFactory::RegisterIconAliases(), CTaskViewFactory::RegisterIconAliases(), CAlignSpanViewFactory::RegisterIconAliases(), CAlnSummaryViewFactory::RegisterIconAliases(), CAnnotCompareViewFactory::RegisterIconAliases(), CCrossAlignViewFactory::RegisterIconAliases(), CDotMatrixViewFactory::RegisterIconAliases(), CMPCrossAlignViewFactory::RegisterIconAliases(), CMultiAlignViewFactory::RegisterIconAliases(), CPhyTreeViewFactory::RegisterIconAliases(), CSeqTextViewFactory::RegisterIconAliases(), CVcfTableViewFactory::RegisterIconAliases(), CFeatTableViewFactory::RegisterIconAliases(), CViewGraphicFactory::RegisterIconAliases(), CSequinDesktopViewFactory::RegisterIconAliases(), CTextViewFactory::RegisterIconAliases(), CFrameworkDemoToolBarFactory::RegisterImageAliases(), CWindowManager::RegisterImageAliases(), WidgetsWx_RegisterCommands(), CPhyloTreeWidget::x_CreateControls(), CWorkbench::x_CreateMainFrame(), CTextPanel::x_CreateMainToolbar(), CSeqDesktopPanel::x_CreateToolbar(), CGraphicPanel::x_CreateToolbar(), CDockMarkerWindow::x_InitBitmaps(), and CwxMainFrame::x_RegisterAliases().

◆ RegisterFileAlias() [2/3]

void wxFileArtProvider::RegisterFileAlias ( const wxArtID &  anId,
const wxArtClient &  aClient,
const wxString &  aName,
long  aType = wxBITMAP_TYPE_ANY,
int  anIndex = -1 
)
inline

Definition at line 68 of file fileartprov.hpp.

References RegisterFileAlias().

◆ RegisterFileAlias() [3/3]

void wxFileArtProvider::RegisterFileAlias ( const wxArtID &  anId,
const wxString &  aName,
long  aType = wxBITMAP_TYPE_ANY,
int  anIndex = -1 
)
inline

Definition at line 76 of file fileartprov.hpp.

References RegisterFileAlias().

◆ RegisterImageAlias()

void wxFileArtProvider::RegisterImageAlias ( const wxArtID &  anId,
const wxArtClient &  aClient,
const wxSize &  aSize,
const wxImage &  anImage 
)

◆ RemoveAlias()

void wxFileArtProvider::RemoveAlias ( const wxArtID &  anId,
const wxArtClient &  aClient = wxART_OTHER,
const wxSize &  aSize = wxDefaultSize 
)

Member Data Documentation

◆ m_DirNameSet

wxFileArtDirNameSet* wxFileArtProvider::m_DirNameSet
private

Definition at line 95 of file fileartprov.hpp.

Referenced by AddDirectory(), CreateBitmap(), and ~wxFileArtProvider().

◆ m_nameCache

wxFileArtNameAndImageCache* wxFileArtProvider::m_nameCache
private

Definition at line 94 of file fileartprov.hpp.

Referenced by CreateBitmap(), RemoveAlias(), and ~wxFileArtProvider().


The documentation for this class was generated from the following files:
Modified on Sun Apr 14 05:26:39 2024 by modify_doxy.py rev. 669887