diff window/system.h @ 52:15a18fbe6f21

* Known bugs added to the README * Code cleaning (0 -> NULL when needed, indentation, spaces, ...)
author thib
date Sat, 18 Apr 2009 18:35:39 +0000
parents 5ae5533b3a9a
children c7bcc0ec2267
line wrap: on
line diff
--- a/window/system.h
+++ b/window/system.h
@@ -28,31 +28,31 @@
 #ifndef __SYSTEM__
 #define __SYSTEM__
 
-#include<SDL.h>
-#include"event.h"
-#include"picture.h"
-#include"widget.h"
+#include <SDL.h>
+#include "event.h"
+#include "picture.h"
+#include "widget.h"
 
 namespace System {
-struct Main {
-	int framerate;
-	static int event_filter(const SDL_Event* event);
-	static bool is_exit;
-	static bool is_video_update;
-	static Main* instance;
-	WidMouseCursor* cursor;
-public:
-	Event::Container event;
-	PicRoot root;
-	Main(void);
-	~Main();
-	void Mainloop(void);
-	static void Quit(void);
-	static void DisableVideo(void);
-	static void EnableVideo(void);
-#define DEFAULT_MOUSECURSOR (Surface*)0xffff0000
-	static void SetCursor(Surface* s, const Rect& r);
-};
-};
+	struct Main {
+		int framerate;
+		static int event_filter(const SDL_Event* event);
+		static bool is_exit;
+		static bool is_video_update;
+		static Main* instance;
+		WidMouseCursor* cursor;
+	public:
+		Event::Container event;
+		PicRoot root;
+		Main(void);
+		~Main();
+		void Mainloop(void);
+		static void Quit(void);
+		static void DisableVideo(void);
+		static void EnableVideo(void);
+#define DEFAULT_MOUSECURSOR (Surface*)0xffff0000 //FIXME: WTF?!?
+		static void SetCursor(Surface* s, const Rect& r);
+	};
+}
 
 #endif /* __SYSTEM__ */