From 6f0f7d1b40a8fa8d46a2d6f4317600001cdbbb18 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 7 Apr 2024 19:57:27 +0200 Subject: Adding upstream version 43.5. Signed-off-by: Daniel Baumann --- src/gs-star-image.h | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 src/gs-star-image.h (limited to 'src/gs-star-image.h') diff --git a/src/gs-star-image.h b/src/gs-star-image.h new file mode 100644 index 0000000..f1f99fe --- /dev/null +++ b/src/gs-star-image.h @@ -0,0 +1,22 @@ +/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- + * vi:set noexpandtab tabstop=8 shiftwidth=8: + * + * SPDX-License-Identifier: GPL-2.0+ + */ + +#pragma once + +#include + +G_BEGIN_DECLS + +#define GS_TYPE_STAR_IMAGE (gs_star_image_get_type ()) + +G_DECLARE_FINAL_TYPE (GsStarImage, gs_star_image, GS, STAR_IMAGE, GtkWidget) + +GtkWidget * gs_star_image_new (void); +void gs_star_image_set_fraction (GsStarImage *self, + gdouble fraction); +gdouble gs_star_image_get_fraction (GsStarImage *self); + +G_END_DECLS -- cgit v1.2.3