diff --git a/src/lib/aqdiagram/draw/w_mlayout.c b/src/lib/aqdiagram/draw/w_mlayout.c index a828d3e..f560838 100644 --- a/src/lib/aqdiagram/draw/w_mlayout.c +++ b/src/lib/aqdiagram/draw/w_mlayout.c @@ -19,7 +19,7 @@ -AQDG_OBJECT *AQDG_MatrixLayoutWidgetByRows_new(AQDG_OBJECT *parent, uint32_t options, int columns, AQDG_DRAW_CONTEXT *drawContext) +AQDG_OBJECT *AQDG_MatrixLayoutWidgetByRows_new(AQDG_OBJECT *parent, uint32_t options, AQDG_DRAW_CONTEXT *drawContext, int columns) { AQDG_OBJECT *object; @@ -31,7 +31,7 @@ AQDG_OBJECT *AQDG_MatrixLayoutWidgetByRows_new(AQDG_OBJECT *parent, uint32_t opt -AQDG_OBJECT *AQDG_MatrixLayoutWidgetByColumns_new(AQDG_OBJECT *parent, uint32_t options, int rows, AQDG_DRAW_CONTEXT *drawContext) +AQDG_OBJECT *AQDG_MatrixLayoutWidgetByColumns_new(AQDG_OBJECT *parent, uint32_t options, AQDG_DRAW_CONTEXT *drawContext, int rows) { AQDG_OBJECT *object; diff --git a/src/lib/aqdiagram/draw/w_mlayout.h b/src/lib/aqdiagram/draw/w_mlayout.h index 3fb489a..08d04b4 100644 --- a/src/lib/aqdiagram/draw/w_mlayout.h +++ b/src/lib/aqdiagram/draw/w_mlayout.h @@ -15,11 +15,13 @@ #include -AQDG_API AQDG_OBJECT *AQDG_MatrixLayoutWidgetByRows_new(AQDG_OBJECT *parent, uint32_t options, int columns, - AQDG_DRAW_CONTEXT *drawContext); +AQDG_API AQDG_OBJECT *AQDG_MatrixLayoutWidgetByRows_new(AQDG_OBJECT *parent, uint32_t options, + AQDG_DRAW_CONTEXT *drawContext, + int columns); -AQDG_API AQDG_OBJECT *AQDG_MatrixLayoutWidgetByColumns_new(AQDG_OBJECT *parent, uint32_t options, int rows, - AQDG_DRAW_CONTEXT *drawContext); +AQDG_API AQDG_OBJECT *AQDG_MatrixLayoutWidgetByColumns_new(AQDG_OBJECT *parent, uint32_t options, + AQDG_DRAW_CONTEXT *drawContext, + int rows);