diff options
author | Vadim Dashevskiy <watcherhd@gmail.com> | 2014-07-27 09:48:19 +0000 |
---|---|---|
committer | Vadim Dashevskiy <watcherhd@gmail.com> | 2014-07-27 09:48:19 +0000 |
commit | 7197141db82f7519ed707962a03f265f576516af (patch) | |
tree | e9dc4b7e51ae3232a781da9e7a86ca83279d2859 /plugins/PluginUpdater/src/Notifications.h | |
parent | c4a90717ac0b7813d24d30920f1fccab0e638162 (diff) |
restoring Wishmaster's PluginUpdater commits
git-svn-id: http://svn.miranda-ng.org/main/trunk@9968 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, 4 insertions, 12 deletions
diff --git a/plugins/PluginUpdater/src/Notifications.h b/plugins/PluginUpdater/src/Notifications.h index b131a7e4a3..91c57a6c67 100644 --- a/plugins/PluginUpdater/src/Notifications.h +++ b/plugins/PluginUpdater/src/Notifications.h @@ -17,29 +17,21 @@ not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
-#define POPUPS 4
+#define POPUPS 3
//=== 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 1
+#define DEFAULT_MESSAGE_ENABLED 0
#define DEFAULT_TIMEOUT_VALUE 0
#define COLOR_BG_FIRSTDEFAULT RGB(173,206,247)
@@ -67,6 +59,6 @@ static struct { TCHAR *Text;
int Action;
} PopupActions[] = {
- _T("Close popup"), PCA_CLOSEPOPUP,
- _T("Do nothing"), PCA_DONOTHING
+ LPGENT("Close popup"), PCA_CLOSEPOPUP,
+ LPGENT("Do nothing"), PCA_DONOTHING
};
|