00001 #ifndef CAPLAYERSETTINGSDIALOG_H 00002 #define CAPLAYERSETTINGSDIALOG_H 00003 00004 #include <ClanLib/core.h> 00005 #include "caimagehueselector.h" 00006 #include "calineedit.h" 00007 #include "cadialog.h" 00008 00012 class CAPlayerSettingsDialog : public CADialog { 00013 public: 00014 CAPlayerSettingsDialog(); 00015 ~CAPlayerSettingsDialog(); 00016 00017 virtual void buildScreen(); 00018 virtual void on_button_release( CL_InputDevice *device, const CL_Key &key ); 00019 00020 char* getPlayerName(); 00021 int getPlayerHue(); 00022 00023 private: 00025 00026 CALineEdit* nameInput; 00028 CAImageHueSelector* carImage; 00029 }; 00030 00031 #endif
1.5.0