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

cMusicWidget.h

Go to the documentation of this file.
00001 
00014 #ifndef _cMusicWidget_h
00015 #define _cMusicWidget_h
00016 
00017 
00018 
00019 #include "TypesDef.h" // Int, iENTRY_MAX_LENGTH
00020 #include <wx/listctrl.h> //wxListCtrl
00021 
00022 
00023 
00024 //*************************************
00025 // Number assigned has to be in ORDER.
00026 //*************************************
00027 //const Int YEAR                        = 0             ; // Defined in TypesDef.h
00028 //const Int MONTH                       = 1             ;
00029 //const Int DAY                         = 2             ;
00030 const Int ARTIST                        = 3             ;
00031 const Int ALBUM                         = 4             ;
00032 const Int GENRE                         = 5             ;
00033 const Int MU_LANGUAGE           = 6             ;
00034 
00035 const Int NUM_OF_MUSIC_ENTRIES = 7;
00036 
00037 class cMusicWidget: public wxPanel
00038 {
00039 public:
00041         cMusicWidget(wxWindow *Parent);
00042 
00044         ~cMusicWidget(void);
00045         
00046         void DrawAll();
00047         void DrawSongList(wxBoxSizer *pBoxVSizer);
00048         
00049 protected:
00050         wxTextCtrl      *m_pMusicEntries[NUM_OF_MUSIC_ENTRIES];
00051         wxTextCtrl      *m_pSongEntry;
00052         wxListCtrl      *m_pSongsListCtrl;
00053         wxBoxSizer      *m_pSongListVSizer;
00054         
00055         enum
00056         {
00057                 SONG_ENTRY_ID,
00058                 SONG_LIST_CTRL_ID
00059         };
00060         
00061 private:
00062         void Init();
00063 
00064 
00065 };
00066 
00067 #endif // _cMusicWidget_h 

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