File: lmemory.h

package info (click to toggle)
lmemory 0.6c-13.1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,192 kB
  • sloc: sh: 4,797; ansic: 1,830; makefile: 37
file content (40 lines) | stat: -rw-r--r-- 863 bytes parent folder | download | duplicates (11)
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
#define PIXMAP_SIZE 64
#define SIZE 5
#define SIZEP (SIZE+1)
#define NUM SIZE*SIZEP

/* difficulty levels */
#define LITTLE_ONE   0
#define BEGINNER     1
#define SKILLED      2
#define MASTER       3
#define DAEMON       4

const char *indicator[5];
int lmem_level;
int match_card;
int same_card;
int click_count;

/* Window manipulation */

void lmem_flip_card  (GtkWidget *widget, gpointer *data);

void lmem_setup	     ();
void lmem_change_level(GtkWidget *widget, gpointer *data);
void get_main_menu( GtkWidget  *window, GtkWidget **menubar );

/* String Parsing */

GSList *lmem_dir_list (GSList * file_list, gchar * directory_name);

void lln_set_random();
int lln_get_random(double max);

/* pixmaps */
GtkWidget * default_pixmap[NUM];
GtkWidget * second_pixmap[NUM];
GtkWidget * button[NUM];
GtkWidget *frame;
gint lmem_state[NUM];
char *lmem_image_dir;