00001 /* Crown and Cutlass 00002 * Crown and Cutlass ListBox Header 00003 */ 00004 00005 #if !defined( _CCLISTBOX_H_ ) 00006 #define _CCLISTBOX_H_ 00007 00008 #include <guichan.hpp> 00009 #include <string> 00010 00011 using namespace std; 00012 00013 class cCallback; 00014 00015 class CCListBox : 00016 public gcn::ListBox 00017 { 00018 public: 00019 CCListBox(gcn::ListModel *listModel, cCallback *recallFunction); 00020 00021 void mousePress(int x, int y, int button); 00022 private: 00023 cCallback *m_callback; 00024 }; 00025 00026 #endif
1.4.7