summaryrefslogtreecommitdiff
path: root/savers/gste-starfield.h
diff options
context:
space:
mode:
authorKane Scipioni <[email protected]>2025-08-23 07:54:58 -0500
committerVictor Kareh <[email protected]>2025-10-09 17:27:39 +0000
commite89ae9d58dc08737a1eb12d0853ac09709db88e3 (patch)
tree7179e2d9b1b69e8cbbadab61bbd41abfb0f616be /savers/gste-starfield.h
parent9af00887ad2abd8f4b9e64e1a41e1e4907bebb43 (diff)
downloadmate-screensaver-e89ae9d58dc08737a1eb12d0853ac09709db88e3.tar.bz2
mate-screensaver-e89ae9d58dc08737a1eb12d0853ac09709db88e3.tar.xz
Added starfield screensaver
Diffstat (limited to 'savers/gste-starfield.h')
-rw-r--r--savers/gste-starfield.h57
1 files changed, 57 insertions, 0 deletions
diff --git a/savers/gste-starfield.h b/savers/gste-starfield.h
new file mode 100644
index 0000000..a459d8d
--- /dev/null
+++ b/savers/gste-starfield.h
@@ -0,0 +1,57 @@
+/* -*- Mode: C; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 8 -*-
+ *
+ * Copyright (C) 2025 Kane Scipioni <[email protected]>
+ * Copyright (C) 2012-2025 MATE Developers
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.
+ *
+ *
+ */
+
+#ifndef __GSTE_STARFIELD_H
+#define __GSTE_STARFIELD_H
+
+#include <glib.h>
+#include <gdk/gdk.h>
+#include "gs-theme-engine.h"
+
+G_BEGIN_DECLS
+
+#define GSTE_TYPE_STARFIELD (gste_starfield_get_type ())
+#define GSTE_STARFIELD(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), GSTE_TYPE_STARFIELD, GSTEStarfield))
+#define GSTE_STARFIELD_CLASS(k) (G_TYPE_CHECK_CLASS_CAST((k), GSTE_TYPE_STARFIELD, GSTEStarfieldClass))
+#define GSTE_IS_STARFIELD(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), GSTE_TYPE_STARFIELD))
+#define GSTE_IS_STARFIELD_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), GSTE_TYPE_STARFIELD))
+#define GSTE_STARFIELD_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), GSTE_TYPE_STARFIELD, GSTEStarfieldClass))
+
+typedef struct GSTEStarfieldPrivate GSTEStarfieldPrivate;
+
+typedef struct
+{
+ GSThemeEngine parent;
+ GSTEStarfieldPrivate *priv;
+} GSTEStarfield;
+
+typedef struct
+{
+ GSThemeEngineClass parent_class;
+} GSTEStarfieldClass;
+
+GType gste_starfield_get_type (void);
+GSThemeEngine *gste_starfield_new (void);
+
+G_END_DECLS
+
+#endif /* __GSTE_STARFIELD_H */