File: five-or-more-app.h

package info (click to toggle)
five-or-more 1:3.30.0-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 4,072 kB
  • sloc: ansic: 2,241; xml: 56; python: 10; sh: 7; makefile: 6
file content (48 lines) | stat: -rw-r--r-- 1,981 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
/*
 * Color lines for GNOME
 * Copyright © 1999 Free Software Foundation
 * Authors: Robert Szokovacs <szo@appaloosacorp.hu>
 *          Szabolcs Ban <shooby@gnome.hu>
 *          Karuna Grewal <karunagrewal98@gmail.com>
 * Copyright © 2007 Christian Persch
 *
 * This game 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, 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, see <https://www.gnu.org/licenses/>.
 */

#ifndef FIVE_OR_MORE_APP_H
#define FIVE_OR_MORE_APP_H

#include <gtk/gtk.h>

typedef struct _background background;
struct _background{
  GdkRGBA color;
  gchar *name;
  gint set;
} ;

GtkWidget                   *get_gridframe              ();
char                        *get_ball_filename          ();
background                   get_backgnd                ();
void                         set_status_message         (gchar * message);
void                         game_over                  (void);
void                         set_application_callbacks  (GtkApplication *application);
gint                        *get_game_size              ();
GSettings                  **get_settings               ();
int                          get_move_timeout           ();
void                         game_props_callback        (GSimpleAction *action,
                                                         GVariant *parameter,
                                                         gpointer user_data);
void                         update_score               (guint value);
#endif