conhost.rc 5.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138
  1. /*
  2. * Copyright 2012 Detlef Riekenberg
  3. *
  4. * This library is free software; you can redistribute it and/or
  5. * modify it under the terms of the GNU Lesser General Public
  6. * License as published by the Free Software Foundation; either
  7. * version 2.1 of the License, or (at your option) any later version.
  8. *
  9. * This library is distributed in the hope that it will be useful,
  10. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  11. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  12. * Lesser General Public License for more details.
  13. *
  14. * You should have received a copy of the GNU Lesser General Public
  15. * License along with this library; if not, write to the Free Software
  16. * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
  17. */
  18. #include <windef.h>
  19. #include <winuser.h>
  20. #include <commctrl.h>
  21. #include "conhost.h"
  22. #pragma makedep po
  23. LANGUAGE LANG_ENGLISH, SUBLANG_DEFAULT
  24. STRINGTABLE
  25. BEGIN
  26. IDS_EDIT, "&Edit"
  27. IDS_DEFAULT, "Set &Defaults"
  28. IDS_PROPERTIES, "&Properties"
  29. IDS_MARK, "&Mark"
  30. IDS_COPY, "&Copy"
  31. IDS_PASTE, "&Paste"
  32. IDS_SELECTALL, "&Select all"
  33. IDS_SCROLL, "Sc&roll"
  34. IDS_SEARCH, "S&earch"
  35. IDS_FNT_DISPLAY, "Each character is %1!u! pixels wide and %2!u! pixels high"
  36. IDS_FNT_PREVIEW, "This is a test"
  37. IDS_DLG_TIT_DEFAULT, "Setup - Default settings"
  38. IDS_DLG_TIT_CURRENT, "Setup - Current settings"
  39. IDS_DLG_TIT_ERROR, "Configuration error"
  40. IDS_DLG_ERR_SBWINSIZE, "The size of the screen buffer must be greater than or equal to the size of the window."
  41. END
  42. IDD_OPTION DIALOG 36, 24, 140, 109
  43. STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
  44. CAPTION "Options"
  45. FONT 8, "MS Shell Dlg"
  46. {
  47. GROUPBOX "Cursor size", -1, 5, 5, 70, 54, BS_GROUPBOX
  48. AUTORADIOBUTTON "&Small", IDC_OPT_CURSOR_SMALL, 9, 18, 50, 10, WS_TABSTOP
  49. AUTORADIOBUTTON "&Medium", IDC_OPT_CURSOR_MEDIUM, 9, 30, 50, 10, WS_TABSTOP
  50. AUTORADIOBUTTON "&Large", IDC_OPT_CURSOR_LARGE, 9, 42, 50, 10, WS_TABSTOP
  51. GROUPBOX "Command history", -1, 80, 5, 120, 54, BS_GROUPBOX
  52. LTEXT "&Buffer size:", -1, 84, 20, 70, 10
  53. EDITTEXT IDC_OPT_HIST_SIZE, 154, 18, 40, 12, WS_TABSTOP|WS_BORDER|ES_NUMBER
  54. CONTROL "", IDC_OPT_HIST_SIZE_UD, "msctls_updown32", UDS_SETBUDDYINT|UDS_ALIGNRIGHT|UDS_AUTOBUDDY|UDS_ARROWKEYS|UDS_NOTHOUSANDS, 0, 0, 0, 0
  55. AUTOCHECKBOX "&Remove duplicates", IDC_OPT_HIST_NODOUBLE, 84, 36, 100, 10, WS_TABSTOP|BS_MULTILINE
  56. GROUPBOX "Popup menu", -1, 5, 61, 70, 42, BS_GROUPBOX
  57. AUTOCHECKBOX "&Control", IDC_OPT_CONF_CTRL, 9, 74, 60, 10, WS_TABSTOP
  58. AUTOCHECKBOX "S&hift", IDC_OPT_CONF_SHIFT, 9, 86, 60, 10, WS_TABSTOP
  59. GROUPBOX "Console", -1, 80, 61, 120, 42, BS_GROUPBOX
  60. AUTOCHECKBOX "&Quick Edit mode", IDC_OPT_QUICK_EDIT, 84, 74, 100, 10, WS_TABSTOP
  61. AUTOCHECKBOX "&Insert mode", IDC_OPT_INSERT_MODE, 84, 86, 100, 10, WS_TABSTOP
  62. }
  63. IDD_FONT DIALOG 36, 24, 140, 109
  64. STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
  65. CAPTION "Font"
  66. FONT 8, "MS Shell Dlg"
  67. {
  68. LTEXT "&Font", -1, 5, 5, 50, 8
  69. LISTBOX IDC_FNT_LIST_FONT, 5, 18, 90, 42, LBS_SORT|WS_VSCROLL
  70. LTEXT "&Color", -1, 100, 5, 50, 8
  71. CONTROL "", IDC_FNT_COLOR_FG, "WineConColorPreview", 0L, 100, 18, 48, 16
  72. CONTROL "", IDC_FNT_COLOR_BK, "WineConColorPreview", 0L, 100, 40, 48, 16
  73. LTEXT "&Size", -1, 158, 5, 40, 8
  74. LISTBOX IDC_FNT_LIST_SIZE, 158, 18, 40, 60, WS_VSCROLL
  75. CONTROL "", IDC_FNT_PREVIEW, "WineConFontPreview", 0L, 5, 60, 109, 40
  76. LTEXT "", IDC_FNT_FONT_INFO, 128, 73, 80, 27
  77. }
  78. IDD_CONFIG DIALOG 36, 24, 140, 109
  79. STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
  80. CAPTION "Configuration"
  81. FONT 8, "MS Shell Dlg"
  82. {
  83. GROUPBOX "Buffer zone", -1, 10, 11, 100, 42, BS_GROUPBOX
  84. LTEXT "&Width:", -1, 14, 25, 54, 9
  85. EDITTEXT IDC_CNF_SB_WIDTH, 68, 23, 36, 12, WS_TABSTOP|WS_BORDER|ES_NUMBER
  86. CONTROL "", IDC_CNF_SB_WIDTH_UD, "msctls_updown32", UDS_SETBUDDYINT|UDS_ALIGNRIGHT|UDS_AUTOBUDDY|UDS_ARROWKEYS|UDS_NOTHOUSANDS, 0, 0, 0, 0
  87. LTEXT "&Height:", -1, 14, 39, 54, 9
  88. EDITTEXT IDC_CNF_SB_HEIGHT, 68, 37, 36, 12, WS_TABSTOP|WS_BORDER|ES_NUMBER
  89. CONTROL "", IDC_CNF_SB_HEIGHT_UD, "msctls_updown32", UDS_SETBUDDYINT|UDS_ALIGNRIGHT|UDS_AUTOBUDDY|UDS_ARROWKEYS|UDS_NOTHOUSANDS, 0, 0, 0, 0
  90. GROUPBOX "Window size", -1, 10, 55, 100, 42
  91. LTEXT "W&idth:", -1, 14, 69, 54, 9
  92. EDITTEXT IDC_CNF_WIN_WIDTH, 68, 67, 36, 12, WS_TABSTOP|WS_BORDER|ES_NUMBER
  93. CONTROL "", IDC_CNF_WIN_WIDTH_UD, "msctls_updown32", UDS_SETBUDDYINT|UDS_ALIGNRIGHT|UDS_AUTOBUDDY|UDS_ARROWKEYS|UDS_NOTHOUSANDS, 0, 0, 0, 0
  94. LTEXT "H&eight:", -1, 14, 83, 54, 9
  95. EDITTEXT IDC_CNF_WIN_HEIGHT, 68, 81, 36, 12, WS_TABSTOP|WS_BORDER|ES_NUMBER
  96. CONTROL "", IDC_CNF_WIN_HEIGHT_UD, "msctls_updown32", UDS_SETBUDDYINT|UDS_ALIGNRIGHT|UDS_AUTOBUDDY|UDS_ARROWKEYS|UDS_NOTHOUSANDS, 0, 0, 0, 0
  97. GROUPBOX "End of program", -1, 115, 11, 85, 42, BS_GROUPBOX
  98. AUTOCHECKBOX "&Close console", IDC_CNF_CLOSE_EXIT, 119, 25, 75, 20, WS_TABSTOP
  99. GROUPBOX "Edition", -1, 115, 55, 85, 42
  100. COMBOBOX IDC_CNF_EDITION_MODE, 119, 69, 75, 60, CBS_DROPDOWNLIST|WS_VSCROLL|WS_TABSTOP
  101. }
  102. IDD_SAVE_SETTINGS DIALOG 20, 20, 210, 60
  103. STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION
  104. CAPTION "Console parameters"
  105. FONT 8, "MS Shell Dlg"
  106. {
  107. AUTORADIOBUTTON "Retain these settings for later sessions", IDC_SAV_SAVE, 10, 8, 200, 10, WS_TABSTOP
  108. AUTORADIOBUTTON "Modify only current session", IDC_SAV_SESSION, 10, 22, 200, 10, WS_TABSTOP
  109. DEFPUSHBUTTON "OK", IDOK, 100, 43, 50, 14
  110. PUSHBUTTON "Cancel", IDCANCEL, 155, 43, 50, 14
  111. }
  112. LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL
  113. #define WINE_FILEDESCRIPTION_STR "Wine conhost"
  114. #define WINE_FILENAME_STR "conhost.exe"
  115. #define WINE_FILEVERSION 6,1,7601,22045
  116. #define WINE_FILEVERSION_STR "6.1.7601.22045"
  117. #define WINE_PRODUCTVERSION 6,1,7601,22045
  118. #define WINE_PRODUCTVERSION_STR "6.1.7601.22045"
  119. #include "wine/wine_common_ver.rc"