From 92e8bb03050786f409a5ecbe262a917822583422 Mon Sep 17 00:00:00 2001 From: Kirill Volinsky Date: Mon, 26 May 2014 13:47:06 +0000 Subject: added label with skin folder path git-svn-id: http://svn.miranda-ng.org/main/trunk@9317 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/Clist_modern/src/modern_skinopt.cpp | 9 +-- plugins/Clist_modern/src/resource.h | 99 +++++++++++++++-------------- 2 files changed, 55 insertions(+), 53 deletions(-) (limited to 'plugins/Clist_modern/src') diff --git a/plugins/Clist_modern/src/modern_skinopt.cpp b/plugins/Clist_modern/src/modern_skinopt.cpp index 9586f0003b..5d7f0955e1 100644 --- a/plugins/Clist_modern/src/modern_skinopt.cpp +++ b/plugins/Clist_modern/src/modern_skinopt.cpp @@ -97,10 +97,11 @@ INT_PTR CALLBACK DlgSkinOpts(HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM lPara case WM_INITDIALOG: { - TranslateDialogDefault( hwndDlg ); - HTREEITEM it = FillAvailableSkinList( hwndDlg ); - HWND wnd = GetDlgItem( hwndDlg, IDC_TREE1 ); - TreeView_SelectItem( wnd, it ); + TranslateDialogDefault(hwndDlg); + SetWindowText(GetDlgItem(hwndDlg, IDC_SKINFOLDERLABEL), SkinsFolder); + HTREEITEM it = FillAvailableSkinList(hwndDlg); + HWND wnd = GetDlgItem(hwndDlg, IDC_TREE1); + TreeView_SelectItem(wnd, it); } return 0; case WM_COMMAND: diff --git a/plugins/Clist_modern/src/resource.h b/plugins/Clist_modern/src/resource.h index 54d59a9e24..61e5f7b5cb 100644 --- a/plugins/Clist_modern/src/resource.h +++ b/plugins/Clist_modern/src/resource.h @@ -2,23 +2,44 @@ // Включаемый файл, созданный в Microsoft Visual C++. // Используется D:\MNG_orig\plugins\Clist_modern\res\resource.rc // -#define IDR_CONTEXT 180 -#define IDR_CLISTMENU 199 -#define IDR_TGA_DEFAULT_SKIN 413 -#define IDR_MSF_DEFAULT_SKIN 413 +#define IDC_ALWAYS_VISIBLEICON 0 +#define IDC_APPLY 3 #define IDD_OPT_ITEM_CONTACT_TIME 102 +#define IDI_MIRANDA 102 #define IDD_OPT_ROWTMPL 103 +#define IDI_SMS 103 #define IDD_OPT_CLIST 126 #define IDD_OPT_SOUND 134 #define IDD_OPT_HOTKEYS 134 #define IDD_OPT_CLIST_LISTBKG 135 +#define IDI_URL 138 +#define IDI_FINDUSER 161 +#define IDI_OPTIONS 163 +#define IDI_RENAME 173 +#define IDI_DELETE 175 +#define IDR_CONTEXT 180 +#define IDC_DROP 183 +#define IDI_SENDEMAIL 193 +#define IDR_CLISTMENU 199 +#define IDI_BLANK 200 #define IDD_OPT_ICONS 207 +#define IDI_FILE 207 +#define IDI_TIMESTAMP 208 +#define IDI_CHANGEFONT 209 +#define IDI_ADDCONTACT 210 +#define IDI_SMALLDOT 211 +#define IDI_FILLEDBLOB 212 #define IDD_READAWAYMSG 213 +#define IDI_EMPTYBLOB 213 #define IDD_OPT_IGNORE 214 #define IDD_OPT_VISIBILITY 215 +#define IDC_DROPUSER 215 #define IDD_SETAWAYMSG 216 +#define IDI_DETAILSLOGO 216 #define IDD_OPT_AWAYMSG 217 +#define IDI_HIDE_AVATAR 217 #define IDD_OPT_CLUI 218 +#define IDI_SHOW_AVATAR 218 #define IDD_INFO_SUMMARY 220 #define IDD_INFO_CONTACT 221 #define IDD_INFO_BACKGROUND 222 @@ -35,42 +56,18 @@ #define IDD_INSTALLINI 235 #define IDD_WARNINICHANGE 236 #define IDD_INIIMPORTDONE 237 +#define IDB_SORTCOLUP 239 +#define IDB_SORTCOLDOWN 240 #define IDD_OPT_NETLIB 246 #define IDD_NETLIBLOGOPTS 247 #define IDD_OPT_SKIN 251 #define IDD_OPT_META_CLC 279 -#define IDD_MODERNOPTS 288 -#define IDD_OPT_ITEMS 385 -#define IDD_OPT_ITEM_ROW 386 -#define IDD_OPT_ITEM_AVATAR 387 -#define IDD_OPT_ITEM_ICON 388 -#define IDD_OPT_ITEM_TEXT 389 -#define IDD_OPT_ITEM_SECOND_LINE 390 -#define IDD_OPT_ITEM_THIRD_LINE 391 -#define IDD_OPT_SKINEDITOR 398 -#define IDD_OPT_CLUI_2 451 -#define IDD_OPT_VIEWMODES 19100 -#define IDI_MIRANDA 102 -#define IDI_SMS 103 -#define IDI_URL 138 -#define IDI_FINDUSER 161 -#define IDI_OPTIONS 163 -#define IDI_RENAME 173 -#define IDI_DELETE 175 -#define IDI_SENDEMAIL 193 -#define IDI_BLANK 200 -#define IDI_FILE 207 -#define IDI_TIMESTAMP 208 -#define IDI_CHANGEFONT 209 -#define IDI_ADDCONTACT 210 -#define IDI_SMALLDOT 211 -#define IDI_FILLEDBLOB 212 -#define IDI_EMPTYBLOB 213 -#define IDI_DETAILSLOGO 216 -#define IDI_HIDE_AVATAR 217 -#define IDI_SHOW_AVATAR 218 #define IDI_ACCMGR 281 #define IDI_NEWGROUP2 283 +#define IDD_MODERNOPTS 288 +#define IDC_DEFAULTSUB 293 +#define IDC_DROPMETA 295 +#define IDC_REGROUP 296 #define IDI_AVATAR_OVERLAY_NA 357 #define IDI_AVATAR_OVERLAY_OCCUPIED 358 #define IDI_AVATAR_OVERLAY_OFFLINE 359 @@ -89,6 +86,14 @@ #define IDI_ICQC6 372 #define IDI_ICQC7 373 #define IDI_ICQC8 374 +#define IDD_OPT_ITEMS 385 +#define IDD_OPT_ITEM_ROW 386 +#define IDD_OPT_ITEM_AVATAR 387 +#define IDD_OPT_ITEM_ICON 388 +#define IDD_OPT_ITEM_TEXT 389 +#define IDD_OPT_ITEM_SECOND_LINE 390 +#define IDD_OPT_ITEM_THIRD_LINE 391 +#define IDD_OPT_SKINEDITOR 398 #define IDI_STATUS_OVERLAY_NA 400 #define IDI_STATUS_OVERLAY_OCCUPIED 401 #define IDI_STATUS_OVERLAY_OFFLINE 402 @@ -99,6 +104,9 @@ #define IDI_STATUS_OVERLAY_INVISIBLE 407 #define IDI_STATUS_OVERLAY_LUNCH 408 #define IDI_STATUS_OVERLAY_CHAT 409 +#define IDR_TGA_DEFAULT_SKIN 413 +#define IDR_MSF_DEFAULT_SKIN 413 +#define IDD_OPT_CLUI_2 451 #define IDI_LISTENING_TO 456 #define IDI_FAVORITE_0 500 #define IDI_FAVORITE_1 501 @@ -106,18 +114,6 @@ #define IDI_FAVORITE_3 503 #define IDI_SETVIEW 504 #define IDI_RESETVIEW 505 -#define IDB_SORTCOLUP 239 -#define IDB_SORTCOLDOWN 240 -#define ID_ICQ_EXIT 40001 -#define ID_TRAY_HIDE 40038 -#define ID_TRAY_EXIT 40040 -#define IDC_ALWAYS_VISIBLEICON 0 -#define IDC_APPLY 3 -#define IDC_DROP 183 -#define IDC_DROPUSER 215 -#define IDC_DEFAULTSUB 293 -#define IDC_DROPMETA 295 -#define IDC_REGROUP 296 #define IDC_TEXT 1019 #define IDC_MIN2TRAY 1073 #define IDC_ONTOP 1074 @@ -451,6 +447,7 @@ #define IDC_STATUSBAR_PER_PROTO 2022 #define IDC_OFFSETICON_RIGHT 2023 #define IDC_OFFSETSPIN_RIGHT 2024 +#define IDC_SKINFOLDERLABEL 2024 #define IDC_OFFSETICON_LEFT 2025 #define IDC_OFFSETSPIN_LEFT 2026 #define IDC_STATUSBAR_PROTO_LIST 2027 @@ -475,6 +472,7 @@ #define IDC_RIGHTMARGINSPIN 11803 #define IDC_TOPMARGINSPIN 11804 #define IDC_BOTTOMMARGINSPIN 11805 +#define IDD_OPT_VIEWMODES 19100 #define IDC_VIEWMODES 19102 #define IDC_PROTOCOLS 19103 #define IDC_ADDVIEWMODE 19104 @@ -502,8 +500,7 @@ #define IDC_SELECTMODE 19126 #define IDC_CONFIGUREMODES 19127 #define IDC_USEGROUPS 19128 -#define IDC_FRAME_META 40054 -#define IDC_FRAME_META2 40055 +#define ID_ICQ_EXIT 40001 #define POPUP_HIDEEMPTYGROUPS 40003 #define POPUP_NEWSUBGROUP 40004 #define POPUP_HIDEOFFLINE 40005 @@ -512,9 +509,13 @@ #define POPUP_DISABLEGROUPS 40008 #define POPUP_HIDEMIRANDA 40017 #define POPUP_GROUPSHOWOFFLINE 40019 +#define ID_TRAY_HIDE 40038 +#define ID_TRAY_EXIT 40040 #define POPUP_NEWGROUP 40050 #define POPUP_RENAMEGROUP 40052 #define POPUP_DELETEGROUP 40053 +#define IDC_FRAME_META 40054 +#define IDC_FRAME_META2 40055 // Next default values for new objects // @@ -522,7 +523,7 @@ #ifndef APSTUDIO_READONLY_SYMBOLS #define _APS_NEXT_RESOURCE_VALUE 509 #define _APS_NEXT_COMMAND_VALUE 40022 -#define _APS_NEXT_CONTROL_VALUE 2024 +#define _APS_NEXT_CONTROL_VALUE 2025 #define _APS_NEXT_SYMED_VALUE 101 #endif #endif -- cgit v1.2.3