blob: 24cd2cae824724e1ddf0cf5ecfbab1a5cf48707f [file] [log] [blame]
Bram Moolenaaredf3f972016-08-29 22:49:24 +02001/* vi:set ts=8 sts=4 sw=4 noet:
Bram Moolenaar34114692005-01-02 11:28:13 +00002 *
3 * VIM - Vi IMproved by Bram Moolenaar
4 * GUI/Motif support by Robert Webb
5 *
6 * Do ":help uganda" in Vim to read copying and usage conditions.
7 * Do ":help credits" in Vim to see a list of people who contributed.
8 * See README.txt for an overview of the Vim source code.
9 */
10
11/*
12 * Icons used by the toolbar code.
13 */
14#include "../pixmaps/tb_new.xpm"
15#include "../pixmaps/tb_open.xpm"
16#include "../pixmaps/tb_close.xpm"
17#include "../pixmaps/tb_save.xpm"
18#include "../pixmaps/tb_print.xpm"
19#include "../pixmaps/tb_cut.xpm"
20#include "../pixmaps/tb_copy.xpm"
21#include "../pixmaps/tb_paste.xpm"
22#include "../pixmaps/tb_find.xpm"
23#include "../pixmaps/tb_find_next.xpm"
24#include "../pixmaps/tb_find_prev.xpm"
25#include "../pixmaps/tb_find_help.xpm"
26#include "../pixmaps/tb_exit.xpm"
27#include "../pixmaps/tb_undo.xpm"
28#include "../pixmaps/tb_redo.xpm"
29#include "../pixmaps/tb_help.xpm"
30#include "../pixmaps/tb_macro.xpm"
31#include "../pixmaps/tb_make.xpm"
32#include "../pixmaps/tb_save_all.xpm"
33#include "../pixmaps/tb_jump.xpm"
34#include "../pixmaps/tb_ctags.xpm"
35#include "../pixmaps/tb_load_session.xpm"
36#include "../pixmaps/tb_save_session.xpm"
37#include "../pixmaps/tb_new_session.xpm"
38#include "../pixmaps/tb_blank.xpm"
39#include "../pixmaps/tb_maximize.xpm"
40#include "../pixmaps/tb_split.xpm"
41#include "../pixmaps/tb_minimize.xpm"
42#include "../pixmaps/tb_shell.xpm"
43#include "../pixmaps/tb_replace.xpm"
44#include "../pixmaps/tb_vsplit.xpm"
45#include "../pixmaps/tb_maxwidth.xpm"
46#include "../pixmaps/tb_minwidth.xpm"
47
48/*
49 * Those are the pixmaps used for the default buttons.
50 */
51static char **(built_in_pixmaps[]) =
52{
53 tb_new_xpm,
54 tb_open_xpm,
55 tb_save_xpm,
56 tb_undo_xpm,
57 tb_redo_xpm,
58 tb_cut_xpm,
59 tb_copy_xpm,
60 tb_paste_xpm,
61 tb_print_xpm,
62 tb_help_xpm,
63 tb_find_xpm,
64 tb_save_all_xpm,
65 tb_save_session_xpm,
66 tb_new_session_xpm,
67 tb_load_session_xpm,
68 tb_macro_xpm,
69 tb_replace_xpm,
70 tb_close_xpm,
71 tb_maximize_xpm,
72 tb_minimize_xpm,
73 tb_split_xpm,
74 tb_shell_xpm,
75 tb_find_prev_xpm,
76 tb_find_next_xpm,
77 tb_find_help_xpm,
78 tb_make_xpm,
79 tb_jump_xpm,
80 tb_ctags_xpm,
81 tb_vsplit_xpm,
82 tb_maxwidth_xpm,
83 tb_minwidth_xpm,
84 tb_exit_xpm
85};
86
87/* Indices for named colors */
88#define BACKGROUND 0
89#define FOREGROUND 1
90#define BOTTOM_SHADOW 2
91#define TOP_SHADOW 3
92#define HIGHLIGHT 4