Team Fortress 2 Source Code as on 22/4/2020
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

314 lines
12 KiB

  1. // Microsoft Visual C++ generated resource script.
  2. //
  3. #include "resource.h"
  4. #define APSTUDIO_READONLY_SYMBOLS
  5. /////////////////////////////////////////////////////////////////////////////
  6. //
  7. // Generated from the TEXTINCLUDE 2 resource.
  8. //
  9. #include "afxres.h"
  10. /////////////////////////////////////////////////////////////////////////////
  11. #undef APSTUDIO_READONLY_SYMBOLS
  12. /////////////////////////////////////////////////////////////////////////////
  13. // English (U.S.) resources
  14. #if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)
  15. #ifdef _WIN32
  16. LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
  17. #pragma code_page(1252)
  18. #endif //_WIN32
  19. #ifdef APSTUDIO_INVOKED
  20. /////////////////////////////////////////////////////////////////////////////
  21. //
  22. // TEXTINCLUDE
  23. //
  24. 1 TEXTINCLUDE
  25. BEGIN
  26. "resource.h\0"
  27. END
  28. 2 TEXTINCLUDE
  29. BEGIN
  30. "#include ""afxres.h""\r\n"
  31. "\0"
  32. END
  33. 3 TEXTINCLUDE
  34. BEGIN
  35. "#define _AFX_NO_SPLITTER_RESOURCES\r\n"
  36. "#define _AFX_NO_OLE_RESOURCES\r\n"
  37. "#define _AFX_NO_TRACKER_RESOURCES\r\n"
  38. "#define _AFX_NO_PROPERTY_RESOURCES\r\n"
  39. "\r\n"
  40. "#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)\r\n"
  41. "#ifdef _WIN32\r\n"
  42. "LANGUAGE 9, 1\r\n"
  43. "#pragma code_page(1252)\r\n"
  44. "#endif //_WIN32\r\n"
  45. "#include ""afxres.rc"" // Standard components\r\n"
  46. "#endif\r\n"
  47. "\0"
  48. END
  49. #endif // APSTUDIO_INVOKED
  50. /////////////////////////////////////////////////////////////////////////////
  51. //
  52. // Icon
  53. //
  54. // Icon with lowest ID value placed first to ensure application icon
  55. // remains consistent on all systems.
  56. IDR_MAINFRAME ICON "FontMaker.ico"
  57. /////////////////////////////////////////////////////////////////////////////
  58. //
  59. // Dialog
  60. //
  61. IDD_DIALOGBAR DIALOGEX 0, 0, 142, 418
  62. STYLE DS_SETFONT | DS_FIXEDSYS | WS_CHILD
  63. FONT 8, "MS Shell Dlg", 0, 0, 0x1
  64. BEGIN
  65. GROUPBOX "Font",IDC_FONT_GROUPBOX,5,5,130,142,WS_DISABLED
  66. LTEXT "Name",IDC_FONTNAME_LABEL,10,15,24,15,SS_CENTERIMAGE |
  67. WS_DISABLED
  68. LTEXT "",IDC_FONTNAME_STATIC,35,15,90,12,SS_CENTERIMAGE |
  69. WS_DISABLED,WS_EX_CLIENTEDGE
  70. LTEXT "Style",IDC_FONTSTYLE_LABEL,10,30,20,15,SS_CENTERIMAGE |
  71. WS_DISABLED
  72. LTEXT "",IDC_FONTSTYLE_STATIC,35,30,90,12,SS_CENTERIMAGE |
  73. WS_DISABLED,WS_EX_CLIENTEDGE
  74. LTEXT "Size",IDC_FONTSIZE_LABEL,10,45,20,15,SS_CENTERIMAGE |
  75. WS_DISABLED
  76. LTEXT "",IDC_FONTSIZE_STATIC,35,45,30,12,SS_CENTERIMAGE |
  77. WS_DISABLED,WS_EX_CLIENTEDGE
  78. CONTROL "Outlined",IDC_EFFECTSOUTLINED_CHECK,"Button",
  79. BS_AUTOCHECKBOX | WS_DISABLED | WS_TABSTOP,10,65,42,10
  80. CONTROL "Shadowed",IDC_EFFECTSSHADOWED_CHECK,"Button",
  81. BS_AUTOCHECKBOX | WS_DISABLED | WS_TABSTOP,10,80,50,10
  82. PUSHBUTTON "Magnify...",IDC_MAGNIFY_BUTTON,75,70,50,14,WS_DISABLED
  83. GROUPBOX "Texture properties",IDC_TEXTURE_GROUPBOX,5,149,130,40,
  84. WS_DISABLED
  85. LTEXT "Insert Glyph:",IDC_INSERTGLYPH_LABEL,10,375,63,10,
  86. SS_CENTERIMAGE | WS_DISABLED
  87. CTEXT "",IDC_TEXTUREWIDTH_STATIC,9,170,30,12,SS_CENTERIMAGE |
  88. WS_DISABLED,WS_EX_CLIENTEDGE
  89. CTEXT "Height",IDC_TEXTUREHEIGHT_LABEL,45,159,30,10,
  90. SS_CENTERIMAGE | WS_DISABLED
  91. CTEXT "",IDC_TEXTUREHEIGHT_STATIC,45,170,30,12,SS_CENTERIMAGE |
  92. WS_DISABLED,WS_EX_CLIENTEDGE
  93. PUSHBUTTON "Size...",IDC_TEXTURESIZE_BUTTON,80,165,50,14,
  94. WS_DISABLED
  95. GROUPBOX "Glyphs",IDC_GLYPHS_GROUPBOX,5,189,130,95,WS_DISABLED
  96. CONTROL "From range:",IDC_GLYPHSFROMRANGE_RADIO,"Button",
  97. BS_AUTORADIOBUTTON | WS_DISABLED | WS_GROUP,10,199,53,10
  98. RTEXT "From:",IDC_GLYPHSRANGEFROM_LABEL,25,215,20,15,
  99. SS_CENTERIMAGE | WS_DISABLED
  100. EDITTEXT IDC_GLYPHSRANGEFROM_EDIT,50,215,25,12,ES_CENTER |
  101. ES_AUTOHSCROLL | WS_DISABLED
  102. RTEXT "To:",IDC_GLYPHSRANGETO_LABEL,85,215,15,15,
  103. SS_CENTERIMAGE | WS_DISABLED
  104. EDITTEXT IDC_GLYPHSRANGETO_EDIT,105,215,25,12,ES_CENTER |
  105. ES_AUTOHSCROLL | WS_DISABLED
  106. CONTROL "From file:",IDC_GLYPHSFROMFILE_RADIO,"Button",
  107. BS_AUTORADIOBUTTON | WS_DISABLED,10,233,44,10
  108. EDITTEXT IDC_GLYPHSFILE_EDIT,23,245,90,12,ES_AUTOHSCROLL |
  109. WS_DISABLED
  110. PUSHBUTTON "...",IDC_GLYPHSFILESELECTOR_BUTTON,117,245,15,12,
  111. WS_DISABLED
  112. GROUPBOX "Selected Glyph",IDC_SELECTEDGLYPH_GROUPBOX,5,289,130,
  113. 121,WS_DISABLED
  114. CTEXT "Value",IDC_GLYPH_VALUE_LABEL,10,300,35,10,
  115. SS_CENTERIMAGE | WS_DISABLED
  116. CTEXT "",IDC_GLYPH_VALUE_STATIC,10,310,35,12,SS_CENTERIMAGE |
  117. WS_DISABLED,WS_EX_CLIENTEDGE
  118. CTEXT "A",IDC_GLYPH_A_LABEL,60,300,20,10,SS_CENTERIMAGE |
  119. WS_DISABLED
  120. CTEXT "x",IDC_GLYPH_X_LABEL,9,324,20,10,SS_CENTERIMAGE |
  121. WS_DISABLED
  122. CTEXT "y",IDC_GLYPH_Y_LABEL,35,324,20,10,SS_CENTERIMAGE |
  123. WS_DISABLED
  124. CTEXT "w",IDC_GLYPH_W_LABEL,65,324,20,10,SS_CENTERIMAGE |
  125. WS_DISABLED
  126. CTEXT "h",IDC_GLYPH_H_LABEL,89,324,20,10,SS_CENTERIMAGE |
  127. WS_DISABLED
  128. CTEXT "B",IDC_GLYPH_B_LABEL,85,300,20,10,SS_CENTERIMAGE |
  129. WS_DISABLED
  130. CTEXT "C",IDC_GLYPH_C_LABEL,110,300,20,10,SS_CENTERIMAGE |
  131. WS_DISABLED
  132. CONTROL "Reserved for custom bitmap",IDC_GLYPH_SPECIAL,"Button",
  133. BS_AUTOCHECKBOX | WS_DISABLED | WS_TABSTOP,10,356,104,10
  134. CTEXT "",IDC_GLYPH_X_STATIC,10,334,20,12,SS_CENTERIMAGE |
  135. WS_DISABLED,WS_EX_CLIENTEDGE
  136. CTEXT "",IDC_GLYPH_Y_STATIC,35,334,20,12,SS_CENTERIMAGE |
  137. WS_DISABLED,WS_EX_CLIENTEDGE
  138. CTEXT "",IDC_GLYPH_W_STATIC,65,334,20,12,SS_CENTERIMAGE |
  139. WS_DISABLED,WS_EX_CLIENTEDGE
  140. CTEXT "",IDC_GLYPH_H_STATIC,90,334,20,12,SS_CENTERIMAGE |
  141. WS_DISABLED,WS_EX_CLIENTEDGE
  142. CTEXT "",IDC_GLYPH_A_STATIC,60,310,20,12,SS_CENTERIMAGE |
  143. WS_DISABLED,WS_EX_CLIENTEDGE
  144. CTEXT "",IDC_GLYPH_B_STATIC,85,310,20,12,SS_CENTERIMAGE |
  145. WS_DISABLED,WS_EX_CLIENTEDGE
  146. CTEXT "",IDC_GLYPH_C_STATIC,110,310,20,12,SS_CENTERIMAGE |
  147. WS_DISABLED,WS_EX_CLIENTEDGE
  148. CONTROL "Blurred",IDC_EFFECTSBLURRED_CHECK,"Button",
  149. BS_AUTOCHECKBOX | WS_DISABLED | WS_TABSTOP,10,97,50,10
  150. CONTROL "ScanLines",IDC_EFFECTSSCANLINES_CHECK,"Button",
  151. BS_AUTOCHECKBOX | WS_DISABLED | WS_TABSTOP,10,114,50,10
  152. EDITTEXT IDC_BLUR_EDIT,65,95,25,12,ES_CENTER | ES_AUTOHSCROLL |
  153. WS_DISABLED
  154. EDITTEXT IDC_SCANLINES_EDIT,65,114,25,12,ES_CENTER |
  155. ES_AUTOHSCROLL | WS_DISABLED
  156. CONTROL "Antialias",IDC_EFFECTSANTIALIAS_CHECK,"Button",
  157. BS_AUTOCHECKBOX | WS_DISABLED | WS_TABSTOP,10,130,50,10
  158. CONTROL "Custom",IDC_GLYPHSCUSTOM_RADIO,"Button",
  159. BS_AUTORADIOBUTTON | WS_DISABLED | WS_GROUP,10,265,53,10
  160. EDITTEXT IDC_INSERTGLYPH_EDIT,10,387,35,12,ES_CENTER |
  161. ES_AUTOHSCROLL | WS_DISABLED
  162. CTEXT "Width",IDC_TEXTUREWIDTH_LABEL,9,159,30,10,
  163. SS_CENTERIMAGE | WS_DISABLED
  164. END
  165. IDD_TEXTURESIZE DIALOG 0, 0, 167, 49
  166. STYLE DS_SETFONT | DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
  167. CAPTION "Texture Size"
  168. FONT 8, "MS Shell Dlg"
  169. BEGIN
  170. LTEXT "Width",IDC_STATIC,5,5,19,15,SS_CENTERIMAGE
  171. EDITTEXT IDC_WIDTH,35,5,40,15,ES_AUTOHSCROLL
  172. LTEXT "Height",IDC_STATIC,5,25,25,15,SS_CENTERIMAGE
  173. EDITTEXT IDC_HEIGHT,35,25,40,15,ES_AUTOHSCROLL
  174. DEFPUSHBUTTON "OK",IDOK,115,5,50,14
  175. PUSHBUTTON "Cancel",IDCANCEL,115,25,50,14
  176. END
  177. IDD_ABOUT DIALOGEX 0, 0, 262, 123
  178. STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION |
  179. WS_SYSMENU
  180. CAPTION "About FontMaker"
  181. FONT 8, "MS Shell Dlg", 0, 0, 0x0
  182. BEGIN
  183. ICON IDR_MAINFRAME,IDC_STATIC,5,20,21,20
  184. LTEXT "Xbox Font Maker tool - Modified for Valve Software",
  185. IDC_STATIC,36,10,222,8
  186. LTEXT "Version 2.0.0000.1 - Valve",IDC_STATIC,36,25,222,8
  187. LTEXT "Copyright(c) 2000-2003 Microsoft Corporation. All rights reserved.",
  188. IDC_STATIC,36,40,222,8
  189. LTEXT "Warning: This computer program is protected by copyright law and",
  190. IDC_STATIC,36,55,222,8
  191. LTEXT "international treaties. Unauthorized reproduction or distribution of",
  192. IDC_STATIC,36,65,222,8
  193. LTEXT "this program, or any portion of it, may result in severe civil and",
  194. IDC_STATIC,36,75,222,8
  195. LTEXT "criminal penalties, and will be prosecuted to the maximum extent",
  196. IDC_STATIC,36,85,222,8
  197. LTEXT "possible under the law.",IDC_STATIC,36,95,222,8
  198. DEFPUSHBUTTON "OK",IDOK,204,102,50,14
  199. END
  200. /////////////////////////////////////////////////////////////////////////////
  201. //
  202. // DESIGNINFO
  203. //
  204. #ifdef APSTUDIO_INVOKED
  205. GUIDELINES DESIGNINFO
  206. BEGIN
  207. IDD_DIALOGBAR, DIALOG
  208. BEGIN
  209. LEFTMARGIN, 7
  210. RIGHTMARGIN, 135
  211. TOPMARGIN, 7
  212. BOTTOMMARGIN, 411
  213. END
  214. IDD_TEXTURESIZE, DIALOG
  215. BEGIN
  216. LEFTMARGIN, 7
  217. RIGHTMARGIN, 160
  218. TOPMARGIN, 7
  219. BOTTOMMARGIN, 42
  220. END
  221. IDD_ABOUT, DIALOG
  222. BEGIN
  223. LEFTMARGIN, 7
  224. RIGHTMARGIN, 255
  225. TOPMARGIN, 7
  226. BOTTOMMARGIN, 68
  227. END
  228. END
  229. #endif // APSTUDIO_INVOKED
  230. /////////////////////////////////////////////////////////////////////////////
  231. //
  232. // Menu
  233. //
  234. IDR_MAINFRAME MENU
  235. BEGIN
  236. POPUP "&File"
  237. BEGIN
  238. MENUITEM "Load TTF Font...", IDM_FILE_NEWFONT
  239. MENUITEM "Load Custom Font...", IDM_FILE_LOADFONTLAYOUT
  240. MENUITEM "Load Compiled Font File...", IDM_FILE_LOADFONTFILE
  241. MENUITEM SEPARATOR
  242. MENUITEM "&Save Compiled Font...", IDM_FILE_SAVEFONTFILES
  243. MENUITEM SEPARATOR
  244. MENUITEM "E&xit", IDM_FILE_EXIT
  245. END
  246. POPUP "&Help"
  247. BEGIN
  248. MENUITEM "FontMaker &Help\tF1", ID_HELP
  249. MENUITEM SEPARATOR
  250. MENUITEM "&About FontMaker...", ID_APP_ABOUT
  251. END
  252. END
  253. /////////////////////////////////////////////////////////////////////////////
  254. //
  255. // String Table
  256. //
  257. STRINGTABLE
  258. BEGIN
  259. IDR_MAINFRAME "FontMaker\n\nFontMa\n\n\nFontMaker.Document\nFontMa Document"
  260. END
  261. #endif // English (U.S.) resources
  262. /////////////////////////////////////////////////////////////////////////////
  263. #ifndef APSTUDIO_INVOKED
  264. /////////////////////////////////////////////////////////////////////////////
  265. //
  266. // Generated from the TEXTINCLUDE 3 resource.
  267. //
  268. #define _AFX_NO_SPLITTER_RESOURCES
  269. #define _AFX_NO_OLE_RESOURCES
  270. #define _AFX_NO_TRACKER_RESOURCES
  271. #define _AFX_NO_PROPERTY_RESOURCES
  272. #if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)
  273. #ifdef _WIN32
  274. LANGUAGE 9, 1
  275. #pragma code_page(1252)
  276. #endif //_WIN32
  277. #include "afxres.rc" // Standard components
  278. #endif
  279. /////////////////////////////////////////////////////////////////////////////
  280. #endif // not APSTUDIO_INVOKED