]> 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 e6c5ff6a91d68b8fbc583123590d5391ea7650d0..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, (),