changed param order for consistency.

This commit is contained in:
Martin Preuss
2024-05-30 23:01:36 +02:00
parent da00ee39e4
commit 19ff6f5cdf
2 changed files with 8 additions and 6 deletions

View File

@@ -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; 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; AQDG_OBJECT *object;

View File

@@ -15,11 +15,13 @@
#include <aqdiagram/draw/context.h> #include <aqdiagram/draw/context.h>
AQDG_API AQDG_OBJECT *AQDG_MatrixLayoutWidgetByRows_new(AQDG_OBJECT *parent, uint32_t options, int columns, AQDG_API AQDG_OBJECT *AQDG_MatrixLayoutWidgetByRows_new(AQDG_OBJECT *parent, uint32_t options,
AQDG_DRAW_CONTEXT *drawContext); AQDG_DRAW_CONTEXT *drawContext,
int columns);
AQDG_API AQDG_OBJECT *AQDG_MatrixLayoutWidgetByColumns_new(AQDG_OBJECT *parent, uint32_t options, int rows, AQDG_API AQDG_OBJECT *AQDG_MatrixLayoutWidgetByColumns_new(AQDG_OBJECT *parent, uint32_t options,
AQDG_DRAW_CONTEXT *drawContext); AQDG_DRAW_CONTEXT *drawContext,
int rows);