arrow.h 521 Bytes
Newer Older
1 2 3 4 5
/*
 * Copyright © 2019 Alexander Mikhaylenko <alexm@gnome.org>
 *
 * SPDX-License-Identifier: GPL-3.0-or-later
 */
Alexander Mikhaylenko's avatar
Alexander Mikhaylenko committed
6 7 8

#include <gtk/gtk.h>

9 10
#pragma once

Alexander Mikhaylenko's avatar
Alexander Mikhaylenko committed
11 12 13 14 15 16 17 18 19 20 21 22 23
G_BEGIN_DECLS

#define PHOSH_TYPE_ARROW (phosh_arrow_get_type())

G_DECLARE_FINAL_TYPE (PhoshArrow, phosh_arrow, PHOSH, ARROW, GtkDrawingArea)

PhoshArrow *phosh_arrow_new (void);

double      phosh_arrow_get_progress (PhoshArrow *self);
void        phosh_arrow_set_progress (PhoshArrow *self,
                                      double      progress);

G_END_DECLS