root / libsylph / enums.h @ 2735
History | View | Annotate | Download (1.4 kB)
| 1 | /*
|
|---|---|
| 2 | * LibSylph -- E-Mail client library |
| 3 | * Copyright (C) 1999-2005 Hiroyuki Yamamoto |
| 4 | * |
| 5 | * This library is free software; you can redistribute it and/or |
| 6 | * modify it under the terms of the GNU Lesser General Public |
| 7 | * License as published by the Free Software Foundation; either |
| 8 | * version 2.1 of the License, or (at your option) any later version. |
| 9 | * |
| 10 | * This library 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 GNU |
| 13 | * Lesser General Public License for more details. |
| 14 | * |
| 15 | * You should have received a copy of the GNU Lesser General Public |
| 16 | * License along with this library; if not, write to the Free Software |
| 17 | * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA |
| 18 | */ |
| 19 | |
| 20 | #ifndef __ENUMS_H__
|
| 21 | #define __ENUMS_H__
|
| 22 | |
| 23 | typedef enum |
| 24 | {
|
| 25 | TOOLBAR_NONE, |
| 26 | TOOLBAR_ICON, |
| 27 | TOOLBAR_TEXT, |
| 28 | TOOLBAR_BOTH, |
| 29 | TOOLBAR_BOTH_HORIZ |
| 30 | } ToolbarStyle; |
| 31 | |
| 32 | typedef enum |
| 33 | {
|
| 34 | LAYOUT_NORMAL, |
| 35 | LAYOUT_VERTICAL, |
| 36 | LAYOUT_VERTICAL_DOUBLE, |
| 37 | LAYOUT_WIDE_MESSAGE, |
| 38 | LAYOUT_WIDE_SUMMARY |
| 39 | } LayoutType; |
| 40 | |
| 41 | typedef enum |
| 42 | {
|
| 43 | S_COL_MARK, |
| 44 | S_COL_UNREAD, |
| 45 | S_COL_MIME, |
| 46 | S_COL_SUBJECT, |
| 47 | S_COL_FROM, |
| 48 | S_COL_DATE, |
| 49 | S_COL_SIZE, |
| 50 | S_COL_NUMBER, |
| 51 | S_COL_TO, |
| 52 | |
| 53 | S_COL_MSG_INFO, |
| 54 | |
| 55 | S_COL_LABEL, |
| 56 | S_COL_TDATE, |
| 57 | |
| 58 | S_COL_FOREGROUND, |
| 59 | S_COL_BOLD, |
| 60 | |
| 61 | N_SUMMARY_COLS |
| 62 | } SummaryColumnType; |
| 63 | |
| 64 | #define N_SUMMARY_VISIBLE_COLS S_COL_MSG_INFO
|
| 65 | |
| 66 | #endif /* __ENUMS_H__ */ |