summaryrefslogtreecommitdiff
path: root/protocols/Tox/res
diff options
context:
space:
mode:
authoraunsane <aunsane@gmail.com>2017-03-27 00:50:53 +0300
committeraunsane <aunsane@gmail.com>2017-03-27 00:51:31 +0300
commit80646f0b4671c647aa76cb5619f74edccb9e3108 (patch)
tree49bbda1f51bfcd669336161853dff928ef8f18b6 /protocols/Tox/res
parent2d161955dabcb5a8a8b6069f94945ec7657805bf (diff)
Tox: added new options
- max connect retries - max reconnect retries
Diffstat (limited to 'protocols/Tox/res')
-rw-r--r--protocols/Tox/res/resource.rc31
1 files changed, 24 insertions, 7 deletions
diff --git a/protocols/Tox/res/resource.rc b/protocols/Tox/res/resource.rc
index 77d0bd1bef..9d5c6810b0 100644
--- a/protocols/Tox/res/resource.rc
+++ b/protocols/Tox/res/resource.rc
@@ -63,11 +63,16 @@ LANGUAGE LANG_ENGLISH, SUBLANG_NEUTRAL
// Icon with lowest ID value placed first to ensure application icon
// remains consistent on all systems.
IDI_TOX ICON "icons\\tox.ico"
+
IDI_AUDIO_CALL ICON "icons\\audio_call.ico"
+
IDI_AUDIO_END ICON "icons\\audio_end.ico"
+
IDI_AUDIO_RING ICON "icons\\audio_ring.ico"
+
IDI_AUDIO_START ICON "icons\\audio_start.ico"
+
/////////////////////////////////////////////////////////////////////////////
//
// Dialog
@@ -97,12 +102,12 @@ STYLE DS_SETFONT | DS_FIXEDSYS | WS_CHILD
EXSTYLE WS_EX_CONTROLPARENT
FONT 8, "MS Shell Dlg", 0, 0, 0x1
BEGIN
- GROUPBOX "Tox",IDC_STATIC,7,7,296,116
+ GROUPBOX "Tox",IDC_STATIC,7,7,296,90
LTEXT "Tox ID:",IDC_STATIC,12,17,69,11
EDITTEXT IDC_TOXID,81,15,217,12,ES_AUTOHSCROLL | ES_READONLY | WS_DISABLED
LTEXT "Name:",IDC_STATIC,12,48,69,11
EDITTEXT IDC_NAME,81,46,217,12,ES_AUTOHSCROLL
- LTEXT "Password:",IDC_STATIC,12,63,69,8,NOT WS_VISIBLE
+ LTEXT "Password:",IDC_STATIC,12,64,69,8,NOT WS_VISIBLE
EDITTEXT IDC_PASSWORD,81,62,217,12,ES_PASSWORD | ES_AUTOHSCROLL | NOT WS_VISIBLE
LTEXT "Default group:",IDC_STATIC,12,80,69,12
EDITTEXT IDC_GROUP,81,78,217,12,ES_AUTOHSCROLL
@@ -110,10 +115,16 @@ BEGIN
PUSHBUTTON "Import Tox profile",IDC_PROFILE_IMPORT,191,30,107,13
PUSHBUTTON "Copy Tox ID",IDC_CLIPBOARD,81,30,107,13,NOT WS_VISIBLE
PUSHBUTTON "Export Tox profile",IDC_PROFILE_EXPORT,191,30,107,13,NOT WS_VISIBLE
- GROUPBOX "Connection settings",IDC_STATIC,7,123,296,40
+ GROUPBOX "Connection settings",IDC_STATIC,7,99,296,75
CONTROL "Enable UDP (otherwise force Tox to use TCP)",IDC_ENABLE_UDP,
- "Button",BS_AUTOCHECKBOX | WS_TABSTOP,12,135,286,10
- CONTROL "Enable IPv6",IDC_ENABLE_IPV6,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,12,149,286,10
+ "Button",BS_AUTOCHECKBOX | WS_TABSTOP,12,111,286,10
+ CONTROL "Enable IPv6",IDC_ENABLE_IPV6,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,12,125,286,10
+ LTEXT "Max connect retries:",IDC_STATIC,12,142,121,8
+ EDITTEXT IDC_MAXCONNECTRETRIES,133,139,43,14,ES_READONLY | ES_NUMBER
+ CONTROL "",IDC_MAXCONNECTRETRIESSPIN,"msctls_updown32",UDS_SETBUDDYINT | UDS_ALIGNRIGHT | UDS_AUTOBUDDY | UDS_ARROWKEYS | UDS_NOTHOUSANDS | UDS_HOTTRACK,166,139,10,14
+ EDITTEXT IDC_MAXRECONNECTRETRIES,133,155,43,14,ES_READONLY | ES_NUMBER
+ CONTROL "",IDC_MAXRECONNECTRETRIESSPIN,"msctls_updown32",UDS_SETBUDDYINT | UDS_ALIGNRIGHT | UDS_AUTOBUDDY | UDS_ARROWKEYS | UDS_NOTHOUSANDS | UDS_HOTTRACK,166,155,10,14
+ LTEXT "Max reconnect retries:",IDC_STATIC,12,158,121,8
END
IDD_SEARCH DIALOGEX 0, 0, 109, 113
@@ -266,6 +277,7 @@ BEGIN
RIGHTMARGIN, 303
VERTGUIDE, 12
VERTGUIDE, 81
+ VERTGUIDE, 133
VERTGUIDE, 298
TOPMARGIN, 7
BOTTOMMARGIN, 228
@@ -360,9 +372,14 @@ END
// AFX_DIALOG_LAYOUT
//
-IDD_OPTIONS_MULTIMEDIA AFX_DIALOG_LAYOUT
+IDD_OPTIONS_MULTIMEDIA AFX_DIALOG_LAYOUT
+BEGIN
+ 0
+END
+
+IDD_OPTIONS_MAIN AFX_DIALOG_LAYOUT
BEGIN
- 0x0000
+ 0
END
#endif // English resources