Logo Search packages:      
Sourcecode: race version File versions

options_game.h

#ifndef menu_options_game
#define menu_options_game

#include <ClanLib/gui.h>

class OptionsGame : public CL_Component
{
 public:
      OptionsGame(CL_Component *parent, CL_StyleManager *style);
      ~OptionsGame() {}
      
 // Callback functions
 private:
      void on_paint();
      void on_num_ai(int);
      void on_num_laps(int);
      void on_difficulty(int);
      
 private:
      CL_SlotContainer slots;
      
      CL_ScrollBar scroll_num_ai;
      CL_ScrollBar scroll_num_laps;
      CL_ScrollBar scroll_difficulty;
      
      CL_Label label_num_ai;
      CL_Label label_num_laps;
      CL_Label label_difficulty;
};

#endif

Generated by  Doxygen 1.6.0   Back to index