]> git.xonotic.org Git - xonotic/netradiant.git/blobdiff - radiant/selection.h
macos: add ssasc to deps, it's required to build the GTK theme
[xonotic/netradiant.git] / radiant / selection.h
index b15ff93c7d54ca1709ecd2636162bdfc4aaefcb9..99846fed6a61bda0686667f3cfc2f5f8bbd75445 100644 (file)
 #include "windowobserver.h"
 #include "generic/callback.h"
 
-struct rect_t {
-    float min[2];
-    float max[2];
+struct rect_t
+{
+       float min[2];
+       float max[2];
 };
 
 typedef Callback<void(rect_t)> RectangleCallback;
 
 class View;
 
-class SelectionSystemWindowObserver : public WindowObserver {
+class SelectionSystemWindowObserver : public WindowObserver
+{
 public:
-    virtual ~SelectionSystemWindowObserver() = default;
-
-    virtual void setView(const View &view) = 0;
-
-    virtual void setRectangleDrawCallback(const RectangleCallback &callback) = 0;
+virtual ~SelectionSystemWindowObserver() = default;
+virtual void setView( const View& view ) = 0;
+virtual void setRectangleDrawCallback( const RectangleCallback& callback ) = 0;
 };
 
-SelectionSystemWindowObserver *NewWindowObserver();
+SelectionSystemWindowObserverNewWindowObserver();
 
 class AABB;
-namespace scene {
-    class Graph;
+namespace scene
+{
+class Graph;
 }
-
-void Scene_BoundsSelected(scene::Graph &graph, AABB &bounds);
+void Scene_BoundsSelected( scene::Graph& graph, AABB& bounds );
 
 #endif