2 /***************************************************************************
4 * This program is free software; you can redistribute it and/or modify *
5 * it under the terms of the GNU General Public License as published by *
6 * the Free Software Foundation; either version 2 of the License, or *
7 * (at your option) any later version. *
9 ***************************************************************************/
11 // by Ricardo Cruz <rick2@aeiou.pt>
13 #ifndef SUPERTUX_MOUSECURSOR_H
14 #define SUPERTUX_MOUSECURSOR_H
20 #define MC_FRAME_PERIOD 800 // in ms
22 #define MC_STATES_NB 3
32 MouseCursor(std::string cursor_file, int frames);
35 void set_state(int nstate);
39 int state_before_click;
41 int cur_frame, tot_frames;
46 #endif /*SUPERTUX_MOUSECURSOR_H*/