~ubuntu-branches/ubuntu/hardy/gnome-commander/hardy

« back to all changes in this revision

Viewing changes to src/imageloader.h

  • Committer: Bazaar Package Importer
  • Author(s): Michael Vogt
  • Date: 2006-06-13 15:39:48 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20060613153948-gvrt3mb2ddk5u62o
Tags: 1.2.0-3
added --disable-scrollkeeper on build

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/*
2
 
    GNOME Commander - A GNOME based file manager 
 
2
    GNOME Commander - A GNOME based file manager
3
3
    Copyright (C) 2001-2006 Marcus Bjurman
4
4
 
5
5
    This program is free software; you can redistribute it and/or modify
15
15
    You should have received a copy of the GNU General Public License
16
16
    along with this program; if not, write to the Free Software
17
17
    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
18
 
*/ 
 
18
*/
19
19
 
20
20
 
21
21
#ifndef __IMAGELOADER_H__
25
25
 
26
26
 
27
27
/**
28
 
 * If you add a pixmap id here be sure to add its filename in 
 
28
 * If you add a pixmap id here be sure to add its filename in
29
29
 * the array in imageloader.c
30
30
 */
31
31
typedef enum {
32
 
        PIXMAP_NONE,
33
 
        
34
 
        PIXMAP_FLIST_ARROW_UP,
35
 
        PIXMAP_FLIST_ARROW_DOWN,
36
 
        PIXMAP_FLIST_ARROW_BLANK,
37
 
 
38
 
        PIXMAP_SERVER_SMALL,
39
 
        PIXMAP_LOGO,
40
 
        PIXMAP_EXEC,
41
 
        PIXMAP_EXEC_WHEEL,
42
 
        PIXMAP_MKDIR,
43
 
        PIXMAP_LOCK,
44
 
        PIXMAP_HOME,
45
 
        PIXMAP_SMB_NETWORK,
46
 
        PIXMAP_SMB_COMPUTER,
47
 
        PIXMAP_BOOKMARK,
48
 
 
49
 
        PIXMAP_OVERLAY_SYMLINK,
50
 
        PIXMAP_OVERLAY_UMOUNT,
51
 
        PIXMAP_PARENT_DIR,
52
 
        PIXMAP_ROOT_DIR,
53
 
        PIXMAP_FTP_CONNECT,
54
 
        PIXMAP_FTP_DISCONNECT,
55
 
        PIXMAP_MENU_FTP_CONNECT,
56
 
        PIXMAP_MENU_FTP_DISCONNECT,
57
 
        PIXMAP_SWITCH_V,
58
 
        PIXMAP_SWITCH_H,
59
 
        
60
 
        NUM_PIXMAPS
 
32
    PIXMAP_NONE,
 
33
 
 
34
    PIXMAP_FLIST_ARROW_UP,
 
35
    PIXMAP_FLIST_ARROW_DOWN,
 
36
    PIXMAP_FLIST_ARROW_BLANK,
 
37
 
 
38
    PIXMAP_SERVER_SMALL,
 
39
    PIXMAP_LOGO,
 
40
    PIXMAP_EXEC,
 
41
    PIXMAP_EXEC_WHEEL,
 
42
    PIXMAP_MKDIR,
 
43
    PIXMAP_LOCK,
 
44
    PIXMAP_HOME,
 
45
        PIXMAP_DESKTOP,
 
46
    PIXMAP_SMB_NETWORK,
 
47
    PIXMAP_SMB_COMPUTER,
 
48
    PIXMAP_BOOKMARK,
 
49
 
 
50
    PIXMAP_OVERLAY_SYMLINK,
 
51
    PIXMAP_OVERLAY_UMOUNT,
 
52
    PIXMAP_PARENT_DIR,
 
53
    PIXMAP_ROOT_DIR,
 
54
    PIXMAP_FTP_CONNECT,
 
55
    PIXMAP_FTP_DISCONNECT,
 
56
    PIXMAP_MENU_FTP_CONNECT,
 
57
    PIXMAP_MENU_FTP_DISCONNECT,
 
58
    PIXMAP_SWITCH_V,
 
59
    PIXMAP_SWITCH_H,
 
60
 
 
61
    NUM_PIXMAPS
61
62
} Pixmap;
62
63
 
63
64
 
70
71
GnomeCmdPixmap *IMAGE_get_gnome_cmd_pixmap (Pixmap pixmap_id);
71
72
 
72
73
gboolean IMAGE_get_pixmap_and_mask (GnomeVFSFileType type,
73
 
                                                                        const gchar *mime_type,
74
 
                                                                        gboolean symlink,
75
 
                                                                        GdkPixmap **pixmap,
76
 
                                                                        GdkBitmap **mask);
 
74
                                    const gchar *mime_type,
 
75
                                    gboolean symlink,
 
76
                                    GdkPixmap **pixmap,
 
77
                                    GdkBitmap **mask);
77
78
 
78
79
void IMAGE_clear_mime_cache (void);
79
80