diff options
Diffstat (limited to 'plugins/TipperYM/src/options.h')
-rw-r--r-- | plugins/TipperYM/src/options.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/plugins/TipperYM/src/options.h b/plugins/TipperYM/src/options.h index 32c2009b8a..c3c649ded5 100644 --- a/plugins/TipperYM/src/options.h +++ b/plugins/TipperYM/src/options.h @@ -41,14 +41,26 @@ typedef struct { TCHAR *swzTooltip;
} OPTBUTTON;
+typedef enum { DIT_ALL = 0, DIT_CONTACTS = 1, DIT_CHATS = 2 } DisplayItemType;
typedef struct {
TCHAR swzLabel[LABEL_LEN];
TCHAR swzValue[VALUE_LEN];
+ DisplayItemType type;
bool bLineAbove, bValueNewline;
bool bIsVisible;
bool bParseTipperVarsFirst;
} DISPLAYITEM;
+// display item types
+static struct {
+ DisplayItemType type;
+ TCHAR* title;
+} displayItemTypes[] = {
+ { DIT_ALL, LPGENT("Show for all contact types") },
+ { DIT_CONTACTS, LPGENT("Show only for contacts") },
+ { DIT_CHATS, LPGENT("Show only for chatrooms") }
+};
+
typedef enum {DVT_DB = 0, DVT_PROTODB = 1} DisplaySubstType;
typedef struct {
TCHAR swzName[LABEL_LEN];
|