/****************************************************************************
 * This file is part of the project AqDiagram.
 * AqDiagram (c) by 2024 Martin Preuss, all rights reserved.
 *
 * The license for this file can be found in the file COPYING which you
 * should have received along with this file.
 ****************************************************************************/

#ifndef AQDG_DRAW_W_MLAYOUT_H
#define AQDG_DRAW_W_MLAYOUT_H

#include <aqdiagram/aqdg_api.h>

#include <aqdiagram/placement/object.h>
#include <aqdiagram/draw/context.h>



#ifdef __cplusplus
extern "C" {
#endif



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,
                                                           AQDG_DRAW_CONTEXT *drawContext,
                                                           int rows);



#ifdef __cplusplus
}
#endif



#endif

