File: test.h

package info (click to toggle)
eel 1.0.2-8
  • links: PTS
  • area: main
  • in suites: woody
  • size: 4,840 kB
  • ctags: 4,752
  • sloc: ansic: 58,219; sh: 6,948; makefile: 650; yacc: 318; perl: 170; awk: 98
file content (59 lines) | stat: -rw-r--r-- 2,873 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
49
50
51
52
53
54
55
56
57
58
59

#ifndef TEST_H
#define TEST_H

#include <config.h>
#include <gtk/gtk.h>
#include <gnome.h>
#include <libgnomevfs/gnome-vfs-init.h>

#include <eel/eel.h>
#include <eel/eel-debug.h>
#include <eel/eel-debug-drawing.h>

void       test_init                            (int                         *argc,
						 char                      ***argv);
int        test_quit                            (int                          exit_code);
void       test_delete_event                    (GtkWidget                   *widget,
						 GdkEvent                    *event,
						 gpointer                     callback_data);
GtkWidget *test_window_new                      (const char                  *title,
						 guint                        border_width);
void       test_gtk_widget_set_background_image (GtkWidget                   *widget,
						 const char                  *image_name);
void       test_gtk_widget_set_background_color (GtkWidget                   *widget,
						 const char                  *color_spec);
GdkPixbuf *test_pixbuf_new_named                (const char                  *name,
						 float                        scale);
GtkWidget *test_image_new                       (const char                  *pixbuf_name,
						 const char                  *tile_name,
						 float                        scale,
						 gboolean                     with_background);
GtkWidget *test_label_new                       (const char                  *text,
						 const char                  *tile_name,
						 gboolean                     with_background,
						 int                          num_sizes_larger);
void       test_pixbuf_draw_rectangle_tiled     (GdkPixbuf                   *pixbuf,
						 const char                  *tile_name,
						 int                          x0,
						 int                          y0,
						 int                          x1,
						 int                          y1,
						 int                          opacity);
void       test_window_set_title_with_pid       (GtkWindow                   *window,
						 const char                  *title);
int        test_text_caption_get_text_as_int    (const EelTextCaption   *text_caption);

char * eel_pixmap_file (const char *partial_path);

// /* Preferences hacks */
// void test_text_caption_set_text_for_int_preferences            (EelTextCaption       *text_caption,
// 								const char                *name);
// void test_text_caption_set_text_for_string_preferences         (EelTextCaption       *text_caption,
// 								const char                *name);
// void test_text_caption_set_text_for_default_int_preferences    (EelTextCaption       *text_caption,
// 								const char                *name);
// void test_text_caption_set_text_for_default_string_preferences (EelTextCaption       *text_caption,
// 								const char                *name);

#endif /* TEST_H */