]> de.git.xonotic.org Git - xonotic/netradiant.git/blobdiff - libs/uilib/uilib.h
macos: introduce ugly packing hack to attempt to reduce the size of the residual...
[xonotic/netradiant.git] / libs / uilib / uilib.h
index d795b75834659eff96b1e79d1514837f152b3d32..d8f41c85d88559371a36f86c2ed90a33235537c3 100644 (file)
@@ -103,6 +103,11 @@ namespace ui {
         NEVER
     };
 
+       enum class Packing {
+               START,
+               END
+       };
+
     namespace details {
 
         enum class Convert {
@@ -376,6 +381,7 @@ namespace ui {
     ,
          void pack_start(ui::Widget child, bool expand, bool fill, unsigned int padding);
          void pack_end(ui::Widget child, bool expand, bool fill, unsigned int padding);
+         void set_child_packing(ui::Widget child, bool expand, bool fill, unsigned int padding, ui::Packing packing);
     );
 
     WRAP(VBox, Box, _GtkVBox, (),
@@ -585,7 +591,7 @@ namespace ui {
     alert_response alert(
             Window parent,
             std::string text,
-            std::string title = "NetRadiant",
+            std::string title = RADIANT_NAME,
             alert_type type = alert_type::OK,
             alert_icon icon = alert_icon::Default
     );