summaryrefslogtreecommitdiff
path: root/plugins/ChangeKeyboardLayout/res/ChangeKeyboardLayout.rc
blob: 5afff1dde2a4aaeff551890d128e3e347642d084 (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
//Microsoft Developer Studio generated resource script.
//
#include "..\src\resource.h"

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

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

/////////////////////////////////////////////////////////////////////////////
// Russian resources

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

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

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

2 TEXTINCLUDE MOVEABLE PURE 
BEGIN
    "#include ""afxres.h""\r\n"
    "\0"
END

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

#endif    // APSTUDIO_INVOKED


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

// Icon with lowest ID value placed first to ensure application icon
// remains consistent on all systems.
IDI_POPUPICON           ICON         "Popup.ico"
IDI_COPYICON            ICON         "CopyToClipboard.ico"

/////////////////////////////////////////////////////////////////////////////
//
// Bitmap
//

IDB_BITMAP_WIN          BITMAP       "Win.bmp"
IDB_BITMAP_ALT          BITMAP       "Alt.bmp"
IDB_BITMAP_CTRL         BITMAP       "Ctrl.bmp"
IDB_BITMAP_SHIFT        BITMAP       "Shift.bmp"

#endif    // Russian resources
/////////////////////////////////////////////////////////////////////////////


/////////////////////////////////////////////////////////////////////////////
// English (U.S.) resources

#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)
#ifdef _WIN32
LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
#pragma code_page(1252)
#endif //_WIN32

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

IDD_MAIN_OPTION_FORM DIALOGEX 0, 0, 313, 249
STYLE DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_SYSMENU
FONT 8, "MS Shell Dlg"
BEGIN
    GROUPBOX        "Hotkeys",IDC_STATIC_GROUP_HOTKEYS,2,0,308,94
    LTEXT           "Changing layout:",IDC_STATIC_HOTKEY_LAYOUT,8,11,296,8
    CONTROL         "",IDC_HOTKEY_LAYOUT,"msctls_hotkey32",WS_BORDER | 
                    WS_TABSTOP,162,21,23,12,WS_EX_ACCEPTFILES
    CONTROL         "",IDC_CHECK_LAYOUT_CTRL,"Button",BS_AUTOCHECKBOX | 
                    WS_TABSTOP,70,22,9,10
    CONTROL         "",IDC_CHECK_LAYOUT_ALT,"Button",BS_AUTOCHECKBOX | 
                    WS_TABSTOP,99,22,9,10
    CONTROL         "",IDC_CHECK_LAYOUT_SHIFT,"Button",BS_AUTOCHECKBOX | 
                    WS_TABSTOP,39,22,9,10
    CONTROL         "",IDC_CHECK_LAYOUT_WIN,"Button",BS_AUTOCHECKBOX | 
                    WS_TABSTOP,126,22,9,10
    CONTROL         """Current word"" mode",IDC_CHECK_LAYOUT_MODE,"Button",
                    BS_AUTOCHECKBOX | WS_TABSTOP,195,22,109,10
    LTEXT           "Changing layout (alternative):",
                    IDC_STATIC_HOTKEY_LAYOUT2,8,37,296,8
    CONTROL         "",IDC_HOTKEY_LAYOUT2,"msctls_hotkey32",WS_BORDER | 
                    WS_TABSTOP,162,48,23,12,WS_EX_ACCEPTFILES
    CONTROL         "",IDC_CHECK_LAYOUT2_CTRL,"Button",BS_AUTOCHECKBOX | 
                    WS_TABSTOP,70,49,9,10
    CONTROL         "",IDC_CHECK_LAYOUT2_ALT,"Button",BS_AUTOCHECKBOX | 
                    WS_TABSTOP,99,49,9,10
    CONTROL         "",IDC_CHECK_LAYOUT2_SHIFT,"Button",BS_AUTOCHECKBOX | 
                    WS_TABSTOP,39,49,9,10
    CONTROL         "",IDC_CHECK_LAYOUT2_WIN,"Button",BS_AUTOCHECKBOX | 
                    WS_TABSTOP,126,49,9,10
    CONTROL         """Current word"" mode",IDC_CHECK_LAYOUT_MODE2,"Button",
                    BS_AUTOCHECKBOX | WS_TABSTOP,195,49,109,10
    LTEXT           "Inverting lettercase:",IDC_STATIC_HOTKEY_CASE,8,64,296,
                    8
    CONTROL         "",IDC_HOTKEY_CASE,"msctls_hotkey32",WS_BORDER | 
                    WS_TABSTOP,162,75,23,12,WS_EX_ACCEPTFILES
    CONTROL         "",IDC_CHECK_CASE_CTRL,"Button",BS_AUTOCHECKBOX | 
                    WS_TABSTOP,70,76,9,10
    CONTROL         "",IDC_CHECK_CASE_ALT,"Button",BS_AUTOCHECKBOX | 
                    WS_TABSTOP,99,76,9,10
    CONTROL         "",IDC_CHECK_CASE_SHIFT,"Button",BS_AUTOCHECKBOX | 
                    WS_TABSTOP,39,76,9,10
    CONTROL         "",IDC_CHECK_CASE_WIN,"Button",BS_AUTOCHECKBOX | 
                    WS_TABSTOP,126,76,9,10
    CONTROL         """Current word"" mode",IDC_CHECK_CASE_MODE,"Button",
                    BS_AUTOCHECKBOX | WS_TABSTOP,195,76,109,10
    GROUPBOX        "Options",IDC_STATIC_GROUP_OPTIONS,158,96,152,81
    CONTROL         "Two-way changing layout (experimental)",
                    IDC_CHECK_TWOWAY,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,
                    164,105,143,10
    GROUPBOX        "Log operations",IDC_STATIC_GROUP_LOG,2,96,152,81
    CONTROL         "Copy result to clipboard",IDC_CHECK_CLIPBOARD,"Button",
                    BS_AUTOCHECKBOX | WS_TABSTOP,8,108,141,10
    CONTROL         "Show result in Popup",IDC_CHECK_POPUP,"Button",
                    BS_AUTOCHECKBOX | WS_TABSTOP,8,121,141,10
    GROUPBOX        "Strings for keyboard layouts",IDC_STATIC_GROUP_STRINGS,
                    2,180,308,65
    LTEXT           "EN",IDC_STATIC_EXAMPLE,10,194,10,8
    EDITTEXT        IDC_EDIT_EXAMPLE,42,192,261,14,ES_AUTOHSCROLL | 
                    ES_READONLY
    COMBOBOX        IDC_COMBO_LANG,8,209,32,63,CBS_DROPDOWNLIST | WS_VSCROLL | 
                    WS_TABSTOP
    EDITTEXT        IDC_EDIT_SET,42,208,261,14,ES_AUTOHSCROLL
    PUSHBUTTON      "Default",IDC_BUTTON_DEFAULT,253,226,50,14
    CONTROL         IDB_BITMAP_CTRL,IDC_STATIC,"Static",SS_BITMAP,80,23,15,8
    CONTROL         IDB_BITMAP_ALT,IDC_STATIC,"Static",SS_BITMAP,110,23,12,8
    CONTROL         IDB_BITMAP_SHIFT,IDC_STATIC,"Static",SS_BITMAP,50,23,17,8
    CONTROL         IDB_BITMAP_WIN,IDC_STATIC,"Static",SS_BITMAP,136,23,13,8
    LTEXT           "+",IDC_STATIC,153,22,8,8
    CONTROL         IDB_BITMAP_CTRL,IDC_STATIC,"Static",SS_BITMAP,80,50,15,8
    CONTROL         IDB_BITMAP_ALT,IDC_STATIC,"Static",SS_BITMAP,110,50,12,8
    CONTROL         IDB_BITMAP_SHIFT,IDC_STATIC,"Static",SS_BITMAP,50,50,17,8
    CONTROL         IDB_BITMAP_WIN,IDC_STATIC,"Static",SS_BITMAP,136,50,13,8
    LTEXT           "+",IDC_STATIC,153,49,8,8
    CONTROL         IDB_BITMAP_CTRL,IDC_STATIC,"Static",SS_BITMAP,80,77,15,8
    CONTROL         IDB_BITMAP_ALT,IDC_STATIC,"Static",SS_BITMAP,110,77,12,8
    CONTROL         IDB_BITMAP_SHIFT,IDC_STATIC,"Static",SS_BITMAP,50,77,17,8
    CONTROL         IDB_BITMAP_WIN,IDC_STATIC,"Static",SS_BITMAP,136,77,13,8
    LTEXT           "+",IDC_STATIC,153,76,8,8
    CONTROL         "Invert current state",IDC_RADIO_INVERTCAPS,"Button",
                    BS_AUTORADIOBUTTON,171,145,133,10
    CONTROL         "Switch off",IDC_RADIO_OFFCAPS,"Button",
                    BS_AUTORADIOBUTTON,171,155,133,10
    CONTROL         "Leave as it is",IDC_RADIO_IGNORECAPS,"Button",
                    BS_AUTORADIOBUTTON,171,165,133,10
    LTEXT           "Set Caps Lock state when inverting lettercase:",
                    IDC_STATIC,164,128,140,18
    CONTROL         "Change active keyboard layout in system",
                    IDC_CHECK_SYSTEMLAYOUT,"Button",BS_AUTOCHECKBOX | 
                    WS_TABSTOP,164,116,143,10
END

IDD_POPUP_OPTION_FORM DIALOGEX 0, 0, 188, 126
STYLE DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_SYSMENU
FONT 8, "MS Shell Dlg", 400, 0, 0x1
BEGIN
    GROUPBOX        "Colors",IDC_GROUP_COLOURS,2,2,91,72,WS_GROUP
    CONTROL         "Popup colors",IDC_RADIO_COLOURS_POPUP,"Button",
                    BS_AUTORADIOBUTTON,6,12,82,10
    CONTROL         "Windows colors",IDC_RADIO_COLOURS_WINDOWS,"Button",
                    BS_AUTORADIOBUTTON,6,23,82,10
    CONTROL         "Custom colors",IDC_RADIO_COLOURS_CUSTOM,"Button",
                    BS_AUTORADIOBUTTON,6,34,82,10
    CTEXT           "Back",IDC_STATIC,8,46,39,8
    CONTROL         "Custom1",IDC_CUSTOM_BACK,"ColourPicker",WS_TABSTOP,12,
                    55,29,14
    CTEXT           "Text",IDC_STATIC,51,46,39,8
    CONTROL         "Custom1",IDC_CUSTOM_TEXT,"ColourPicker",WS_TABSTOP,56,
                    55,29,14
    GROUPBOX        "Timeout",IDC_GROUP_TIMEOUT,95,2,91,72,WS_GROUP
    CONTROL         "From Popup plugin",IDC_RADIO_TIMEOUT_POPUP,"Button",
                    BS_AUTORADIOBUTTON,99,12,82,10
    CONTROL         "Permanent",IDC_RADIO_TIMEOUT_PERMANENT,"Button",
                    BS_AUTORADIOBUTTON,99,23,82,10
    CONTROL         "Custom",IDC_RADIO_TIMEOUT_CUSTOM,"Button",
                    BS_AUTORADIOBUTTON,99,33,82,10
    EDITTEXT        IDC_EDIT_TIMEOUT,118,50,40,14,ES_AUTOHSCROLL | ES_NUMBER
    GROUPBOX        "On left click",IDC_GROUP_LEFTCLICK,2,74,91,34,WS_GROUP
    CONTROL         "Copy to clipboard",IDC_RADIO_LEFT_CLIPBOARD,"Button",
                    BS_AUTORADIOBUTTON,8,84,82,10
    CONTROL         "Dismiss",IDC_RADIO_LEFT_DISMISS,"Button",
                    BS_AUTORADIOBUTTON,8,94,82,10
    GROUPBOX        "On right click",IDC_GROUP_RIGHTCLICK,95,74,91,34,
                    WS_GROUP
    CONTROL         "Copy to clipboard",IDC_RADIO_RIGHT_CLIPBOARD,"Button",
                    BS_AUTORADIOBUTTON,101,84,82,10
    CONTROL         "Dismiss",IDC_RADIO_RIGHT_DISMISS,"Button",
                    BS_AUTORADIOBUTTON,101,94,82,10
    PUSHBUTTON      "Preview",IDC_BUTTON_PREVIEW,70,110,50,14
END


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

#ifdef APSTUDIO_INVOKED
GUIDELINES DESIGNINFO MOVEABLE PURE 
BEGIN
    IDD_MAIN_OPTION_FORM, DIALOG
    BEGIN
        LEFTMARGIN, 2
        RIGHTMARGIN, 310
        TOPMARGIN, 3
        BOTTOMMARGIN, 246
    END

    IDD_POPUP_OPTION_FORM, DIALOG
    BEGIN
        LEFTMARGIN, 2
        RIGHTMARGIN, 186
        TOPMARGIN, 2
        BOTTOMMARGIN, 124
    END
END
#endif    // APSTUDIO_INVOKED

#endif    // English (U.S.) resources
/////////////////////////////////////////////////////////////////////////////



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


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