annotate src/gui_x11_pm.h @ 21716:ba99b55d3fb7

Added tag v8.2.1407 for changeset 571832713efa4381d7390f0756b5db03a05301db
author Bram Moolenaar <Bram@vim.org>
date Sun, 09 Aug 2020 17:30:04 +0200
parents 6e3dc2d630c2
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
10042
4aead6a9b7a9 commit https://github.com/vim/vim/commit/edf3f97ae2af024708ebb4ac614227327033ca47
Christian Brabandt <cb@256bit.org>
parents: 47
diff changeset
1 /* vi:set ts=8 sts=4 sw=4 noet:
47
eff3887963cc updated for version 7.0028
vimboss
parents:
diff changeset
2 *
eff3887963cc updated for version 7.0028
vimboss
parents:
diff changeset
3 * VIM - Vi IMproved by Bram Moolenaar
eff3887963cc updated for version 7.0028
vimboss
parents:
diff changeset
4 * GUI/Motif support by Robert Webb
eff3887963cc updated for version 7.0028
vimboss
parents:
diff changeset
5 *
eff3887963cc updated for version 7.0028
vimboss
parents:
diff changeset
6 * Do ":help uganda" in Vim to read copying and usage conditions.
eff3887963cc updated for version 7.0028
vimboss
parents:
diff changeset
7 * Do ":help credits" in Vim to see a list of people who contributed.
eff3887963cc updated for version 7.0028
vimboss
parents:
diff changeset
8 * See README.txt for an overview of the Vim source code.
eff3887963cc updated for version 7.0028
vimboss
parents:
diff changeset
9 */
eff3887963cc updated for version 7.0028
vimboss
parents:
diff changeset
10
eff3887963cc updated for version 7.0028
vimboss
parents:
diff changeset
11 /*
eff3887963cc updated for version 7.0028
vimboss
parents:
diff changeset
12 * Icons used by the toolbar code.
eff3887963cc updated for version 7.0028
vimboss
parents:
diff changeset
13 */
eff3887963cc updated for version 7.0028
vimboss
parents:
diff changeset
14 #include "../pixmaps/tb_new.xpm"
eff3887963cc updated for version 7.0028
vimboss
parents:
diff changeset
15 #include "../pixmaps/tb_open.xpm"
eff3887963cc updated for version 7.0028
vimboss
parents:
diff changeset
16 #include "../pixmaps/tb_close.xpm"
eff3887963cc updated for version 7.0028
vimboss
parents:
diff changeset
17 #include "../pixmaps/tb_save.xpm"
eff3887963cc updated for version 7.0028
vimboss
parents:
diff changeset
18 #include "../pixmaps/tb_print.xpm"
eff3887963cc updated for version 7.0028
vimboss
parents:
diff changeset
19 #include "../pixmaps/tb_cut.xpm"
eff3887963cc updated for version 7.0028
vimboss
parents:
diff changeset
20 #include "../pixmaps/tb_copy.xpm"
eff3887963cc updated for version 7.0028
vimboss
parents:
diff changeset
21 #include "../pixmaps/tb_paste.xpm"
eff3887963cc updated for version 7.0028
vimboss
parents:
diff changeset
22 #include "../pixmaps/tb_find.xpm"
eff3887963cc updated for version 7.0028
vimboss
parents:
diff changeset
23 #include "../pixmaps/tb_find_next.xpm"
eff3887963cc updated for version 7.0028
vimboss
parents:
diff changeset
24 #include "../pixmaps/tb_find_prev.xpm"
eff3887963cc updated for version 7.0028
vimboss
parents:
diff changeset
25 #include "../pixmaps/tb_find_help.xpm"
eff3887963cc updated for version 7.0028
vimboss
parents:
diff changeset
26 #include "../pixmaps/tb_exit.xpm"
eff3887963cc updated for version 7.0028
vimboss
parents:
diff changeset
27 #include "../pixmaps/tb_undo.xpm"
eff3887963cc updated for version 7.0028
vimboss
parents:
diff changeset
28 #include "../pixmaps/tb_redo.xpm"
eff3887963cc updated for version 7.0028
vimboss
parents:
diff changeset
29 #include "../pixmaps/tb_help.xpm"
eff3887963cc updated for version 7.0028
vimboss
parents:
diff changeset
30 #include "../pixmaps/tb_macro.xpm"
eff3887963cc updated for version 7.0028
vimboss
parents:
diff changeset
31 #include "../pixmaps/tb_make.xpm"
eff3887963cc updated for version 7.0028
vimboss
parents:
diff changeset
32 #include "../pixmaps/tb_save_all.xpm"
eff3887963cc updated for version 7.0028
vimboss
parents:
diff changeset
33 #include "../pixmaps/tb_jump.xpm"
eff3887963cc updated for version 7.0028
vimboss
parents:
diff changeset
34 #include "../pixmaps/tb_ctags.xpm"
eff3887963cc updated for version 7.0028
vimboss
parents:
diff changeset
35 #include "../pixmaps/tb_load_session.xpm"
eff3887963cc updated for version 7.0028
vimboss
parents:
diff changeset
36 #include "../pixmaps/tb_save_session.xpm"
eff3887963cc updated for version 7.0028
vimboss
parents:
diff changeset
37 #include "../pixmaps/tb_new_session.xpm"
eff3887963cc updated for version 7.0028
vimboss
parents:
diff changeset
38 #include "../pixmaps/tb_blank.xpm"
eff3887963cc updated for version 7.0028
vimboss
parents:
diff changeset
39 #include "../pixmaps/tb_maximize.xpm"
eff3887963cc updated for version 7.0028
vimboss
parents:
diff changeset
40 #include "../pixmaps/tb_split.xpm"
eff3887963cc updated for version 7.0028
vimboss
parents:
diff changeset
41 #include "../pixmaps/tb_minimize.xpm"
eff3887963cc updated for version 7.0028
vimboss
parents:
diff changeset
42 #include "../pixmaps/tb_shell.xpm"
eff3887963cc updated for version 7.0028
vimboss
parents:
diff changeset
43 #include "../pixmaps/tb_replace.xpm"
eff3887963cc updated for version 7.0028
vimboss
parents:
diff changeset
44 #include "../pixmaps/tb_vsplit.xpm"
eff3887963cc updated for version 7.0028
vimboss
parents:
diff changeset
45 #include "../pixmaps/tb_maxwidth.xpm"
eff3887963cc updated for version 7.0028
vimboss
parents:
diff changeset
46 #include "../pixmaps/tb_minwidth.xpm"
eff3887963cc updated for version 7.0028
vimboss
parents:
diff changeset
47
eff3887963cc updated for version 7.0028
vimboss
parents:
diff changeset
48 /*
eff3887963cc updated for version 7.0028
vimboss
parents:
diff changeset
49 * Those are the pixmaps used for the default buttons.
eff3887963cc updated for version 7.0028
vimboss
parents:
diff changeset
50 */
eff3887963cc updated for version 7.0028
vimboss
parents:
diff changeset
51 static char **(built_in_pixmaps[]) =
eff3887963cc updated for version 7.0028
vimboss
parents:
diff changeset
52 {
eff3887963cc updated for version 7.0028
vimboss
parents:
diff changeset
53 tb_new_xpm,
eff3887963cc updated for version 7.0028
vimboss
parents:
diff changeset
54 tb_open_xpm,
eff3887963cc updated for version 7.0028
vimboss
parents:
diff changeset
55 tb_save_xpm,
eff3887963cc updated for version 7.0028
vimboss
parents:
diff changeset
56 tb_undo_xpm,
eff3887963cc updated for version 7.0028
vimboss
parents:
diff changeset
57 tb_redo_xpm,
eff3887963cc updated for version 7.0028
vimboss
parents:
diff changeset
58 tb_cut_xpm,
eff3887963cc updated for version 7.0028
vimboss
parents:
diff changeset
59 tb_copy_xpm,
eff3887963cc updated for version 7.0028
vimboss
parents:
diff changeset
60 tb_paste_xpm,
eff3887963cc updated for version 7.0028
vimboss
parents:
diff changeset
61 tb_print_xpm,
eff3887963cc updated for version 7.0028
vimboss
parents:
diff changeset
62 tb_help_xpm,
eff3887963cc updated for version 7.0028
vimboss
parents:
diff changeset
63 tb_find_xpm,
eff3887963cc updated for version 7.0028
vimboss
parents:
diff changeset
64 tb_save_all_xpm,
eff3887963cc updated for version 7.0028
vimboss
parents:
diff changeset
65 tb_save_session_xpm,
eff3887963cc updated for version 7.0028
vimboss
parents:
diff changeset
66 tb_new_session_xpm,
eff3887963cc updated for version 7.0028
vimboss
parents:
diff changeset
67 tb_load_session_xpm,
eff3887963cc updated for version 7.0028
vimboss
parents:
diff changeset
68 tb_macro_xpm,
eff3887963cc updated for version 7.0028
vimboss
parents:
diff changeset
69 tb_replace_xpm,
eff3887963cc updated for version 7.0028
vimboss
parents:
diff changeset
70 tb_close_xpm,
eff3887963cc updated for version 7.0028
vimboss
parents:
diff changeset
71 tb_maximize_xpm,
eff3887963cc updated for version 7.0028
vimboss
parents:
diff changeset
72 tb_minimize_xpm,
eff3887963cc updated for version 7.0028
vimboss
parents:
diff changeset
73 tb_split_xpm,
eff3887963cc updated for version 7.0028
vimboss
parents:
diff changeset
74 tb_shell_xpm,
eff3887963cc updated for version 7.0028
vimboss
parents:
diff changeset
75 tb_find_prev_xpm,
eff3887963cc updated for version 7.0028
vimboss
parents:
diff changeset
76 tb_find_next_xpm,
eff3887963cc updated for version 7.0028
vimboss
parents:
diff changeset
77 tb_find_help_xpm,
eff3887963cc updated for version 7.0028
vimboss
parents:
diff changeset
78 tb_make_xpm,
eff3887963cc updated for version 7.0028
vimboss
parents:
diff changeset
79 tb_jump_xpm,
eff3887963cc updated for version 7.0028
vimboss
parents:
diff changeset
80 tb_ctags_xpm,
eff3887963cc updated for version 7.0028
vimboss
parents:
diff changeset
81 tb_vsplit_xpm,
eff3887963cc updated for version 7.0028
vimboss
parents:
diff changeset
82 tb_maxwidth_xpm,
eff3887963cc updated for version 7.0028
vimboss
parents:
diff changeset
83 tb_minwidth_xpm,
eff3887963cc updated for version 7.0028
vimboss
parents:
diff changeset
84 tb_exit_xpm
eff3887963cc updated for version 7.0028
vimboss
parents:
diff changeset
85 };
eff3887963cc updated for version 7.0028
vimboss
parents:
diff changeset
86
18753
6e3dc2d630c2 patch 8.1.2366: using old C style comments
Bram Moolenaar <Bram@vim.org>
parents: 10042
diff changeset
87 // Indices for named colors
47
eff3887963cc updated for version 7.0028
vimboss
parents:
diff changeset
88 #define BACKGROUND 0
eff3887963cc updated for version 7.0028
vimboss
parents:
diff changeset
89 #define FOREGROUND 1
eff3887963cc updated for version 7.0028
vimboss
parents:
diff changeset
90 #define BOTTOM_SHADOW 2
eff3887963cc updated for version 7.0028
vimboss
parents:
diff changeset
91 #define TOP_SHADOW 3
eff3887963cc updated for version 7.0028
vimboss
parents:
diff changeset
92 #define HIGHLIGHT 4