-#include <msp/core/application.h>
-#include <msp/core/mainthread.h>
#include "display.h"
#include "display_private.h"
+#include <msp/core/application.h>
+#include <msp/core/mainthread.h>
using namespace std;
-#include "display.h"
-#include "display_private.h"
#include "window.h"
#include "window_private.h"
+#include "display.h"
+#include "display_private.h"
using namespace std;
-#include <msp/core/inttypes.h>
#include "bmploader.h"
+#include <msp/core/inttypes.h>
using namespace std;
+#include "glcontext.h"
#include <vector>
#include <OpenGL/gl.h>
#include "cocoaglcontext.h"
#include "cocoapixelformat.h"
-#include "glcontext.h"
#include "window_private.h"
using namespace std;
-#include <stdexcept>
-#include "cocoadisplay.h"
#include "display.h"
#include "display_private.h"
+#include <stdexcept>
+#include "cocoadisplay.h"
using namespace std;
+#include "errordialog.h"
#include <typeinfo>
#include <msp/core/application.h>
#include <msp/debug/demangle.h>
#include "cocoaerrordialog.h"
-#include "errordialog.h"
using namespace std;
+#include "window.h"
+#include "window_private.h"
#include "cocoadisplay.h"
#include "cocoawindow.h"
#include "display.h"
#include "display_private.h"
-#include "window.h"
-#include "window_private.h"
namespace Msp {
namespace Graphics {
+#include "devilloader.h"
#include <algorithm>
#include <msp/strings/format.h>
#include <IL/il.h>
-#include "devilloader.h"
using namespace std;
+#include "display.h"
#include <cmath>
#include <sigc++/bind.h>
-#include "display.h"
#include "display_private.h"
#include "window.h"
+#include "glcontext.h"
#include <vector>
#include <EGL/egl.h>
#include <GLES2/gl2.h>
#include <android/native_window.h>
#include "display.h"
-#include "glcontext.h"
#include "window_private.h"
using namespace std;
+#include "glcontext.h"
#include <stdexcept>
#include <msp/strings/format.h>
-#include "glcontext.h"
#include "window.h"
using namespace std;
+#include "glcontext.h"
#include <set>
#include <vector>
#include <GL/glx.h>
#include <GL/glxext.h>
#include <msp/strings/lexicalcast.h>
#include <msp/strings/utils.h>
-#include "glcontext.h"
#include "display_private.h"
#include "window_private.h"
+#include "image.h"
#include <msp/core/refptr.h>
#include <msp/fs/utils.h>
#include <msp/io/file.h>
#include <msp/io/memory.h>
-#include "image.h"
#include "imageloader.h"
using namespace std;
+#include "imageloader.h"
#include <msp/core/refptr.h>
#include <msp/io/file.h>
#include <msp/strings/format.h>
#include <msp/strings/utils.h>
#include "bmploader.h"
-#include "imageloader.h"
#ifdef WITH_LIBPNG
#include "png/pngloader.h"
#endif
+#include "jpegloader.h"
#include <stdio.h>
#include <setjmp.h>
#include <jpeglib.h>
-#include "jpegloader.h"
using namespace std;
-#include <png.h>
#include "pngloader.h"
+#include <png.h>
using namespace std;
+#include "quartzloader.h"
#include <algorithm>
#include <ApplicationServices/ApplicationServices.h>
-// Avoid messing up sigc++ headers
-#undef nil
-#include "quartzloader.h"
using namespace std;
-#include <msp/strings/format.h>
#include "videomode.h"
+#include <msp/strings/format.h>
namespace Msp {
namespace Graphics {
+#include "vulkancontext.h"
+#include "vulkancontext_platform.h"
#include <stdexcept>
#include <vector>
#define VK_USE_PLATFORM_XLIB_KHR
#include <msp/debug/debugapi.h>
#include <msp/io/print.h>
#include "display_private.h"
-#include "vulkancontext.h"
-#include "vulkancontext_platform.h"
#include "window_private.h"
using namespace std;
-#include <msp/strings/format.h>
#include "vulkancontext.h"
+#include <msp/strings/format.h>
#include "window.h"
namespace Msp {
+#include "glcontext.h"
#include <vector>
#include <windows.h>
#include <GL/gl.h>
#include <GL/wglext.h>
#include <msp/strings/lexicalcast.h>
#include <msp/strings/utils.h>
-#include "glcontext.h"
#include "window_private.h"
using namespace std;
-#include <msp/core/application.h>
-#include "display.h"
#include "window.h"
#include "window_private.h"
+#include <msp/core/application.h>
+#include "display.h"
using namespace std;
-#include <windows.h>
#include "display.h"
#include "display_private.h"
+#include <windows.h>
using namespace std;
+#include "errordialog.h"
#include <windows.h>
#include <typeinfo>
#include <msp/debug/demangle.h>
-#include "errordialog.h"
using namespace std;
#define _WIN32_WINNT 0x0601
+#include "window.h"
+#include "window_private.h"
#include <windowsx.h>
#include <msp/core/application.h>
#include <msp/core/systemerror.h>
-#include "window.h"
-#include "window_private.h"
using namespace std;
+#include "display.h"
+#include "display_private.h"
#include <X11/Xlib.h>
#include <X11/Xatom.h>
#ifdef WITH_XRANDR
#include <msp/io/print.h>
#include <msp/strings/format.h>
#include <msp/strings/lexicalcast.h>
-#include "display.h"
-#include "display_private.h"
using namespace std;
+#include "window.h"
+#include "window_private.h"
#include <vector>
#include <X11/Xatom.h>
#include <X11/Xutil.h>
#include <msp/core/systemerror.h>
#include "display_private.h"
-#include "window.h"
-#include "window_private.h"
using namespace std;
+#include "keyboard.h"
#include <android/input.h>
#include <msp/graphics/window_private.h>
-#include "keyboard.h"
#include "keys_private.h"
using namespace std;
-#include <android/keycodes.h>
#include "keys.h"
+#include <android/keycodes.h>
namespace Msp {
namespace Input {
+#include "mouse.h"
#include <msp/graphics/window_private.h>
#include "keys.h"
-#include "mouse.h"
namespace Msp {
namespace Input {
-#include <msp/graphics/window_private.h>
#include "touchscreen.h"
+#include <msp/graphics/window_private.h>
namespace Msp {
namespace Input {
+#include "bindings.h"
#include <algorithm>
#include <msp/strings/format.h>
-#include "bindings.h"
#include "controlscheme.h"
using namespace std;
-#include <msp/graphics/window_private.h>
#include "keyboard.h"
+#include <msp/graphics/window_private.h>
#include "keys_private.h"
using namespace std;
+#include "mouse.h"
#include <msp/graphics/window_private.h>
#include "keys.h"
-#include "mouse.h"
namespace Msp {
namespace Input {
+#include "control.h"
#include <sigc++/bind_return.h>
#include <msp/strings/lexicalcast.h>
#include "binarycontrol.h"
-#include "control.h"
#include "device.h"
using namespace std;
+#include "controlscheme.h"
#include <msp/core/maputils.h>
#include "control.h"
-#include "controlscheme.h"
using namespace std;
-#include <msp/strings/format.h>
#include "device.h"
+#include <msp/strings/format.h>
using namespace std;
-#include <stdexcept>
#include "gamecontroller.h"
+#include <stdexcept>
using namespace std;
+#include "gesturedetector.h"
#define _USE_MATH_DEFINES
#include <cmath>
#include <sigc++/bind_return.h>
-#include "gesturedetector.h"
#include "touchscreen.h"
using namespace std;
+#include "hub.h"
#include <stdexcept>
#include <sigc++/bind.h>
#include <sigc++/bind_return.h>
#include <msp/core/hash.h>
#include <msp/core/maputils.h>
-#include "hub.h"
using namespace std;
-#include <msp/graphics/window.h>
#include "keyboard.h"
+#include <msp/graphics/window.h>
#include "keys.h"
namespace Msp {
+#include "keys.h"
#include <map>
#include <stdexcept>
#include <msp/strings/format.h>
-#include "keys.h"
using namespace std;
+#include "gamecontroller.h"
+#include "gamecontroller_platform.h"
#include <fcntl.h>
#include <linux/joystick.h>
#include <msp/core/algorithm.h>
#include <msp/fs/dir.h>
#include <msp/io/handle_private.h>
#include <msp/strings/format.h>
-#include "gamecontroller.h"
-#include "gamecontroller_platform.h"
using namespace std;
+#include "mouse.h"
#include <msp/graphics/window.h>
#include "keys.h"
-#include "mouse.h"
namespace Msp {
namespace Input {
-#include <stdexcept>
#include "smoothcontrol.h"
+#include <stdexcept>
using namespace std;
-#include <msp/core/application.h>
-#include <msp/strings/format.h>
#include "gamecontroller.h"
#include "gamecontroller_platform.h"
+#include <msp/core/application.h>
+#include <msp/strings/format.h>
using namespace std;
+#include "keyboard.h"
#include <windows.h>
#include <msp/graphics/window_private.h>
-#include "keyboard.h"
#include "keys.h"
#include "keys_private.h"
-#include <windows.h>
#include "keys.h"
+#include <windows.h>
namespace Msp {
namespace Input {
+#include "mouse.h"
#include <windowsx.h>
#include <msp/graphics/window_private.h>
#include "keys.h"
-#include "mouse.h"
namespace Msp {
namespace Input {
#define _WIN32_WINNT 0x0601
+#include "touchscreen.h"
#include <windows.h>
#include <msp/graphics/window_private.h>
-#include "touchscreen.h"
using namespace std;
+#include "keyboard.h"
#include <X11/Xlib.h>
#include <X11/Xutil.h>
#include <msp/graphics/window_private.h>
-#include "keyboard.h"
#include "keys.h"
#include "keys_private.h"
+#include "keys.h"
#include <X11/keysym.h>
#include <X11/XF86keysym.h>
-#include "keys.h"
namespace Msp {
namespace Input {
+#include "mouse.h"
#include <msp/graphics/window_private.h>
#include "keys.h"
-#include "mouse.h"
namespace Msp {
namespace Input {