#ifndef HEADER_SUPERTUX_SUPERTUX_RESOURCES_HPP
#define HEADER_SUPERTUX_SUPERTUX_RESOURCES_HPP
-class Font;
+#include "video/font_ptr.hpp"
+#include "video/surface_ptr.hpp"
+#include "supertux/tile_set.hpp"
+
class MouseCursor;
-extern MouseCursor* mouse_cursor;
+class Resources
+{
+public:
+ static MouseCursor* mouse_cursor;
+
+ static FontPtr fixed_font;
+ static FontPtr normal_font;
+ static FontPtr small_font;
+ static FontPtr big_font;
-extern Font* fixed_font;
-extern Font* normal_font;
-extern Font* small_font;
-extern Font* big_font;
+ static SurfacePtr checkbox;
+ static SurfacePtr checkbox_checked;
+ static SurfacePtr back;
+ static SurfacePtr arrow_left;
+ static SurfacePtr arrow_right;
-void load_shared();
-void unload_shared();
+public:
+ Resources();
+ ~Resources();
+};
#endif