diff options
Diffstat (limited to 'src/gs-star-image.h')
-rw-r--r-- | src/gs-star-image.h | 22 |
1 files changed, 22 insertions, 0 deletions
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 <gtk/gtk.h> + +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 |