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

cMovieWidget.h

Go to the documentation of this file.
00001 
00014 #ifndef _cMovieWidget_h
00015 #define _cMovieWidget_h
00016 
00017 
00018 
00019 #include "TypesDef.h" // Int, iENTRY_MAX_LENGTH
00020 #include <wx/listctrl.h> //wxListCtrl
00021 
00022 
00023 //*************************************
00024 // Number assigned has to be in ORDER.
00025 //*************************************
00026 //const Int YEAR                        = 0     ; // Defined in TypesDef.h
00027 //const Int MONTH                       = 1     ;
00028 //const Int DAY                         = 2     ;
00029 const Int DIRECTOR                      = 3     ;
00030 const Int RUNTIME                       = 4             ;
00031 const Int COUNTRY                       = 5     ;
00032 const Int M_LANGUAGE            = 6     ;
00033 const Int MPAA                          = 7     ;
00034 const Int CERTIFICATION         = 8     ;
00035 const Int IMDB_URL                      = 9             ;
00036 
00037 const Int NUM_OF_MOVIE_ENTRIES = 10;
00038 
00039 
00040 class cMovieWidget: public wxPanel
00041 {
00042 public:
00044         cMovieWidget(wxWindow *Parent);
00045 
00047         ~cMovieWidget(void);
00048 
00049         void DrawCastNameList(wxBoxSizer *pBoxVSizer);
00050 
00051 protected:
00052         wxTextCtrl      *m_pMovieEntries[NUM_OF_MOVIE_ENTRIES];
00053         wxTextCtrl      *m_pCastNameEntry;
00054         wxBoxSizer      *m_pListVSizer;
00055         wxListCtrl      *m_pCastListCtrl;
00056         enum
00057         {
00058                 MOVIE_IMDB_URL_ID,
00059                 MOVIE_CASTNAME_ENTRY_ID,
00060                 MOVIE_CASTNAME_LIST_CTRL_ID
00061         };
00062         
00063 private:
00064         
00065         void Init();
00066         void DrawAll();
00067 
00068 };
00069 
00070 #endif // _cMovieWidget_h

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