diff options
author | Vadim Dashevskiy <watcherhd@gmail.com> | 2014-07-27 08:39:37 +0000 |
---|---|---|
committer | Vadim Dashevskiy <watcherhd@gmail.com> | 2014-07-27 08:39:37 +0000 |
commit | 6071a68cf1829b79f88270d16cb534865529c92c (patch) | |
tree | 2db5c27c61fb1f5b88d6516d181c7b6a082b3942 /plugins/PluginUpdater/src/Notifications.h | |
parent | 7dfa4fde6c5111aa9a761fb6d535fcd904e91805 (diff) |
temporary rollback
git-svn-id: http://svn.miranda-ng.org/main/trunk@9964 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/PluginUpdater/src/Notifications.h')
-rw-r--r-- | plugins/PluginUpdater/src/Notifications.h | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/plugins/PluginUpdater/src/Notifications.h b/plugins/PluginUpdater/src/Notifications.h index 91c57a6c67..b131a7e4a3 100644 --- a/plugins/PluginUpdater/src/Notifications.h +++ b/plugins/PluginUpdater/src/Notifications.h @@ -17,21 +17,29 @@ not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
-#define POPUPS 3
+#define POPUPS 4
//=== Objects =====
//This one is used to easily tie status id, icon, text...
typedef struct
{
int ID;
+ int Icon;
COLORREF colorBack;
COLORREF colorText;
} aPopups;
+typedef struct _MSGPOPUPDATA
+{
+ POPUPACTION pa[4];
+ HWND hDialog;
+}
+MSGPOPUPDATA, *LPMSGPOPUPDATA;
+
#define DEFAULT_POPUP_LCLICK 1
#define DEFAULT_POPUP_RCLICK 0
#define DEFAULT_POPUP_ENABLED 1
-#define DEFAULT_MESSAGE_ENABLED 0
+#define DEFAULT_MESSAGE_ENABLED 1
#define DEFAULT_TIMEOUT_VALUE 0
#define COLOR_BG_FIRSTDEFAULT RGB(173,206,247)
@@ -59,6 +67,6 @@ static struct { TCHAR *Text;
int Action;
} PopupActions[] = {
- LPGENT("Close popup"), PCA_CLOSEPOPUP,
- LPGENT("Do nothing"), PCA_DONOTHING
+ _T("Close popup"), PCA_CLOSEPOPUP,
+ _T("Do nothing"), PCA_DONOTHING
};
|