1 /* vifm 2 * Copyright (C) 2001 Ken Steen. 3 * Copyright (C) 2011 xaizek. 4 * 5 * This program is free software; you can redistribute it and/or modify 6 * it under the terms of the GNU General Public License as published by 7 * the Free Software Foundation; either version 2 of the License, or 8 * (at your option) any later version. 9 * 10 * This program is distributed in the hope that it will be useful, 11 * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 * GNU General Public License for more details. 14 * 15 * You should have received a copy of the GNU General Public License 16 * along with this program; if not, write to the Free Software 17 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA 18 */ 19 20 #ifndef VIFM__UI__COLORS_H__ 21 #define VIFM__UI__COLORS_H__ 22 23 /* Color information structure. */ 24 typedef struct col_attr_t 25 { 26 int fg; /* Foreground color. */ 27 int bg; /* Background color. */ 28 int attr; /* Attributes (bold, inverse, etc.). */ 29 } 30 col_attr_t; 31 32 /* Elements of a color scheme. Each one is an offset of a color pair inside of 33 * color scheme. */ 34 enum 35 { 36 WIN_COLOR, /* Pane background and default file highlight. */ 37 DIRECTORY_COLOR, /* Directory. */ 38 LINK_COLOR, /* Symbolic link. */ 39 BROKEN_LINK_COLOR, /* Dangling symbolic link. */ 40 HARD_LINK_COLOR, /* Regular files with more than one hard link. */ 41 SOCKET_COLOR, /* Socket. */ 42 DEVICE_COLOR, /* Device file. */ 43 FIFO_COLOR, /* Named pipe. */ 44 EXECUTABLE_COLOR, /* Executable. */ 45 SELECTED_COLOR, /* Selected item. */ 46 CURR_LINE_COLOR, /* Line under the cursor in the selected pane. */ 47 TOP_LINE_COLOR, /* Top line of the other pane. */ 48 TOP_LINE_SEL_COLOR, /* Top line of the selected pane. */ 49 STATUS_LINE_COLOR, /* Status line. */ 50 WILD_MENU_COLOR, /* Wild menu. */ 51 CMD_LINE_COLOR, /* Command line. */ 52 ERROR_MSG_COLOR, /* Error of the command line. */ 53 BORDER_COLOR, /* Vertical border lines. */ 54 OTHER_LINE_COLOR, /* Line under the cursor in the other pane. */ 55 JOB_LINE_COLOR, /* Line that displays status of background jobs. */ 56 SUGGEST_BOX_COLOR, /* Style of suggestion box. */ 57 MISMATCH_COLOR, /* File entries that don't match each other in diff. */ 58 AUX_WIN_COLOR, /* Auxiliary part of window. */ 59 TAB_LINE_COLOR, /* Tab line. */ 60 TAB_LINE_SEL_COLOR, /* Tip of selected tab. */ 61 USER1_COLOR, /* User color #1. */ 62 USER2_COLOR, /* User color #2. */ 63 USER3_COLOR, /* User color #3. */ 64 USER4_COLOR, /* User color #4. */ 65 USER5_COLOR, /* User color #5. */ 66 USER6_COLOR, /* User color #6. */ 67 USER7_COLOR, /* User color #7. */ 68 USER8_COLOR, /* User color #8. */ 69 USER9_COLOR, /* User color #9. */ 70 OTHER_WIN_COLOR, /* Background and highlighting for inactive pane. */ 71 LINE_NUM_COLOR, /* Color of line number column of panes. */ 72 ODD_LINE_COLOR, /* Color of every second entry line in a pane. */ 73 MAXNUM_COLOR /* Number of elements of a color scheme. */ 74 }; 75 76 #endif /* VIFM__UI__COLORS_H__ */ 77 78 /* vim: set tabstop=2 softtabstop=2 shiftwidth=2 noexpandtab cinoptions-=(0 : */ 79 /* vim: set cinoptions+=t0 filetype=c : */ 80