From d0648b1183b0260ffeb35b9ebf45601dcbb6d995 Mon Sep 17 00:00:00 2001 From: Kirill Volinsky Date: Sun, 15 Feb 2015 12:06:02 +0000 Subject: fixed form size git-svn-id: http://svn.miranda-ng.org/main/trunk@12121 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/Tox/Tox_10.vcxproj | 2 +- protocols/Tox/Tox_10.vcxproj.filters | 2 +- protocols/Tox/Tox_12.vcxproj | 2 +- protocols/Tox/Tox_12.vcxproj.filters | 7 +++++-- protocols/Tox/res/Icons/tox.ico | Bin 0 -> 22382 bytes protocols/Tox/res/resource.rc | 26 +++++++++++++------------- protocols/Tox/res/tox.ico | Bin 22382 -> 0 bytes 7 files changed, 21 insertions(+), 18 deletions(-) create mode 100644 protocols/Tox/res/Icons/tox.ico delete mode 100644 protocols/Tox/res/tox.ico diff --git a/protocols/Tox/Tox_10.vcxproj b/protocols/Tox/Tox_10.vcxproj index ff402de980..4e8f758d17 100644 --- a/protocols/Tox/Tox_10.vcxproj +++ b/protocols/Tox/Tox_10.vcxproj @@ -232,7 +232,7 @@ - + diff --git a/protocols/Tox/Tox_10.vcxproj.filters b/protocols/Tox/Tox_10.vcxproj.filters index 3d637cd183..c0f2529b21 100644 --- a/protocols/Tox/Tox_10.vcxproj.filters +++ b/protocols/Tox/Tox_10.vcxproj.filters @@ -111,7 +111,7 @@ - + Resource Files diff --git a/protocols/Tox/Tox_12.vcxproj b/protocols/Tox/Tox_12.vcxproj index d6366a7c42..8a824034c7 100644 --- a/protocols/Tox/Tox_12.vcxproj +++ b/protocols/Tox/Tox_12.vcxproj @@ -239,7 +239,7 @@ - + diff --git a/protocols/Tox/Tox_12.vcxproj.filters b/protocols/Tox/Tox_12.vcxproj.filters index 18bc3e9a83..2cf9a075dc 100644 --- a/protocols/Tox/Tox_12.vcxproj.filters +++ b/protocols/Tox/Tox_12.vcxproj.filters @@ -16,6 +16,9 @@ {7f072eba-bb61-4824-b479-5898b85add0a} + + {5ce796e5-1f0d-4bb7-bdab-9de0e5513528} + @@ -126,8 +129,8 @@ - - Resource Files + + Resource Files\Icons \ No newline at end of file diff --git a/protocols/Tox/res/Icons/tox.ico b/protocols/Tox/res/Icons/tox.ico new file mode 100644 index 0000000000..4703564c80 Binary files /dev/null and b/protocols/Tox/res/Icons/tox.ico differ diff --git a/protocols/Tox/res/resource.rc b/protocols/Tox/res/resource.rc index e972922bdc..f50699cbe8 100644 --- a/protocols/Tox/res/resource.rc +++ b/protocols/Tox/res/resource.rc @@ -26,7 +26,7 @@ LANGUAGE LANG_NEUTRAL, SUBLANG_DEFAULT // Icon with lowest ID value placed first to ensure application icon // remains consistent on all systems. -IDI_TOX ICON "tox.ico" +IDI_TOX ICON "icons\\tox.ico" #endif // Neutral (Default) resources ///////////////////////////////////////////////////////////////////////////// @@ -171,21 +171,21 @@ BEGIN PUSHBUTTON "Remove",IDC_REMOVE,187,187,50,14 END -IDD_ADDNODE DIALOGEX 0, 0, 355, 131 +IDD_ADDNODE DIALOGEX 0, 0, 298, 85 STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | DS_NOFAILCREATE | DS_CENTER | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU EXSTYLE WS_EX_CONTROLPARENT FONT 8, "MS Shell Dlg", 400, 0, 0x1 BEGIN - LTEXT "IPv4",IDC_STATIC,34,15,25,8 - EDITTEXT IDC_IPV4,6,26,102,14,ES_AUTOHSCROLL - LTEXT "IPv6",IDC_STATIC,207,14,15,8 - EDITTEXT IDC_IPV6,159,26,94,14,ES_AUTOHSCROLL - LTEXT "Port",IDC_STATIC,321,16,34,8 - EDITTEXT IDC_PORT,306,26,40,14,ES_AUTOHSCROLL - LTEXT "Client ID",IDC_STATIC,143,65,63,8 - EDITTEXT IDC_CLIENTID,16,79,328,14,ES_AUTOHSCROLL - DEFPUSHBUTTON "OK",IDOK,200,110,50,14 - PUSHBUTTON "Cancel",IDCANCEL,267,111,50,14 + CTEXT "IPv4",IDC_STATIC,31,4,17,8 + EDITTEXT IDC_IPV4,6,13,70,14,ES_AUTOHSCROLL + CTEXT "IPv6",IDC_STATIC,152,4,15,8 + EDITTEXT IDC_IPV6,98,13,137,14,ES_AUTOHSCROLL + CTEXT "Port",IDC_STATIC,255,4,34,8 + EDITTEXT IDC_PORT,254,13,34,14,ES_AUTOHSCROLL + CTEXT "Client ID",IDC_STATIC,98,32,63,8 + EDITTEXT IDC_CLIENTID,6,43,282,14,ES_AUTOHSCROLL + DEFPUSHBUTTON "OK",IDOK,177,62,50,14 + PUSHBUTTON "Cancel",IDCANCEL,237,62,50,14 END @@ -251,7 +251,7 @@ BEGIN IDD_ADDNODE, DIALOG BEGIN - BOTTOMMARGIN, 130 + BOTTOMMARGIN, 84 END END #endif // APSTUDIO_INVOKED diff --git a/protocols/Tox/res/tox.ico b/protocols/Tox/res/tox.ico deleted file mode 100644 index 4703564c80..0000000000 Binary files a/protocols/Tox/res/tox.ico and /dev/null differ -- cgit v1.2.3