Main Page | Class Hierarchy | Compound List | File List | Compound Members | File Members | Related Pages

cWindowFrame.h

Go to the documentation of this file.
00001 
00014 #ifndef _cWindowFrame_h
00015 #define _cWindowFrame_h
00016 #include "TypesDef.h"
00017 
00018 #include "cFileTabGuiAct.h"             // For Files Tab.
00019 #include "cMovieTabGuiAct.h"    // For Movies Tab.
00020 #include "cSoftwareTabGuiAct.h" // For Softwares Tab.
00021 #include "cMusicTabGuiAct.h"    // For Musics Tab.
00022 
00023 #include <string>
00024 using std::string;
00025 
00026 class cWindowFrame: public wxFrame
00027 {
00028 public:
00030         cWindowFrame(const wxString sTitle, const int iPosX, const int iPosY, int iWidth, int iHeight);
00031 
00033         ~cWindowFrame(void);
00034         
00036         void EnableNotebook(void);
00037         
00039         void SetPrgTitle(string sTitle);
00040         
00042         void DisplayInfoListCtrl(void);
00043         
00044         
00045 protected:
00046         
00047         // ID of menu items.
00048         enum
00049         { 
00050                 MENU_FILE_OPEN_DB, MENU_FILE_CONNECT, MENU_FILE_QUIT,
00051                 MENU_OPTIONS_PREFERENCES,
00052                 MENU_HELP_ABOUT
00053         };
00054 
00055 private:
00056         wxMenuBar       *m_pMenuBar;
00057         wxMenu          *m_pFileMenu; 
00058         wxMenu          *m_pOptionsMenu;
00059         wxMenu          *m_pHelpMenu;
00060 
00061         wxNotebook *m_pNotebook;
00062         
00063         cFileTabGuiAct          *pFileTab;              
00064         cMovieTabGuiAct         *pMovieTab;                     
00065         cSoftwareTabGuiAct      *pSoftwareTab;
00066         cMusicTabGuiAct         *pMusicTab;
00067         
00068         void Init(void);
00069         
00071         void DrawFrame(void);
00072         
00073         void CreateFileMenu(wxMenuBar *MenuBar);
00074         void CreateOptionsMenu(wxMenuBar *MenuBar);
00075         void CreateHelpMenu(wxMenuBar *MenuBar);
00076         
00077         string m_sTitle;
00078 
00079 };
00080 #endif // _cWindowFrame_h

Generated on Wed Feb 25 01:15:11 2004 for eDonkeyFilesManager by doxygen 1.3.2