summaryrefslogtreecommitdiff
path: root/plugins/TipperYM/src/options.h
diff options
context:
space:
mode:
authorslotwin <slotwin@users.noreply.github.com>2014-06-03 19:10:06 +0000
committerslotwin <slotwin@users.noreply.github.com>2014-06-03 19:10:06 +0000
commita4ab8224c5ac160ccedb9f23b8c7eb687bd3a17c (patch)
treed4eaaba72cf10d5de289b7448d80912d2056efd9 /plugins/TipperYM/src/options.h
parentd6ed0d2f7c7dd84f7320ab60e4a6cecead0100dc (diff)
Tipper: use system checkboxes with TreeView controls instead of custom icons
some other minor changes on option pages git-svn-id: http://svn.miranda-ng.org/main/trunk@9409 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/TipperYM/src/options.h')
-rw-r--r--plugins/TipperYM/src/options.h29
1 files changed, 12 insertions, 17 deletions
diff --git a/plugins/TipperYM/src/options.h b/plugins/TipperYM/src/options.h
index ac61325b85..f75e828d89 100644
--- a/plugins/TipperYM/src/options.h
+++ b/plugins/TipperYM/src/options.h
@@ -29,9 +29,6 @@ Boston, MA 02111-1307, USA.
#define MODULE_NAME_LEN 512
#define SETTING_NAME_LEN 512
-// chekcbox icons
-#define IDI_NOTICK 205
-#define IDI_TICK 206
#define IDPRESETITEM 1000
#define MS_TOOLTIP_SHOWTIP "mToolTip/ShowTip"
@@ -54,14 +51,14 @@ typedef struct {
// display item types
static struct {
DisplayItemType type;
- TCHAR* title;
+ 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 enum { DVT_DB = 0, DVT_PROTODB = 1 } DisplaySubstType;
typedef struct {
TCHAR swzName[LABEL_LEN];
DisplaySubstType type;
@@ -88,13 +85,12 @@ typedef struct {
} MARGINS;
// tray tooltip items
-static TCHAR* trayTipItems[TRAYTIP_ITEMS_COUNT] =
-{
+static TCHAR *trayTipItems[TRAYTIP_ITEMS_COUNT] = {
LPGENT("Number of contacts"),
LPGENT("Protocol lock status"),
LPGENT("Logon time"),
LPGENT("Unread emails"),
- LPGENT("Status"),
+ LPGENT("Status"),
LPGENT("Status message"),
LPGENT("Extra status"),
LPGENT("Listening to"),
@@ -104,11 +100,10 @@ static TCHAR* trayTipItems[TRAYTIP_ITEMS_COUNT] =
};
// extra icons
-static TCHAR* extraIconName[6] =
-{
+static TCHAR *extraIconName[6] = {
LPGENT("Status"),
- LPGENT("Extra status"),
- LPGENT("Jabber activity"),
+ LPGENT("Extra status"),
+ LPGENT("Jabber activity"),
LPGENT("Gender"),
LPGENT("Country flag"),
LPGENT("Client")
@@ -124,10 +119,10 @@ typedef struct {
BYTE vis;
} ICONSTATE;
-typedef enum {PAV_NONE=0, PAV_LEFT=1, PAV_RIGHT=2} PopupAvLayout;
-typedef enum {PTL_NOICON=0, PTL_LEFTICON=1, PTL_RIGHTICON=2} PopupIconTitleLayout;
-typedef enum {PP_BOTTOMRIGHT=0, PP_BOTTOMLEFT=1, PP_TOPRIGHT=2, PP_TOPLEFT=3} PopupPosition;
-typedef enum {PSE_NONE=0, PSE_ANIMATE=1, PSE_FADE=2} PopupShowEffect;
+typedef enum { PAV_NONE = 0, PAV_LEFT = 1, PAV_RIGHT = 2 } PopupAvLayout;
+typedef enum { PTL_NOICON = 0, PTL_LEFTICON = 1, PTL_RIGHTICON = 2 } PopupIconTitleLayout;
+typedef enum { PP_BOTTOMRIGHT = 0, PP_BOTTOMLEFT = 1, PP_TOPRIGHT = 2, PP_TOPLEFT = 3 } PopupPosition;
+typedef enum { PSE_NONE = 0, PSE_ANIMATE = 1, PSE_FADE = 2 } PopupShowEffect;
typedef struct {
int iWinWidth, iWinMaxHeight, iAvatarSize; //tweety
@@ -190,7 +185,7 @@ typedef struct {
int iLimitCharCount;
int iSmileyAddFlags;
BYTE exIconsOrder[EXICONS_COUNT];
- BYTE exIconsVis[EXICONS_COUNT];
+ BYTE exIconsVis[EXICONS_COUNT];
} OPTIONS;