File: picview.h

package info (click to toggle)
picview 0.8-4
  • links: PTS
  • area: main
  • in suites: woody
  • size: 604 kB
  • ctags: 98
  • sloc: ansic: 1,496; sh: 175; makefile: 75
file content (48 lines) | stat: -rw-r--r-- 731 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
#include <gnome.h>
#include <gtk/gtk.h>
#include <gdk/gdkkeysyms.h>
#include <gdk_imlib.h>
#include <dirent.h>
#include <sys/stat.h>
#include <stdio.h>
#include <signal.h>

#ifndef __PICVIEW_H__
#define __PICVIEW_H__

#define VERSION "0.8"
#define PWINDOW_DEFAULT_WIDTH 640
#define PWINDOW_DEFAULT_HEIGHT 500

enum {
    TARGET_URI_LIST,
};

typedef struct _picwindow picwindow;

struct _picwindow {
	GtkWidget *window;
	GtkWidget *table;
	GtkWidget *scrolled_window;
	GtkWidget *progress_bar;

	gchar *path;

	gboolean fullscreen;
	gboolean largesize;

	int cols;
	int rows;
	int butt_width;
	int butt_height;

	int redrawing;

	char viewer[100];
	gboolean use_external_viewer;

	GList *button_list;
	GList *file_list;
};

#endif