diff options
author | Kirill Volinsky <mataes2007@gmail.com> | 2017-12-06 21:37:14 +0300 |
---|---|---|
committer | Kirill Volinsky <mataes2007@gmail.com> | 2017-12-06 21:37:35 +0300 |
commit | 0112d2767268037cf63e44c4464cf9eed237d06d (patch) | |
tree | 2fd0dae8c81f9123f67c965f9526853e3faa9279 /plugins/Clist_nicer | |
parent | 2ac6ad25517d2ec3e273d90249fc843b3291a645 (diff) |
Clist_nicer: added link to addons site
Diffstat (limited to 'plugins/Clist_nicer')
-rw-r--r-- | plugins/Clist_nicer/res/resource.rc | 98 | ||||
-rw-r--r-- | plugins/Clist_nicer/src/extBackg.cpp | 5 | ||||
-rw-r--r-- | plugins/Clist_nicer/src/resource.h | 7 |
3 files changed, 79 insertions, 31 deletions
diff --git a/plugins/Clist_nicer/res/resource.rc b/plugins/Clist_nicer/res/resource.rc index cb0c6a6d2a..6583c63fc2 100644 --- a/plugins/Clist_nicer/res/resource.rc +++ b/plugins/Clist_nicer/res/resource.rc @@ -18,7 +18,7 @@ #if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_NEU)
LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL
-#pragma code_page(1250)
+#pragma code_page(1251)
/////////////////////////////////////////////////////////////////////////////
//
@@ -438,6 +438,7 @@ BEGIN LTEXT "Frame title bar height",IDC_STATIC,149,164,85,10
CONTROL "Ignore selection for groups",IDC_IGNORESELFORGROUPS,
"Button",BS_AUTOCHECKBOX | WS_TABSTOP,7,152,286,10
+ CONTROL "Download more skins",IDC_GETSKINS,"Hyperlink",WS_TABSTOP,196,39,100,12
END
IDD_OPT DIALOGEX 0, 0, 312, 247
@@ -521,68 +522,98 @@ END // Icon with lowest ID value placed first to ensure application icon
// remains consistent on all systems.
IDI_CLIST ICON "clist.ico"
+
IDI_DELETE ICON "delete.ico"
+
IDI_CLVM_OPTIONS ICON "options_clvm.ico"
+
IDI_CLVM_SELECT ICON "arrow-down.ico"
+
IDI_BLANK ICON "..\\..\\..\\src\\mir_app\\res\\_blank.ico"
+
IDI_OVL_OFFLINE ICON "overlay/offline.ico"
+
IDI_OVL_ONLINE ICON "overlay/online.ico"
+
IDI_OVL_AWAY ICON "overlay/away.ico"
+
IDI_OVL_DND ICON "overlay/dnd.ico"
+
IDI_OVL_NA ICON "overlay/na.ico"
+
IDI_OVL_OCCUPIED ICON "overlay/occupied.ico"
+
IDI_OVL_INVISIBLE ICON "overlay/invisible.ico"
+
IDI_OVL_ONTHEPHONE ICON "overlay/phone.ico"
+
IDI_OVL_OUTTOLUNCH ICON "overlay/lunch.ico"
+
IDI_HIDEOFFLINE ICON "online.ico"
+
IDI_HIDEGROUPS ICON "groups.ico"
+
IDI_SOUNDSON ICON "sounds_on.ico"
+
IDI_FINDANDADD ICON "find.ico"
+
IDI_TBOPTIONS ICON "options.ico"
+
IDI_MINIMIZE ICON "minimize.ico"
+
IDI_SOUNDSOFF ICON "sounds_off.ico"
+
IDI_TABSRMMSESSIONLIST ICON "slist.ico"
+
IDI_TABSRMMMENU ICON "tabsrmm_menu.ico"
+
IDI_PROTOCONNECTING ICON "connecting.ico"
+
IDI_TBTOPMENU ICON "menu.ico"
+
IDI_TBACCOUNTS ICON "accounts.ico"
+
/////////////////////////////////////////////////////////////////////////////
//
// Cursor
//
IDC_HYPERLINKHAND CURSOR "..\\..\\..\\src\\mir_app\\res\\cursor_hyperlink.cur"
+
IDC_DROP CURSOR "..\\..\\..\\src\\mir_app\\res\\cursor_drag_copy.cur"
+
IDC_DROPUSER CURSOR "..\\..\\..\\src\\mir_app\\res\\cursor_drop_user.cur"
-// Menu
-//
-
-IDR_CLISTMENU MENU
-BEGIN
- POPUP "&Main menu"
- BEGIN
- MENUITEM SEPARATOR
- MENUITEM "E&xit", ID_ICQ_EXIT
- END
- POPUP "&Status"
- BEGIN
- MENUITEM "&Offline\tCtrl+0", ID_STATUS_OFFLINE, CHECKED
- MENUITEM "On&line\tCtrl+1", ID_STATUS_ONLINE
- MENUITEM "&Away\tCtrl+2", ID_STATUS_AWAY
- MENUITEM "&Not available\tCtrl+3", ID_STATUS_NA
- MENUITEM "Occ&upied\tCtrl+4", ID_STATUS_OCCUPIED
- MENUITEM "&Do not disturb\tCtrl+5", ID_STATUS_DND
- MENUITEM "&Free for chat\tCtrl+6", ID_STATUS_FREECHAT
- MENUITEM "&Invisible\tCtrl+7", ID_STATUS_INVISIBLE
- MENUITEM "On the &phone\tCtrl+8", ID_STATUS_ONTHEPHONE
- MENUITEM "Out to &lunch\tCtrl+9", ID_STATUS_OUTTOLUNCH
- END
-END
-
-/////////////////////////////////////////////////////////////////////////////
-//
+
+/////////////////////////////////////////////////////////////////////////////
+//
+// Menu
+//
+
+IDR_CLISTMENU MENU
+BEGIN
+ POPUP "&Main menu"
+ BEGIN
+ MENUITEM SEPARATOR
+ MENUITEM "E&xit", ID_ICQ_EXIT
+ END
+ POPUP "&Status"
+ BEGIN
+ MENUITEM "&Offline\tCtrl+0", ID_STATUS_OFFLINE, CHECKED
+ MENUITEM "On&line\tCtrl+1", ID_STATUS_ONLINE
+ MENUITEM "&Away\tCtrl+2", ID_STATUS_AWAY
+ MENUITEM "&Not available\tCtrl+3", ID_STATUS_NA
+ MENUITEM "Occ&upied\tCtrl+4", ID_STATUS_OCCUPIED
+ MENUITEM "&Do not disturb\tCtrl+5", ID_STATUS_DND
+ MENUITEM "&Free for chat\tCtrl+6", ID_STATUS_FREECHAT
+ MENUITEM "&Invisible\tCtrl+7", ID_STATUS_INVISIBLE
+ MENUITEM "On the &phone\tCtrl+8", ID_STATUS_ONTHEPHONE
+ MENUITEM "Out to &lunch\tCtrl+9", ID_STATUS_OUTTOLUNCH
+ END
+END
+
+
/////////////////////////////////////////////////////////////////////////////
//
// DESIGNINFO
@@ -663,6 +694,17 @@ BEGIN END
#endif // APSTUDIO_INVOKED
+
+/////////////////////////////////////////////////////////////////////////////
+//
+// AFX_DIALOG_LAYOUT
+//
+
+IDD_OPT_SKIN AFX_DIALOG_LAYOUT
+BEGIN
+ 0
+END
+
#endif // Neutral resources
/////////////////////////////////////////////////////////////////////////////
diff --git a/plugins/Clist_nicer/src/extBackg.cpp b/plugins/Clist_nicer/src/extBackg.cpp index f4c23af68d..d8f4732a2f 100644 --- a/plugins/Clist_nicer/src/extBackg.cpp +++ b/plugins/Clist_nicer/src/extBackg.cpp @@ -1521,6 +1521,11 @@ static INT_PTR CALLBACK DlgProcSkinOpts(HWND hwndDlg, UINT msg, WPARAM wParam, L PostMessage(pcli->hwndContactList, CLUIINTM_REDRAW, 0, 0);
break;
+ case IDC_GETSKINS:
+ if (HIWORD(wParam) == BN_CLICKED)
+ Utils_OpenUrl("https://miranda-ng.org/addons/category/18");
+ break;
+
case IDC_SELECTSKINFILE:
{
OPENFILENAME ofn = { 0 };
diff --git a/plugins/Clist_nicer/src/resource.h b/plugins/Clist_nicer/src/resource.h index e230037c47..5226261d50 100644 --- a/plugins/Clist_nicer/src/resource.h +++ b/plugins/Clist_nicer/src/resource.h @@ -1,6 +1,6 @@ -//{{NO_DEPENDENCIES}}
+//{{NO_DEPENDENCIES}}
// Microsoft Visual C++ generated include file.
-// Used by ..\res\resource.rc
+// Used by d:\Miranda NG Git_orig_commit\miranda-ng\plugins\Clist_nicer\res\resource.rc
//
#define IDD_OPT_VIEWMODES 1
#define IDD_OPT_SKIN 4
@@ -123,6 +123,7 @@ #define IDC_SHOWSTATUSMSG 1188
#define IDC_SHOWLOCALTIME 1189
#define IDC_SHOWLOCALTIMEONLYWHENDIFFERENT 1191
+#define IDC_GETSKINS 1192
#define IDC_TITLETEXT 1196
#define IDC_EXCEPTION_DETAILS 1200
#define IDC_COPY_EXCEPTION 1201
@@ -339,7 +340,7 @@ //
#ifdef APSTUDIO_INVOKED
#ifndef APSTUDIO_READONLY_SYMBOLS
-#define _APS_NEXT_RESOURCE_VALUE 10
+#define _APS_NEXT_RESOURCE_VALUE 11
#define _APS_NEXT_COMMAND_VALUE 40061
#define _APS_NEXT_CONTROL_VALUE 40066
#define _APS_NEXT_SYMED_VALUE 40154
|