summaryrefslogtreecommitdiff
path: root/protocols/Telegram/res/resource.rc
blob: 748f43f55a38802a89e19f1f9a1c9bfc0932bdad (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
// Microsoft Visual C++ generated resource script.
//
#include "..\src\resource.h"

#define APSTUDIO_READONLY_SYMBOLS
/////////////////////////////////////////////////////////////////////////////
//
// Generated from the TEXTINCLUDE 2 resource.
//
#include "winres.h"

/////////////////////////////////////////////////////////////////////////////
#undef APSTUDIO_READONLY_SYMBOLS

/////////////////////////////////////////////////////////////////////////////
// Russian (Russia) resources

#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_RUS)
LANGUAGE LANG_RUSSIAN, SUBLANG_DEFAULT
#pragma code_page(1251)

#ifdef APSTUDIO_INVOKED
/////////////////////////////////////////////////////////////////////////////
//
// TEXTINCLUDE
//

1 TEXTINCLUDE 
BEGIN
    "..\\src\\resource.h\0"
END

2 TEXTINCLUDE 
BEGIN
    "#include ""winres.h""\r\n"
    "\0"
END

3 TEXTINCLUDE 
BEGIN
    "\r\n"
    "\0"
END

#endif    // APSTUDIO_INVOKED

#endif    // Russian (Russia) resources
/////////////////////////////////////////////////////////////////////////////


/////////////////////////////////////////////////////////////////////////////
// English (Neutral) resources

#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)
LANGUAGE LANG_ENGLISH, SUBLANG_NEUTRAL
#pragma code_page(1252)

/////////////////////////////////////////////////////////////////////////////
//
// Dialog
//

IDD_ACCMGRUI DIALOGEX 0, 0, 188, 144
STYLE DS_SETFONT | DS_FIXEDSYS | WS_CHILD
EXSTYLE WS_EX_CONTROLPARENT
FONT 8, "MS Shell Dlg", 400, 0, 0x0
BEGIN
    LTEXT           "Country:",IDC_STATIC,0,8,89,8
    COMBOBOX        IDC_COUNTRY,96,5,86,12,CBS_DROPDOWNLIST | CBS_SORT | WS_VSCROLL | WS_TABSTOP
    RTEXT           "",IDC_CODE,95,22,23,13,0,WS_EX_CLIENTEDGE
    LTEXT           "Phone number:",IDC_STATIC,0,25,89,10
    EDITTEXT        IDC_PHONE,122,22,58,12,ES_AUTOHSCROLL
    LTEXT           "Default group:",IDC_STATIC,0,42,89,10
    EDITTEXT        IDC_DEFGROUP,96,39,86,12,ES_AUTOHSCROLL
    LTEXT           "Device name:",IDC_STATIC,0,59,89,10
    EDITTEXT        IDC_DEVICE_NAME,96,56,86,12,ES_AUTOHSCROLL
    CONTROL         "Do not open chat windows on creation",IDC_HIDECHATS,
                    "Button",BS_AUTOCHECKBOX | WS_TABSTOP,0,75,182,10
    PUSHBUTTON      "Log out",IDC_LOGOUT,108,124,74,14
END

IDD_OPTIONS DIALOGEX 0, 0, 305, 188
STYLE DS_SETFONT | DS_FIXEDSYS | WS_CHILD
EXSTYLE WS_EX_CONTROLPARENT
FONT 8, "MS Shell Dlg", 0, 0, 0x1
BEGIN
    LTEXT           "Country:",IDC_STATIC,5,8,79,8
    COMBOBOX        IDC_COUNTRY,87,6,211,12,CBS_DROPDOWNLIST | CBS_SORT | WS_VSCROLL | WS_TABSTOP
    LTEXT           "Phone number:",IDC_STATIC,5,25,79,10
    RTEXT           "",IDC_CODE,88,24,32,13,0,WS_EX_CLIENTEDGE
    EDITTEXT        IDC_PHONE,126,24,172,12,ES_AUTOHSCROLL
    LTEXT           "Default group:",IDC_STATIC,5,43,79,10
    EDITTEXT        IDC_DEFGROUP,87,42,211,12,ES_AUTOHSCROLL
    LTEXT           "Device name:",IDC_STATIC,5,62,79,10
    EDITTEXT        IDC_DEVICE_NAME,87,60,211,12,ES_AUTOHSCROLL
    CONTROL         "Do not open chat windows on creation",IDC_HIDECHATS,
                    "Button",BS_AUTOCHECKBOX | WS_TABSTOP,4,83,294,10
    CONTROL         "Compress files on send",IDC_COMPRESS_FILES,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,4,96,294,10
    PUSHBUTTON      "Log out",IDC_LOGOUT,212,168,86,14
    CONTROL         "Generate URL previews",IDC_USE_PREVIEW,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,4,109,294,10
END

IDD_OPTIONS_ADV DIALOGEX 0, 0, 310, 86
STYLE DS_SETFONT | DS_FIXEDSYS | WS_CHILD
EXSTYLE WS_EX_CONTROLPARENT
FONT 8, "MS Shell Dlg", 0, 0, 0x1
BEGIN
    LTEXT           "If a contact goes Offline, set this status instead and cache it for given timeout in seconds (0 - disabled)",IDC_STATIC,12,16,204,23
    EDITTEXT        IDC_DIFF1,221,13,54,12,ES_AUTOHSCROLL
    CONTROL         "",IDC_SPIN1,"msctls_updown32",UDS_SETBUDDYINT | UDS_AUTOBUDDY | UDS_ARROWKEYS,275,12,11,14
    COMBOBOX        IDC_STATUS1,221,28,81,30,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP
    LTEXT           "After that, set this status to a contact and move it offline after specified timeout in seconds (0 - disabled)",IDC_STATIC,12,49,204,23
    EDITTEXT        IDC_DIFF2,221,46,54,12,ES_AUTOHSCROLL
    CONTROL         "",IDC_SPIN2,"msctls_updown32",UDS_SETBUDDYINT | UDS_AUTOBUDDY | UDS_ARROWKEYS,275,45,11,14
    COMBOBOX        IDC_STATUS2,221,61,81,30,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP
END

IDD_OPTIONS_SESSIONS DIALOGEX 0, 0, 310, 235
STYLE DS_SETFONT | DS_FIXEDSYS | WS_CHILD
EXSTYLE WS_EX_CONTROLPARENT
FONT 8, "MS Shell Dlg", 0, 0, 0x1
BEGIN
    CONTROL         "",IDC_SESSIONS,"SysListView32",LVS_REPORT | LVS_SINGLESEL | LVS_SHOWSELALWAYS | LVS_ALIGNLEFT | LVS_NOSORTHEADER | WS_BORDER | WS_TABSTOP,1,0,308,212
    LTEXT           "Software",IDC_STATIC,7,220,75,8
    EDITTEXT        IDC_SOFTWARE,87,218,217,12,ES_AUTOHSCROLL | WS_DISABLED
END

IDD_ADD_PHONE DIALOGEX 0, 0, 343, 105
STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | DS_CENTER | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Add phone contact"
FONT 8, "MS Shell Dlg", 400, 0, 0x1
BEGIN
    LTEXT           "First name:",IDC_STATIC,7,10,141,8
    EDITTEXT        IDC_FIRST_NAME,151,7,185,14,ES_AUTOHSCROLL
    LTEXT           "Last name:",IDC_STATIC,7,28,141,8
    EDITTEXT        IDC_LAST_NAME,151,25,185,14,ES_AUTOHSCROLL
    LTEXT           "Country:",IDC_STATIC,7,46,141,8
    COMBOBOX        IDC_COUNTRY,151,44,185,12,CBS_DROPDOWNLIST | CBS_SORT | WS_VSCROLL | WS_TABSTOP
    LTEXT           "Phone:",IDC_STATIC,7,65,141,8
    RTEXT           "",IDC_CODE,152,62,32,14,0,WS_EX_CLIENTEDGE
    EDITTEXT        IDC_PHONE,189,62,147,14,ES_AUTOHSCROLL
    DEFPUSHBUTTON   "OK",IDOK,230,85,50,14
    PUSHBUTTON      "Cancel",IDCANCEL,284,85,50,14
END

IDD_FORWARD DIALOGEX 0, 0, 215, 267
STYLE DS_SETFONT | DS_MODALFRAME | DS_SETFOREGROUND | DS_FIXEDSYS | DS_CENTER | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION "Forward message"
FONT 8, "MS Shell Dlg", 0, 0, 0x1
BEGIN
    CONTROL         "",IDC_CLIST,"CListControl",WS_TABSTOP | 0x1,8,4,201,239,WS_EX_CLIENTEDGE
    DEFPUSHBUTTON   "Forward",IDOK,104,248,50,14
    PUSHBUTTON      "Cancel",IDCANCEL,158,248,50,14
END

IDD_REACTIONS DIALOGEX 0, 0, 215, 40
STYLE DS_SETFONT | DS_MODALFRAME | DS_SETFOREGROUND | DS_FIXEDSYS | DS_CENTER | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION "Add reaction"
FONT 8, "MS Shell Dlg", 0, 0, 0x1
BEGIN
    COMBOBOX        IDC_REACTIONS,8,4,201,12,CBS_DROPDOWNLIST | CBS_SORT | WS_VSCROLL | WS_TABSTOP
    DEFPUSHBUTTON   "OK",IDOK,104,22,50,14
    PUSHBUTTON      "Cancel",IDCANCEL,158,22,50,14
END


/////////////////////////////////////////////////////////////////////////////
//
// Icon
//

// Icon with lowest ID value placed first to ensure application icon
// remains consistent on all systems.
IDI_TELEGRAM            ICON                    "telegram.ico"

IDI_PREMIUM             ICON                    "premium.ico"

IDI_FORWARD             ICON                    "forward.ico"

IDI_REACTION            ICON                    "reaction.ico"

IDI_BOT                 ICON                    "bot.ico"


/////////////////////////////////////////////////////////////////////////////
//
// DESIGNINFO
//

#ifdef APSTUDIO_INVOKED
GUIDELINES DESIGNINFO
BEGIN
    IDD_ACCMGRUI, DIALOG
    BEGIN
    END

    IDD_OPTIONS, DIALOG
    BEGIN
    END

    IDD_OPTIONS_ADV, DIALOG
    BEGIN
    END

    IDD_OPTIONS_SESSIONS, DIALOG
    BEGIN
        BOTTOMMARGIN, 95
    END

    IDD_ADD_PHONE, DIALOG
    BEGIN
        BOTTOMMARGIN, 84
    END

    IDD_FORWARD, DIALOG
    BEGIN
        BOTTOMMARGIN, 262
    END
END
#endif    // APSTUDIO_INVOKED


/////////////////////////////////////////////////////////////////////////////
//
// AFX_DIALOG_LAYOUT
//

IDD_ACCMGRUI AFX_DIALOG_LAYOUT
BEGIN
    0
END

IDD_OPTIONS AFX_DIALOG_LAYOUT
BEGIN
    0
END

IDD_ADD_PHONE AFX_DIALOG_LAYOUT
BEGIN
    0
END

IDD_FORWARD AFX_DIALOG_LAYOUT
BEGIN
    0
END

IDC_REACTION AFX_DIALOG_LAYOUT
BEGIN
    0
END

IDD_OPTIONS_SESSIONS AFX_DIALOG_LAYOUT
BEGIN
    0
END

#endif    // English (Neutral) resources
/////////////////////////////////////////////////////////////////////////////



#ifndef APSTUDIO_INVOKED
/////////////////////////////////////////////////////////////////////////////
//
// Generated from the TEXTINCLUDE 3 resource.
//


/////////////////////////////////////////////////////////////////////////////
#endif    // not APSTUDIO_INVOKED