00001 #ifndef CASIGNUPSCREEN_H
00002 #define CASIGNUPSCREEN_H
00003
00004 #include <ClanLib/display.h>
00005
00006 #include "caimageview.h"
00007 #include "cascreen.h"
00008
00012 class CASignUpScreen : public CAScreen {
00013 public:
00014 CASignUpScreen();
00015 ~CASignUpScreen();
00016
00017 void reset();
00018
00019 void setOffset( int o );
00020
00021 virtual int run();
00022 virtual void buildScreen();
00023
00024 virtual void on_button_release( CL_InputDevice *device, const CL_Key &key );
00025
00026 void playSwitchSound();
00027
00028 private:
00030
00031 int cursor;
00033 int offset;
00035 CL_Surface* image[3];
00037 CAImageView* racePreview[3];
00039 int left;
00041 int right;
00043 int top;
00045 int bottom;
00047 int numTracks;
00048
00049 public:
00050 CL_Slot slot;
00051 };
00052
00053 #endif