summaryrefslogtreecommitdiff
path: root/plugins/Popup/src/def_settings.h
diff options
context:
space:
mode:
authorKirill Volinsky <mataes2007@gmail.com>2014-12-21 08:17:45 +0000
committerKirill Volinsky <mataes2007@gmail.com>2014-12-21 08:17:45 +0000
commitb3ded48d866f59df3c9e8634eabe6e62596ad2d5 (patch)
treea7a9f2cdd1a9846b7445e8ec6babbecee79c8c0b /plugins/Popup/src/def_settings.h
parentb2ba573600e650273800774c7fad23268019a353 (diff)
Popup: changed warning level to w4
git-svn-id: http://svn.miranda-ng.org/main/trunk@11550 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Popup/src/def_settings.h')
-rw-r--r--plugins/Popup/src/def_settings.h134
1 files changed, 67 insertions, 67 deletions
diff --git a/plugins/Popup/src/def_settings.h b/plugins/Popup/src/def_settings.h
index 2bfc5d7cf1..6e2dd748d4 100644
--- a/plugins/Popup/src/def_settings.h
+++ b/plugins/Popup/src/def_settings.h
@@ -2,7 +2,7 @@
Popup Plus plugin for Miranda IM
Copyright © 2002 Luca Santarelli,
- © 2004-2007 Victor Pavlychko
+© 2004-2007 Victor Pavlychko
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
@@ -36,25 +36,25 @@ enum
//===== Sizes =====
enum
{
- STYLE_SZ_GAP = 4,
- STYLE_SZ_TEXTH = 14,
- STYLE_SZ_NAMEH = 14,
- STYLE_SZ_TIMEW = 35,
- STYLE_SZ_TIMEH = 14,
+ STYLE_SZ_GAP = 4,
+ STYLE_SZ_TEXTH = 14,
+ STYLE_SZ_NAMEH = 14,
+ STYLE_SZ_TIMEW = 35,
+ STYLE_SZ_TIMEH = 14,
-// STYLE_SZ_CLOCKH = 13,
-// STYLE_SZ_CLOCKW = 7,
-// STYLE_SZ_CLOCK = 2 + 3 + 4 * STYLE_SZ_CLOCKW + 2,
+ // STYLE_SZ_CLOCKH = 13,
+ // STYLE_SZ_CLOCKW = 7,
+ // STYLE_SZ_CLOCK = 2 + 3 + 4 * STYLE_SZ_CLOCKW + 2,
// Text and Name are style dependant.
- STYLE_SZ_TEXTW_FLAT = 146,
- STYLE_SZ_NAMEW_FLAT = 101,
- STYLE_SZ_TEXTW_BEVELED = 125,
- STYLE_SZ_NAMEW_BEVELED = 80,
+ STYLE_SZ_TEXTW_FLAT = 146,
+ STYLE_SZ_NAMEW_FLAT = 101,
+ STYLE_SZ_TEXTW_BEVELED = 125,
+ STYLE_SZ_NAMEW_BEVELED = 80,
// border size
- STYLE_SZ_BORDER_BEVELED = 2,
- STYLE_SZ_BORDER_FLAT = 2
+ STYLE_SZ_BORDER_BEVELED = 2,
+ STYLE_SZ_BORDER_FLAT = 2
};
//===== Popup Positioning =====
@@ -65,10 +65,10 @@ enum
POS_LOWERRIGHT,
POS_UPPERRIGHT,
POS_CENTER,
-
+
// ranges
- POS_MINVALUE = POS_UPPERLEFT,
- POS_MAXVALUE = POS_CENTER
+ POS_MINVALUE = POS_UPPERLEFT,
+ POS_MAXVALUE = POS_CENTER
};
//===== Spreading =====
@@ -77,8 +77,8 @@ enum
SPREADING_HORIZONTAL,
SPREADING_VERTICAL,
- SPREADING_MINVALUE = SPREADING_HORIZONTAL,
- SPREADING_MAXVALUE = SPREADING_VERTICAL
+ SPREADING_MINVALUE = SPREADING_HORIZONTAL,
+ SPREADING_MAXVALUE = SPREADING_VERTICAL
};
//===== Popup Options flags
@@ -92,61 +92,61 @@ enum
};
enum
{
- TIMER_TIMETOLIVE = 26378, // My Birthday, send me something 8)
- TIMER_TESTCHANGE = 60477, // You know who you are.
+ TIMER_TIMETOLIVE = 26378, // My Birthday, send me something 8)
+ TIMER_TESTCHANGE = 60477, // You know who you are.
+
+ ANIM_TIME = 250,
+ FADE_TIME = (ANIM_TIME),
+ FADE_STEP = 10,
- ANIM_TIME = 250,
- FADE_TIME = (ANIM_TIME),
- FADE_STEP = 10,
+ MN_MIRANDA = 0x01,
+ MN_ACTIVE = 0x02,
- MN_MIRANDA = 0x01,
- MN_ACTIVE = 0x02,
-
UM_SETDLGITEMINT = 5674
};
// Defaults:
enum
{
- SETTING_BACKCOLOUR_DEFAULT = RGB(173,206,247),
- SETTING_TEXTCOLOUR_DEFAULT = RGB(0,0,0),
-
- SETTING_MONITOR_DEFAULT = MN_MIRANDA,
- SETTING_USEMINIMUMWIDTH_DEFAULT = 1,
- SETTING_USEMAXIMUMWIDTH_DEFAULT = 1,
- SETTING_USINGTHREADS_DEFAULT = 1,
- SETTING_MODULEISENABLED_DEFAULT = 1,
- SETTING_MULTILINE_DEFAULT = 1,
- SETTING_FADEINTIME_DEFAULT = (ANIM_TIME),
- SETTING_FADEOUTTIME_DEFAULT = (ANIM_TIME),
- SETTING_FADEOUTTIME_MIN = 0,
- SETTING_FADEINTIME_MIN = 0,
- SETTING_FADEOUTTIME_MAX = 10000,
- SETTING_FADEINTIME_MAX = 10000,
-
- SETTING_LIFETIME_MIN = 1,
- SETTING_LIFETIME_MAX = 60,
- SETTING_LIFETIME_DEFAULT = 4,
- SETTING_LIFETIME_INFINITE = -1,
-
- SETTING_ENLARGEMENT_MIN = 100,
- SETTING_ENLARGEMENT_MAX = 200,
- SETTING_ENLARGEMENT_DEFAULT = 120,
-
- SETTING_HISTORYSIZE_MAX = 100,
- SETTING_HISTORYSIZE_DEFAULT = 20,
-
- SETTING_AVTSIZE_MIN = 16,
- SETTING_AVTSIZE_MAX = 100,
- SETTING_AVTSIZE_DEFAULT = 32,
-
- SETTING_MINIMUMWIDTH_MIN = 80,
- SETTING_MINIMUMWIDTH_MAX = 160,
- SETTING_MINIMUMWIDTH_DEFAULT= 110,
-
- SETTING_MAXIMUMWIDTH_MIN = 160,
-// SETTING_MAXIMUMWIDTH_MAX = 640,
- SETTING_MAXIMUMWIDTH_DEFAULT= 310,
+ SETTING_BACKCOLOUR_DEFAULT = RGB(173, 206, 247),
+ SETTING_TEXTCOLOUR_DEFAULT = RGB(0, 0, 0),
+
+ SETTING_MONITOR_DEFAULT = MN_MIRANDA,
+ SETTING_USEMINIMUMWIDTH_DEFAULT = 1,
+ SETTING_USEMAXIMUMWIDTH_DEFAULT = 1,
+ SETTING_USINGTHREADS_DEFAULT = 1,
+ SETTING_MODULEISENABLED_DEFAULT = 1,
+ SETTING_MULTILINE_DEFAULT = 1,
+ SETTING_FADEINTIME_DEFAULT = (ANIM_TIME),
+ SETTING_FADEOUTTIME_DEFAULT = (ANIM_TIME),
+ SETTING_FADEOUTTIME_MIN = 0,
+ SETTING_FADEINTIME_MIN = 0,
+ SETTING_FADEOUTTIME_MAX = 10000,
+ SETTING_FADEINTIME_MAX = 10000,
+
+ SETTING_LIFETIME_MIN = 1,
+ SETTING_LIFETIME_MAX = 60,
+ SETTING_LIFETIME_DEFAULT = 4,
+ SETTING_LIFETIME_INFINITE = -1,
+
+ SETTING_ENLARGEMENT_MIN = 100,
+ SETTING_ENLARGEMENT_MAX = 200,
+ SETTING_ENLARGEMENT_DEFAULT = 120,
+
+ SETTING_HISTORYSIZE_MAX = 100,
+ SETTING_HISTORYSIZE_DEFAULT = 20,
+
+ SETTING_AVTSIZE_MIN = 16,
+ SETTING_AVTSIZE_MAX = 100,
+ SETTING_AVTSIZE_DEFAULT = 32,
+
+ SETTING_MINIMUMWIDTH_MIN = 80,
+ SETTING_MINIMUMWIDTH_MAX = 160,
+ SETTING_MINIMUMWIDTH_DEFAULT = 110,
+
+ SETTING_MAXIMUMWIDTH_MIN = 160,
+ // SETTING_MAXIMUMWIDTH_MAX = 640,
+ SETTING_MAXIMUMWIDTH_DEFAULT = 310,
SETTING_SMILEPACKTYPE_DEFAULT = SPK_NONE
};