#include <string>
-#include "math/vector.hpp"
#include "video/surface_ptr.hpp"
#define MC_STATES_NB 3
};
class DrawingContext;
-class Vector;
/// Mouse cursor.
/** Used to create mouse cursors.
/** Useful for cross mouse cursor images in example. */
void set_mid(int x, int y);
- /** Set the position where the cursor should appear */
- void set_pos(const Vector& pos);
-
/// Draw MouseCursor on screen.
void draw(DrawingContext& context);
friend class Resources;
private:
- Vector mouse_pos;
int mid_x;
int mid_y;
int state_before_click;