X-Git-Url: https://git.draconx.ca/gitweb/aspectbin.git/blobdiff_plain/ae774d97cc05fdcc8baf5b916be66f99f4f33a77..4b6acfc09d3af7822977aedd04dfadd47aa210d9:/aspectbin.h diff --git a/aspectbin.h b/aspectbin.h index bca5ba7..b4ce50d 100644 --- a/aspectbin.h +++ b/aspectbin.h @@ -15,10 +15,13 @@ typedef struct AspectBin AspectBin; typedef struct AspectBinClass AspectBinClass; struct AspectBin { - GtkBin bin; + GtkContainer parent; - GtkWidget *child; - gfloat ratio; + GtkWidget *body, *side; + gfloat ratio; + + gfloat align; + gboolean constrain; }; struct AspectBinClass { @@ -27,6 +30,7 @@ struct AspectBinClass { GType aspect_bin_get_type(void); GtkWidget *aspect_bin_new(void); -void aspect_bin_set_body_widget(AspectBin *, GtkWidget *, gfloat); +void aspect_bin_set_body(AspectBin *, GtkWidget *, gfloat); +void aspect_bin_set_side(AspectBin *, GtkWidget *); #endif