"Fossies" - the Fresh Open Source Software Archive 
Member "xzgv-0.9.2/src/main.h" (3 Sep 2017, 1651 Bytes) of package /linux/misc/old/xzgv-0.9.2.tar.gz:
As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) C and C++ source code syntax highlighting (style:
standard) with prefixed line numbers and
code folding option.
Alternatively you can here
view or
download the uninterpreted source code file.
For more information about "main.h" see the
Fossies "Dox" file reference documentation.
1 /* xzgv - picture viewer for X, with file selector.
2 * Copyright (C) 1999,2000 Russell Marks. See main.c for license details.
3 *
4 * main.h - header for main.c; there's plenty more I could list,
5 * but stuff here is on a `need to know' basis :-)
6 */
7
8 /* which column is which in selector */
9 #define SELECTOR_TN_COL 0
10 #define SELECTOR_NAME_COL 1
11
12 struct clist_data_tag
13 {
14 char isdir; /* 0=file, 1=dir. */
15 char tagged;
16 off_t size;
17 time_t mtime,ctime,atime;
18 int extofs;
19 GdkPixmap *pm_norm; /* normal thumbnail pixmap */
20 GdkPixmap *pm_small; /* small version for thin rows mode */
21 GdkBitmap *pm_norm_mask; /* mask, NULL for `real' thumbnails */
22 GdkBitmap *pm_small_mask; /* ...but used for dirs and no-tn files */
23 };
24
25 extern GtkWidget *clist,*mainwin;
26 extern GtkAccelGroup *mainwin_accel_group;
27 extern int numrows;
28 extern int cmdline_files;
29
30 extern void do_gtk_stuff(void);
31 extern xzgv_image *load_image(char *file,int for_thumbnail,
32 int *origwp,int *orighp);
33 extern void make_visible_if_not(int row);
34 extern int get_tagged_state(int row);
35 extern int thumbnail_read_running(void);
36 extern void start_thumbnail_read(void);
37 extern void stop_thumbnail_read(void);
38 extern void blocking_thumbnail_read_visible(GtkWidget **checkptr);
39 extern void resort_finish(void);
40 extern GdkPixmap *xvpic2pixmap(unsigned char *xvpic,
41 int w,int h,GdkPixmap **smallp);
42 extern void new_pastpos(int row);
43 extern void error_dialog(char *title,char *msg);
44 extern void reinit_dir(int do_pastpos,int try_to_save_cursor_pos);
45 extern gint generic_win_destroy(GtkWidget *widget,int *destroyed_flag);