summaryrefslogtreecommitdiff
path: root/plugins/TabSRMM
diff options
context:
space:
mode:
authorKirill Volinsky <mataes2007@gmail.com>2017-12-03 21:10:41 +0300
committerKirill Volinsky <mataes2007@gmail.com>2017-12-03 21:10:41 +0300
commitc80c5a68b607b96c645aecd1bff184640669a509 (patch)
treeab5ecaf108162338686aaa03ef91904cfec49f07 /plugins/TabSRMM
parent0ec22ff6659d9c64f4fbfdd6ead6dcd9f67215c3 (diff)
TabSRMM: added link to addons site
Diffstat (limited to 'plugins/TabSRMM')
-rw-r--r--plugins/TabSRMM/res/resource.rc31
-rw-r--r--plugins/TabSRMM/src/msgoptions.cpp4
-rw-r--r--plugins/TabSRMM/src/resource.h3
3 files changed, 34 insertions, 4 deletions
diff --git a/plugins/TabSRMM/res/resource.rc b/plugins/TabSRMM/res/resource.rc
index b83357e3e0..7a0c7c38f0 100644
--- a/plugins/TabSRMM/res/resource.rc
+++ b/plugins/TabSRMM/res/resource.rc
@@ -157,7 +157,6 @@ BEGIN
GROUPBOX "Send text formatting method",IDC_STATIC,4,45,310,33
COMBOBOX IDC_TEXTFORMATTING,8,57,128,46,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP
LTEXT "You can override the global setting for text formatting here. Use ""Force off"" to never send formatting info for this contact.",IDC_STATIC,143,52,164,24
-
GROUPBOX "Other options",IDC_STATIC,4,118,310,142
LTEXT "Info panel mode",IDC_STATIC,12,128,128,8
COMBOBOX IDC_INFOPANEL,9,138,130,46,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP
@@ -524,6 +523,7 @@ BEGIN
LTEXT "You can export and import all your color and font settings here. This allows you to create a Theme file which can be shared between different profiles or with your buddies.",IDC_STATIC,9,137,286,26
PUSHBUTTON "Export to a file...",IDC_THEMEEXPORT,9,164,139,14
PUSHBUTTON "Import from a file...",IDC_THEMEIMPORT,156,164,139,14
+ CONTROL "Download more skins",IDC_GETSKINS,"Hyperlink",WS_TABSTOP,196,22,100,12
END
IDD_USERPREFS_FRAME DIALOGEX 0, 0, 326, 316
@@ -611,8 +611,10 @@ END
//
IDC_DROP CURSOR "..\\..\\..\\src\\mir_app\\res\\cursor_drag_copy.cur"
+
IDC_DROPUSER CURSOR "..\\..\\..\\src\\mir_app\\res\\cursor_drop_user.cur"
+
/////////////////////////////////////////////////////////////////////////////
//
// Menu
@@ -812,11 +814,11 @@ BEGIN
MENUITEM "Info panel...", ID_VIEW_INFOPANEL
POPUP "Toolbar"
BEGIN
- MENUITEM "Show toolbar", ID_VIEW_SHOWTOOLBAR
+ MENUITEM "Show toolbar", ID_VIEW_SHOWTOOLBAR
MENUITEM "Place toolbar at bottom", ID_VIEW_BOTTOMTOOLBAR
END
MENUITEM "Title bar", ID_VIEW_SHOWTITLEBAR
- MENUITEM "Tabs at the bottom", ID_VIEW_TABSATBOTTOM
+ MENUITEM "Tabs at the bottom", ID_VIEW_TABSATBOTTOM
MENUITEM "Vertical maximize", ID_VIEW_VERTICALMAXIMIZE
MENUITEM SEPARATOR
POPUP "Window flashing"
@@ -865,10 +867,14 @@ END
// Icon with lowest ID value placed first to ensure application icon
// remains consistent on all systems.
IDI_FEATURE_DISABLED ICON "overlay_disabled.ico"
+
IDI_ENABLED ICON "res_TN\\popup.ico"
+
IDI_DISABLED ICON "res_TN\\popup_no.ico"
+
IDI_FEATURE_ENABLED ICON "overlay_enabled.ico"
+
/////////////////////////////////////////////////////////////////////////////
//
// DESIGNINFO
@@ -882,6 +888,10 @@ BEGIN
BOTTOMMARGIN, 191
END
+ IDD_OPT_SKIN, DIALOG
+ BEGIN
+ END
+
IDD_SENDLATER_QMGR, DIALOG
BEGIN
LEFTMARGIN, 7
@@ -933,9 +943,24 @@ END
//
IDR_SKIN_AERO SKIN_GLYPH "SKIN\\tabskin_aero.png"
+
IDR_SKIN_AERO_GLOW SKIN_GLYPH "SKIN\\tabskin_aero_glow.png"
+
IDR_SKIN_AERO_SWITCHBAR SKIN_GLYPH "SKIN\\tabskin_aero_button.png"
+
IDR_SKIN_LOGO SKIN_GLYPH "SKIN\\unknown.png"
+
+
+/////////////////////////////////////////////////////////////////////////////
+//
+// AFX_DIALOG_LAYOUT
+//
+
+IDD_OPT_SKIN AFX_DIALOG_LAYOUT
+BEGIN
+ 0
+END
+
#endif // Neutral resources
/////////////////////////////////////////////////////////////////////////////
diff --git a/plugins/TabSRMM/src/msgoptions.cpp b/plugins/TabSRMM/src/msgoptions.cpp
index b447184bee..062bbbdef9 100644
--- a/plugins/TabSRMM/src/msgoptions.cpp
+++ b/plugins/TabSRMM/src/msgoptions.cpp
@@ -335,6 +335,10 @@ static INT_PTR CALLBACK DlgProcSkinOpts(HWND hwndDlg, UINT msg, WPARAM wParam, L
Utils_OpenUrl("https://wiki.miranda-ng.org/index.php?title=Plugin:TabSRMM/en/Using_skins");
break;
+ case IDC_GETSKINS:
+ Utils_OpenUrl("https://miranda-ng.org/addons/category/19");
+ break;
+
case IDC_SKIN_CLOSENOW:
CloseAllContainers();
break;
diff --git a/plugins/TabSRMM/src/resource.h b/plugins/TabSRMM/src/resource.h
index c269d27f4e..ae0ed1e315 100644
--- a/plugins/TabSRMM/src/resource.h
+++ b/plugins/TabSRMM/src/resource.h
@@ -499,6 +499,7 @@
#define IDC_STATIC_VISIBILTY 1491
#define IDC_BUTTONTABS 1492
#define IDC_CLOSEBUTTONONTABS 1493
+#define IDC_GETSKINS 1494
#define IDC_O_STATIC_AVATAR 1501
#define IDC_O_STATIC_OWNAVATAR 1502
#define IDC_USEAERO 1531
@@ -738,7 +739,7 @@
//
#ifdef APSTUDIO_INVOKED
#ifndef APSTUDIO_READONLY_SYMBOLS
-#define _APS_NEXT_RESOURCE_VALUE 17
+#define _APS_NEXT_RESOURCE_VALUE 18
#define _APS_NEXT_COMMAND_VALUE 40263
#define _APS_NEXT_CONTROL_VALUE 1453
#define _APS_NEXT_SYMED_VALUE 40283