mirror of
https://github.com/debauchee/barrier.git
synced 2024-12-24 11:32:43 +03:00
58de7a21fe
allows the user to specify one (and only one) network interface to listen on.
385 lines
16 KiB
Plaintext
385 lines
16 KiB
Plaintext
//Microsoft Developer Studio generated resource script.
|
|
//
|
|
#include "resource.h"
|
|
|
|
#define APSTUDIO_READONLY_SYMBOLS
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
//
|
|
// Generated from the TEXTINCLUDE 2 resource.
|
|
//
|
|
#include "winres.h"
|
|
#if !defined(IDC_STATIC)
|
|
#define IDC_STATIC (-1)
|
|
#endif
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
#undef APSTUDIO_READONLY_SYMBOLS
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
// 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
|
|
|
|
#ifdef APSTUDIO_INVOKED
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
//
|
|
// TEXTINCLUDE
|
|
//
|
|
|
|
1 TEXTINCLUDE DISCARDABLE
|
|
BEGIN
|
|
"resource.h\0"
|
|
END
|
|
|
|
2 TEXTINCLUDE DISCARDABLE
|
|
BEGIN
|
|
"#include ""afxres.h""\r\n"
|
|
"\0"
|
|
END
|
|
|
|
3 TEXTINCLUDE DISCARDABLE
|
|
BEGIN
|
|
"\r\n"
|
|
"\0"
|
|
END
|
|
|
|
#endif // APSTUDIO_INVOKED
|
|
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
//
|
|
// Dialog
|
|
//
|
|
|
|
IDD_MAIN DIALOG DISCARDABLE 32768, 0, 300, 262
|
|
STYLE DS_MODALFRAME | WS_MINIMIZEBOX | WS_CAPTION | WS_SYSMENU
|
|
CAPTION "Synergy"
|
|
CLASS "GoSynergy"
|
|
FONT 8, "MS Sans Serif"
|
|
BEGIN
|
|
LTEXT "Choose to start either the Client or Server and provide the requested information. Then click Test to check your settings or Start to save your settings and start Synergy.",
|
|
IDC_STATIC,7,7,286,19
|
|
GROUPBOX "",IDC_STATIC,7,29,286,31
|
|
GROUPBOX "",IDC_STATIC,7,67,286,103
|
|
GROUPBOX "Options",IDC_STATIC,7,177,286,56
|
|
CONTROL "&Client",IDC_MAIN_CLIENT_RADIO,"Button",
|
|
BS_AUTORADIOBUTTON | WS_GROUP | WS_TABSTOP,11,29,33,10
|
|
CONTROL "Server",IDC_MAIN_SERVER_RADIO,"Button",
|
|
BS_AUTORADIOBUTTON,11,67,37,10
|
|
LTEXT "Server &Host Name:",IDC_MAIN_CLIENT_SERVER_NAME_LABEL,
|
|
12,41,61,8
|
|
EDITTEXT IDC_MAIN_CLIENT_SERVER_NAME_EDIT,79,39,106,12,
|
|
ES_AUTOHSCROLL
|
|
LTEXT "&Screens:",IDC_MAIN_SERVER_SCREENS_LABEL,12,79,29,8
|
|
LISTBOX IDC_MAIN_SERVER_SCREENS_LIST,12,91,106,36,
|
|
LBS_NOINTEGRALHEIGHT | WS_VSCROLL | WS_TABSTOP
|
|
PUSHBUTTON "&Add",IDC_MAIN_SERVER_ADD_BUTTON,12,132,50,14
|
|
PUSHBUTTON "&Edit",IDC_MAIN_SERVER_EDIT_BUTTON,68,132,50,14
|
|
PUSHBUTTON "&Remove",IDC_MAIN_SERVER_REMOVE_BUTTON,12,150,50,14
|
|
LTEXT "&Layout:",IDC_MAIN_SERVER_LAYOUT_LABEL,138,79,24,8
|
|
LTEXT "Left:",IDC_MAIN_SERVER_LEFT_LABEL,144,93,15,8
|
|
COMBOBOX IDC_MAIN_SERVER_LEFT_COMBO,175,91,111,75,
|
|
CBS_DROPDOWNLIST | CBS_SORT | WS_VSCROLL | WS_TABSTOP
|
|
LTEXT "Right:",IDC_MAIN_SERVER_RIGHT_LABEL,144,109,20,8
|
|
COMBOBOX IDC_MAIN_SERVER_RIGHT_COMBO,175,107,112,75,
|
|
CBS_DROPDOWNLIST | CBS_SORT | WS_VSCROLL | WS_TABSTOP
|
|
LTEXT "Above:",IDC_MAIN_SERVER_TOP_LABEL,144,125,24,8
|
|
COMBOBOX IDC_MAIN_SERVER_TOP_COMBO,175,123,112,75,
|
|
CBS_DROPDOWNLIST | CBS_SORT | WS_VSCROLL | WS_TABSTOP
|
|
LTEXT "Below:",IDC_MAIN_SERVER_BOTTOM_LABEL,144,141,22,8
|
|
COMBOBOX IDC_MAIN_SERVER_BOTTOM_COMBO,175,139,112,75,
|
|
CBS_DROPDOWNLIST | CBS_SORT | WS_VSCROLL | WS_TABSTOP
|
|
PUSHBUTTON "&Options...",IDC_MAIN_OPTIONS,12,191,50,14
|
|
PUSHBUTTON "Adva&nced...",IDC_MAIN_ADVANCED,68,191,50,14
|
|
LTEXT "Automatic Startup:",IDC_STATIC,138,193,59,8
|
|
PUSHBUTTON "Con&figure...",IDC_MAIN_AUTOSTART,202,191,50,14
|
|
LTEXT "Lo&gging Level:",IDC_STATIC,12,216,48,8
|
|
COMBOBOX IDC_MAIN_DEBUG,68,213,61,60,CBS_DROPDOWNLIST |
|
|
WS_VSCROLL | WS_TABSTOP
|
|
PUSHBUTTON "Sa&ve",IDC_MAIN_SAVE,75,241,50,14
|
|
DEFPUSHBUTTON "&Test",IDC_MAIN_TEST,131,241,50,14
|
|
PUSHBUTTON "Start",IDOK,187,241,50,14
|
|
PUSHBUTTON "Quit",IDCANCEL,243,241,50,14
|
|
END
|
|
|
|
IDD_ADD DIALOG DISCARDABLE 0, 0, 192, 254
|
|
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION
|
|
CAPTION "Add Screen"
|
|
FONT 8, "MS Sans Serif"
|
|
BEGIN
|
|
LTEXT "&Screen Name:",IDC_STATIC,7,9,46,8
|
|
EDITTEXT IDC_ADD_SCREEN_NAME_EDIT,79,7,106,12,ES_AUTOHSCROLL
|
|
LTEXT "&Aliases:",IDC_STATIC,7,25,25,8
|
|
EDITTEXT IDC_ADD_ALIASES_EDIT,79,26,106,40,ES_MULTILINE |
|
|
ES_AUTOVSCROLL | ES_AUTOHSCROLL | ES_WANTRETURN
|
|
GROUPBOX "Options",IDC_STATIC,7,72,178,80
|
|
LTEXT "If your Caps, Num, or Scroll Lock keys behave strangely on this client screen then try turning the half-duplex options on and reconnect the client.",
|
|
IDC_STATIC,13,82,165,25
|
|
CONTROL "Half-duplex &Caps Lock",IDC_ADD_HD_CAPS_CHECK,"Button",
|
|
BS_AUTOCHECKBOX | WS_TABSTOP,13,110,165,10
|
|
CONTROL "Half-duplex &Num Lock",IDC_ADD_HD_NUM_CHECK,"Button",
|
|
BS_AUTOCHECKBOX | WS_TABSTOP,13,122,165,10
|
|
CONTROL "Half-duplex Sc&roll Lock",IDC_ADD_HD_SCROLL_CHECK,
|
|
"Button",BS_AUTOCHECKBOX | WS_TABSTOP,13,134,165,10
|
|
GROUPBOX "Modifiers",IDC_STATIC,7,155,178,65
|
|
LTEXT "Shift",IDC_STATIC,13,171,15,8
|
|
COMBOBOX IDC_ADD_MOD_SHIFT,37,168,48,60,CBS_DROPDOWNLIST |
|
|
WS_VSCROLL | WS_TABSTOP
|
|
LTEXT "Ctrl",IDC_STATIC,13,186,11,8
|
|
COMBOBOX IDC_ADD_MOD_CTRL,37,184,48,60,CBS_DROPDOWNLIST |
|
|
WS_VSCROLL | WS_TABSTOP
|
|
LTEXT "Alt",IDC_STATIC,13,202,9,8
|
|
COMBOBOX IDC_ADD_MOD_ALT,37,200,48,60,CBS_DROPDOWNLIST |
|
|
WS_VSCROLL | WS_TABSTOP
|
|
LTEXT "Meta",IDC_STATIC,101,170,17,8
|
|
COMBOBOX IDC_ADD_MOD_META,125,168,48,60,CBS_DROPDOWNLIST |
|
|
WS_VSCROLL | WS_TABSTOP
|
|
LTEXT "Super",IDC_STATIC,101,186,20,8
|
|
COMBOBOX IDC_ADD_MOD_SUPER,125,184,48,60,CBS_DROPDOWNLIST |
|
|
WS_VSCROLL | WS_TABSTOP
|
|
DEFPUSHBUTTON "OK",IDOK,79,233,50,14
|
|
PUSHBUTTON "Cancel",IDCANCEL,135,233,50,14
|
|
END
|
|
|
|
IDD_WAIT DIALOG DISCARDABLE 0, 0, 186, 54
|
|
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION
|
|
CAPTION "Running Test..."
|
|
FONT 8, "MS Sans Serif"
|
|
BEGIN
|
|
DEFPUSHBUTTON "Stop",IDOK,129,33,50,14
|
|
LTEXT "Running synergy. Press Stop to end the test.",
|
|
IDC_STATIC,7,7,172,15
|
|
END
|
|
|
|
IDD_AUTOSTART DIALOG DISCARDABLE 0, 0, 195, 189
|
|
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
|
|
CAPTION "Auto Start"
|
|
FONT 8, "MS Sans Serif"
|
|
BEGIN
|
|
DEFPUSHBUTTON "Close",IDCANCEL,138,168,50,14
|
|
LTEXT "Synergy can be configured to start automatically when you log in. If you have sufficient access rights, you can instead configure synergy to start automatically when your computer starts.",
|
|
IDC_STATIC,7,7,181,33
|
|
LTEXT "You have sufficient access rights to install and uninstall Auto Start for all users or for just yourself.",
|
|
IDC_AUTOSTART_PERMISSION_MSG,7,69,181,17
|
|
LTEXT "Synergy is configured to start automatically when the system starts.",
|
|
IDC_AUTOSTART_INSTALLED_MSG,7,93,181,17
|
|
GROUPBOX "When &You Log In",IDC_STATIC,7,119,84,40
|
|
PUSHBUTTON "Install",IDC_AUTOSTART_INSTALL_USER,23,133,50,14
|
|
GROUPBOX "When &Computer Starts",IDC_STATIC,104,119,84,40
|
|
PUSHBUTTON "Install",IDC_AUTOSTART_INSTALL_SYSTEM,119,134,50,14
|
|
LTEXT "Synergy can be configured to start automatically when the computer starts or when you log in but not both.",
|
|
IDC_STATIC,7,43,181,17
|
|
END
|
|
|
|
IDD_GLOBAL_OPTIONS DIALOG DISCARDABLE 0, 0, 207, 269
|
|
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
|
|
CAPTION "Options"
|
|
FONT 8, "MS Sans Serif"
|
|
BEGIN
|
|
LTEXT "It's easy to unintentionally switch screens when the pointer is near a screen's edge. Synergy can prevent switching until certain conditions are met to reduce unintentional switching.",
|
|
IDC_STATIC,7,7,191,26
|
|
LTEXT "Synergy can wait to switch until the cursor has been at a screen's edge for some amount of time.",
|
|
IDC_STATIC,7,37,193,16
|
|
CONTROL "Switch after waiting",IDC_GLOBAL_DELAY_CHECK,"Button",
|
|
BS_AUTOCHECKBOX | WS_TABSTOP,7,59,77,10
|
|
EDITTEXT IDC_GLOBAL_DELAY_TIME,112,58,45,12,ES_AUTOHSCROLL |
|
|
ES_NUMBER
|
|
LTEXT "ms",IDC_STATIC,159,60,10,8
|
|
LTEXT "Synergy can switch only when the cursor hits a screen edge twice within some amount of time.",
|
|
IDC_STATIC,7,77,193,16
|
|
CONTROL "Switch on double tap within",IDC_GLOBAL_TWO_TAP_CHECK,
|
|
"Button",BS_AUTOCHECKBOX | WS_TABSTOP,7,99,103,10
|
|
EDITTEXT IDC_GLOBAL_TWO_TAP_TIME,112,98,45,12,ES_AUTOHSCROLL |
|
|
ES_NUMBER
|
|
LTEXT "ms",IDC_STATIC,159,100,10,8
|
|
LTEXT "Synergy can periodically check that clients are still alive and connected. Use this only if synergy doesn't detect when clients disconnect.",
|
|
IDC_STATIC,7,122,193,24
|
|
CONTROL "Check clients every",IDC_GLOBAL_HEARTBEAT_CHECK,"Button",
|
|
BS_AUTOCHECKBOX | WS_TABSTOP,7,153,78,10
|
|
EDITTEXT IDC_GLOBAL_HEARTBEAT_TIME,112,152,45,12,ES_AUTOHSCROLL |
|
|
ES_NUMBER
|
|
LTEXT "ms",IDC_STATIC,159,154,10,8
|
|
LTEXT "Synergy can synchronize screen savers across all screens.",
|
|
IDC_STATIC,7,176,193,8
|
|
CONTROL "Synchronize screen savers",IDC_GLOBAL_SCREENSAVER_SYNC,
|
|
"Button",BS_AUTOCHECKBOX | WS_TABSTOP,7,192,101,10
|
|
LTEXT "Experimental: Relative mouse moves on secondary screens.",
|
|
IDC_STATIC,7,213,193,8
|
|
CONTROL "Use relative mouse moves",IDC_GLOBAL_RELATIVE_MOVES,
|
|
"Button",BS_AUTOCHECKBOX | WS_TABSTOP,7,229,99,10
|
|
DEFPUSHBUTTON "OK",IDOK,94,248,50,14
|
|
PUSHBUTTON "Cancel",IDCANCEL,150,248,50,14
|
|
END
|
|
|
|
IDD_ADVANCED_OPTIONS DIALOG DISCARDABLE 0, 0, 230, 186
|
|
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
|
|
CAPTION "Advanced Options"
|
|
FONT 8, "MS Sans Serif"
|
|
BEGIN
|
|
LTEXT "Synergy normally uses this computer's name as its screen name. Enter another name here if you want to use a different screen name.",
|
|
IDC_STATIC,7,7,216,19
|
|
LTEXT "Screen &Name:",IDC_STATIC,7,34,46,8
|
|
EDITTEXT IDC_ADVANCED_NAME_EDIT,63,32,106,12,ES_AUTOHSCROLL
|
|
LTEXT "Synergy normally uses a particular network port number. Enter an alternative port here. (The server and all clients must use the same port number.)",
|
|
IDC_STATIC,7,56,216,26
|
|
LTEXT "&Port:",IDC_STATIC,7,90,16,8
|
|
EDITTEXT IDC_ADVANCED_PORT_EDIT,63,88,40,12,ES_AUTOHSCROLL |
|
|
ES_NUMBER
|
|
LTEXT "The server normally listens for client connections on all network interfaces. Enter the address of a particular interface to listen on just that interface.",
|
|
IDC_STATIC,7,110,216,26
|
|
LTEXT "&Interface:",IDC_STATIC,7,144,31,8
|
|
EDITTEXT IDC_ADVANCED_INTERFACE_EDIT,63,142,81,12,ES_AUTOHSCROLL
|
|
PUSHBUTTON "&Defaults",IDC_ADVANCED_DEFAULTS,7,165,50,14
|
|
DEFPUSHBUTTON "OK",IDOK,118,165,50,14
|
|
PUSHBUTTON "Cancel",IDCANCEL,173,165,50,14
|
|
END
|
|
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
//
|
|
// DESIGNINFO
|
|
//
|
|
|
|
#ifdef APSTUDIO_INVOKED
|
|
GUIDELINES DESIGNINFO DISCARDABLE
|
|
BEGIN
|
|
IDD_MAIN, DIALOG
|
|
BEGIN
|
|
LEFTMARGIN, 7
|
|
RIGHTMARGIN, 293
|
|
TOPMARGIN, 7
|
|
BOTTOMMARGIN, 255
|
|
END
|
|
|
|
IDD_ADD, DIALOG
|
|
BEGIN
|
|
LEFTMARGIN, 7
|
|
RIGHTMARGIN, 185
|
|
TOPMARGIN, 7
|
|
BOTTOMMARGIN, 247
|
|
END
|
|
|
|
IDD_WAIT, DIALOG
|
|
BEGIN
|
|
LEFTMARGIN, 7
|
|
RIGHTMARGIN, 179
|
|
TOPMARGIN, 7
|
|
BOTTOMMARGIN, 47
|
|
END
|
|
|
|
IDD_AUTOSTART, DIALOG
|
|
BEGIN
|
|
LEFTMARGIN, 7
|
|
RIGHTMARGIN, 188
|
|
TOPMARGIN, 7
|
|
BOTTOMMARGIN, 182
|
|
END
|
|
|
|
IDD_GLOBAL_OPTIONS, DIALOG
|
|
BEGIN
|
|
LEFTMARGIN, 7
|
|
RIGHTMARGIN, 200
|
|
TOPMARGIN, 7
|
|
BOTTOMMARGIN, 262
|
|
END
|
|
|
|
IDD_ADVANCED_OPTIONS, DIALOG
|
|
BEGIN
|
|
LEFTMARGIN, 7
|
|
RIGHTMARGIN, 223
|
|
TOPMARGIN, 7
|
|
BOTTOMMARGIN, 179
|
|
END
|
|
END
|
|
#endif // APSTUDIO_INVOKED
|
|
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
//
|
|
// Icon
|
|
//
|
|
|
|
// Icon with lowest ID value placed first to ensure application icon
|
|
// remains consistent on all systems.
|
|
IDI_SYNERGY ICON DISCARDABLE "synergy.ico"
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
//
|
|
// String Table
|
|
//
|
|
|
|
STRINGTABLE DISCARDABLE
|
|
BEGIN
|
|
IDS_ERROR "Error"
|
|
IDS_INVALID_SCREEN_NAME "Screen name `%{1}' is invalid."
|
|
IDS_DUPLICATE_SCREEN_NAME "The screen name `%{1}' is already being used."
|
|
IDS_SCREEN_NAME_IS_ALIAS "A name may not be an alias of itself."
|
|
IDS_VERIFY "Confirm"
|
|
IDS_UNSAVED_DATA_REALLY_QUIT "You have unsaved changes. Really quit?"
|
|
IDS_UNKNOWN_SCREEN_NAME "The screen name `%{1}' is not in the layout."
|
|
IDS_INVALID_PORT "The port `%{1}' is invalid. It must be between 1 and 65535 inclusive. %{2} is the standard port."
|
|
IDS_SAVE_FAILED "Failed to save configuration: %{1}"
|
|
IDS_STARTUP_FAILED "Failed to start synergy: %{1}"
|
|
IDS_STARTED_TITLE "Started"
|
|
IDS_STARTED "Synergy was successfully started. Use the task manager or tray icon to terminate it."
|
|
IDS_UNINSTALL_TITLE "Removed Auto-Start"
|
|
END
|
|
|
|
STRINGTABLE DISCARDABLE
|
|
BEGIN
|
|
IDS_AUTOSTART_PERMISSION_SYSTEM
|
|
"You have sufficient access rights to install and uninstall Auto Start for all users."
|
|
IDS_AUTOSTART_PERMISSION_USER
|
|
"You have sufficient access rights to install and uninstall Auto Start for just yourself."
|
|
IDS_AUTOSTART_PERMISSION_NONE
|
|
"You do not have sufficient access rights to install or uninstall Auto Start."
|
|
IDS_AUTOSTART_INSTALLED_SYSTEM
|
|
"Synergy is configured to start automatically when the system starts."
|
|
IDS_AUTOSTART_INSTALLED_USER
|
|
"Synergy is configured to start automatically when you log in."
|
|
IDS_AUTOSTART_INSTALLED_NONE
|
|
"Synergy is not configured to start automatically."
|
|
IDS_INSTALL_LABEL "Install"
|
|
IDS_UNINSTALL_LABEL "Uninstall"
|
|
IDS_INSTALL_GENERIC_ERROR "Install failed: %{1}"
|
|
IDS_UNINSTALL_GENERIC_ERROR "Uninstall failed: %{1}"
|
|
IDS_INSTALL_TITLE "Installed Auto-Start"
|
|
IDS_INSTALLED_SYSTEM "Installed auto-start. Synergy will automatically start each time you start your computer."
|
|
IDS_INSTALLED_USER "Installed auto-start. Synergy will automatically start each time you log in."
|
|
END
|
|
|
|
STRINGTABLE DISCARDABLE
|
|
BEGIN
|
|
IDS_UNINSTALLED_SYSTEM "Removed auto-start. Synergy will not automatically start each time you start or reboot your computer."
|
|
IDS_UNINSTALLED_USER "Removed auto-start. Synergy will not automatically start each time you log in."
|
|
IDS_INVALID_SERVER_NAME "Server name `%{1}' is invalid."
|
|
IDS_TITLE "Synergy - Version %{1}"
|
|
IDS_SERVER_IS_CLIENT "Please enter the computer name of the synergy server, not\nthe name of this computer, in the Server Host Name field."
|
|
IDS_ADD_SCREEN "Add Screen"
|
|
IDS_EDIT_SCREEN "Edit Screen %{1}"
|
|
IDS_ERROR_CODE "Error code: %{1}"
|
|
IDS_AUTOSTART_PERMISSION_ALL
|
|
"You have sufficient access rights to install and uninstall Auto Start for all users or for just yourself."
|
|
IDS_INVALID_INTERFACE_NAME "The interface '%{1}' is invalid: %{2}"
|
|
END
|
|
|
|
#endif // English (U.S.) resources
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
#ifndef APSTUDIO_INVOKED
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
//
|
|
// Generated from the TEXTINCLUDE 3 resource.
|
|
//
|
|
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
#endif // not APSTUDIO_INVOKED
|
|
|