Mercurial > vim
annotate src/gui_x11_pm.h @ 32232:daef00e8d99f v9.0.1447
patch 9.0.1447: condition is always true
Commit: https://github.com/vim/vim/commit/474891bc89e657100bd37c29129451a0e601879d
Author: zeertzjq <zeertzjq@outlook.com>
Date: Wed Apr 12 21:36:03 2023 +0100
patch 9.0.1447: condition is always true
Problem: Condition is always true.
Solution: Remove the useless condition. (closes https://github.com/vim/vim/issues/12253)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Wed, 12 Apr 2023 22:45:03 +0200 |
parents | 6e3dc2d630c2 |
children |
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 | 2 * |
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 */ | |
51 static 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 | |
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 | 88 #define BACKGROUND 0 |
89 #define FOREGROUND 1 | |
90 #define BOTTOM_SHADOW 2 | |
91 #define TOP_SHADOW 3 | |
92 #define HIGHLIGHT 4 |