]> git.jsancho.org Git - lugaru.git/blobdiff - Source/Menu/Menu.hpp
clang-format: Apply to all headers
[lugaru.git] / Source / Menu / Menu.hpp
index 0ed6ed912c7d1a44e43886e5b772d4b2bbaff7c0..713a59c82f35f61656ad1d56c1c176f438cb3f47 100644 (file)
@@ -23,8 +23,19 @@ along with Lugaru.  If not, see <http://www.gnu.org/licenses/>.
 
 #include "Game.hpp"
 
-struct MenuItem {
-    enum MenuItemType {NONE, LABEL, BUTTON, IMAGE, IMAGEBUTTON, MAPMARKER, MAPLINE, MAPLABEL} type;
+struct MenuItem
+{
+    enum MenuItemType
+    {
+        NONE,
+        LABEL,
+        BUTTON,
+        IMAGE,
+        IMAGEBUTTON,
+        MAPMARKER,
+        MAPLINE,
+        MAPLABEL
+    } type;
     int id;
     string text;
     Texture texture;
@@ -36,8 +47,8 @@ struct MenuItem {
     float lineendsize;
 
     MenuItem(MenuItemType _type, int _id, const string& _text, Texture _texture,
-              int _x, int _y, int _w, int _h, float _r, float _g, float _b,
-              float _linestartsize = 1, float _lineendsize = 1);
+             int _x, int _y, int _w, int _h, float _r, float _g, float _b,
+             float _linestartsize = 1, float _lineendsize = 1);
 };
 
 class Menu