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

cTabGui.h

Go to the documentation of this file.
00001 
00014 #ifndef _cTabGui_h
00015 #define _cTabGui_h
00016 
00017 #include "cFileWidgetAct.h"
00018 #include "cImageMainPanel.h"
00019 
00020 #include <wx/listctrl.h> //wxListCtrl
00021 
00022 class cTabGui: public wxPanel
00023 {
00024 public:
00026         cTabGui(wxWindow *pParent);
00027         
00029         ~cTabGui(void);
00030         
00031         void DrawAll(void);
00032         wxListCtrl *GetFileListCtrl(void);
00033 protected:
00034         //*************************************************
00035         // All about pFilesListVSizer.
00036         //*************************************************
00037         wxListCtrl *m_pFileListCtrl;
00038         wxTextCtrl *m_pEd2kEntry;
00039         
00040         wxBoxSizer *m_pFilesListVSizer;
00041 
00042         cFileWidgetAct *m_pFileWidgetAct; // Need to declare here, so that category specific widget can be inserted.
00043         cImageMainPanel *m_pImageMainPanel;
00044         enum
00045         {
00046                 TABGUI_ED2K_ID,
00047                 
00048                 TABGUI_LIST_CTRL_ID,
00049                 
00050                 // Buttons IDs.
00051                 TABGUI_DOWNLOAD_ID,
00052                 TABGUI_DELETE_ID,
00053                 TABGUI_ADD_ID,
00054                 TABGUI_MODIFY_ID
00055         };
00056         
00057 private:        
00058         
00059         //*************************************************
00060         // All about pFilesListVSizer.
00061         //*************************************************
00062         void DrawEd2kSizer(wxBoxSizer *pFilesListVSizer);
00063         void DrawDisplayFilesSizer(wxBoxSizer *pFilesListVSizer);
00064         void DrawButtonsFilesSizer(wxBoxSizer *pFilesListVSizer); // Can't separate button to the 2 extremes(Right & left).
00065         
00066         void DrawFilesListSizer(wxBoxSizer *pFilesListVSizer);
00067         
00068         //*************************************************
00069         // All about pMainInfoSizer.
00070         //*************************************************
00071         void DrawButtonsMainInfoSizer(wxBoxSizer *pMainInfoVSizer);
00072 
00073 
00074 };
00075 
00076 #endif // _cTabGui_h

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