| 1 | /* gtkconstrainttypesprivate.h: Private types for the constraint solver |
| 2 | * Copyright 2019 GNOME Foundation |
| 3 | * |
| 4 | * SPDX-License-Identifier: LGPL-2.1-or-later |
| 5 | * |
| 6 | * This library is free software; you can redistribute it and/or |
| 7 | * modify it under the terms of the GNU Lesser General Public |
| 8 | * License as published by the Free Software Foundation; either |
| 9 | * version 2.1 of the License, or (at your option) any later version. |
| 10 | * |
| 11 | * This library is distributed in the hope that it will be useful, |
| 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 14 | * Lesser General Public License for more details. |
| 15 | * |
| 16 | * You should have received a copy of the GNU Lesser General Public |
| 17 | * License along with this library. If not, see <http://www.gnu.org/licenses/>. |
| 18 | * |
| 19 | * Author: Emmanuele Bassi |
| 20 | */ |
| 21 | |
| 22 | #pragma once |
| 23 | |
| 24 | #include <gtk/gtktypes.h>cxx . . $ `<file>/gtk/gtktypes.h`/ |
| 25 | #include <gtk/gtkenums.h>cxx . . $ `<file>/gtk/gtkenums.h`/ |
| 26 | |
| 27 | G_BEGIN_DECLScxx . . $ `<external>/12741050725406041920/gmacros.h:947:9`! |
| 28 | |
| 29 | typedef struct _GtkConstraintVariablecxx . . $ _GtkConstraintVariable# GtkConstraintVariablecxx . . $ GtkConstraintVariable#; |
| 30 | typedef struct _GtkConstraintExpressioncxx . . $ _GtkConstraintExpression# GtkConstraintExpressioncxx . . $ GtkConstraintExpression#; |
| 31 | typedef struct _GtkConstraintExpressionBuildercxx . . $ _GtkConstraintExpressionBuilder# GtkConstraintExpressionBuildercxx . . $ GtkConstraintExpressionBuilder#; |
| 32 | |
| 33 | /*< private > |
| 34 | * GtkConstraintRef: |
| 35 | * |
| 36 | * A reference to a constraint stored inside the solver; while `GtkConstraint` |
| 37 | * represent the public API, a `GtkConstraintRef` represents data stored inside |
| 38 | * the solver. A `GtkConstraintRef` is completely opaque, and should only be |
| 39 | * used to remove a constraint from the solver. |
| 40 | */ |
| 41 | typedef struct _GtkConstraintRefcxx . . $ _GtkConstraintRef# GtkConstraintRefcxx . . $ GtkConstraintRef#; |
| 42 | |
| 43 | /*< private > |
| 44 | * GtkConstraintSolver: |
| 45 | * |
| 46 | * A simplex solver using the Cassowary constraint solving algorithm. |
| 47 | */ |
| 48 | typedef struct _GtkConstraintSolvercxx . . $ _GtkConstraintSolver# GtkConstraintSolvercxx . . $ GtkConstraintSolver#; |
| 49 | |
| 50 | G_END_DECLScxx . . $ `<external>/12741050725406041920/gmacros.h:948:9`! |