File: options.h

package info (click to toggle)
gtkpool 0.5.0-9
  • links: PTS
  • area: main
  • in suites: bullseye, buster, jessie, jessie-kfreebsd, squeeze, stretch, wheezy
  • size: 4,808 kB
  • ctags: 635
  • sloc: sh: 10,646; cpp: 2,653; perl: 1,850; makefile: 205
file content (58 lines) | stat: -rw-r--r-- 2,487 bytes parent folder | download | duplicates (5)
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
49
50
51
52
53
54
55
56
57
58
/***************************************************************************
                          options.h  -  description
                             -------------------
    begin                : Tue Jan 8 2002
    copyright            : (C) 1999-2002 by Brian Ashe & Jacques Fortier
    email                : gtkpool@seul.org
 ***************************************************************************/

/***************************************************************************
 *                                                                         *
 *   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.                                   *
 *                                                                         *
 ***************************************************************************/

#include <gtk/gtk.h>
#include "application.h"
#include "support.h"

/**
  *@author Brian Ashe & Jacques Fortier
  */

/* Options Dialog -- Displays and adjusts game play options */

// Create window and display stuff
GtkWidget *open_opt_dlg(Application *app);

// Close window
void od_close_event(GtkWidget *widget, gpointer data);
// Toggle sound
void sound_toggled_event(GtkWidget *widget, gpointer data);
// Toggle hit moving balls
void moving_toggled_event(GtkWidget *widget, gpointer data);
// Toggle aiming line
void aimline_toggled_event(GtkWidget *widget, gpointer data);
// Toggle superhuman shots
void superhuman_toggled_event(GtkWidget *widget, gpointer data);
// Toggle game eight ball
void eb_toggled_event(GtkWidget *widget, Application *);
// Toggle game nine ball
void nb_toggled_event(GtkWidget *widget, Application *);
// Toggle game rotation
void ro_toggled_event(GtkWidget *widget, Application *);
// Toggle game no rules
void nr_toggled_event(GtkWidget *widget, Application *);
// Toggle table black pearl
void bp_table_toggled_event(GtkWidget *widget, Application *);
// Toggle table black laquer
void bl_table_toggled_event(GtkWidget *widget, Application *);
// Toggle table maple burl
void mb_table_toggled_event(GtkWidget *widget, Application *);
// Toggle table mahogany
void ma_table_toggled_event(GtkWidget *widget, Application *);
// Redraw table after new selection
bool refresh_table(GtkWidget *widget, Application *app);