/*
 * Copyright (C) 2023 Guido Günther
 *
 * SPDX-License-Identifier: GPL-3.0-or-later
 */

#include <glib-object.h>
#include <wlr/util/box.h>

#pragma once

G_BEGIN_DECLS

#define PHOC_TYPE_BOX (phoc_box_get_type ())

typedef struct wlr_box PhocBox;

GType                   phoc_box_get_type                        (void) G_GNUC_CONST;
PhocBox *               phoc_box_copy                            (const PhocBox *box);
void                    phoc_box_free                            (PhocBox *box);

#define PHOC_TYPE_COLOR (phoc_color_get_type ())

typedef struct _PhocColor {
  float red;
  float green;
  float blue;
  float alpha;
} PhocColor;

GType                   phoc_color_get_type                      (void) G_GNUC_CONST;
PhocColor *             phoc_color_copy                          (const PhocColor *color);
void                    phoc_color_free                          (PhocColor *color);

G_END_DECLS
