Leaked source code of windows server 2003
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.

164 lines
6.3 KiB

  1. /******************************Module*Header*******************************\
  2. * Module Name: wndstuff.rc
  3. *
  4. * Created: 09-Dec-1992 10:50:23
  5. * Author: Kirk Olynyk [kirko]
  6. *
  7. * Copyright (c) 1991-2000 Microsoft Corporation
  8. *
  9. \**************************************************************************/
  10. #include "windows.h"
  11. #include "wndstuff.h"
  12. POLYTESTICON ICON polytest.ico
  13. MainMenu MENU
  14. BEGIN
  15. POPUP "&Shape"
  16. BEGIN
  17. MENUITEM "&Polygon", MM_POLYGON, CHECKED
  18. MENUITEM "&Lines", MM_LINES
  19. MENUITEM "&Bezier", MM_BEZIER
  20. MENUITEM "&Rectangle", MM_RECTANGLE
  21. MENUITEM "&Ellipse", MM_ELLIPSE
  22. MENUITEM "&Text path", MM_TEXTPATH
  23. MENUITEM SEPARATOR
  24. MENUITEM "&Fill", MM_FILL
  25. MENUITEM "&Draw", MM_DRAW, CHECKED
  26. MENUITEM "&Widenpath", MM_WIDENPATH
  27. END
  28. POPUP "&Options"
  29. BEGIN
  30. MENUITEM "&Antialias", MM_ANTIALIAS
  31. MENUITEM "&Winding fill", MM_WINDING
  32. MENUITEM "&Spine", MM_SPINE
  33. MENUITEM "&Clip Grid", MM_CLIPGRID
  34. MENUITEM "&Random Test", MM_RANDOMTEST
  35. MENUITEM "A&nchors", MM_ANCHORS, CHECKED
  36. MENUITEM "&Gamma-correct blend",MM_GAMMACORRECT
  37. MENUITEM SEPARATOR
  38. MENUITEM "&GDI", MM_GDI
  39. END
  40. POPUP "T&ransform"
  41. BEGIN
  42. MENUITEM "&Overlay", MM_TRANSFORMOVERLAY
  43. MENUITEM "Scaling Only (Not implemented)", MM_SCALINGONLY
  44. MENUITEM "Edit...", MM_EDITTRANSFORM
  45. MENUITEM SEPARATOR
  46. MENUITEM "Reset", MM_RESETTRANSFORM
  47. END
  48. POPUP "&Pen"
  49. BEGIN
  50. MENUITEM "&Width...", MM_WIDTH
  51. MENUITEM "&Alpha...", MM_ALPHA
  52. POPUP "&Style"
  53. BEGIN
  54. MENUITEM "&Solid", MM_STYLE_SOLID, CHECKED
  55. MENUITEM "Dash", MM_STYLE_DASH
  56. MENUITEM "&Dot", MM_STYLE_DOT
  57. MENUITEM "Dash Dot", MM_STYLE_DASHDOT
  58. MENUITEM "Dash Dot Dot", MM_STYLE_DASHDOTDOT
  59. END
  60. POPUP "&Cap"
  61. BEGIN
  62. MENUITEM "&Round", MM_CAP_ROUND
  63. MENUITEM "&Flat", MM_CAP_FLAT, CHECKED
  64. MENUITEM "&Square", MM_CAP_SQUARE
  65. MENUITEM "&Triangle", MM_CAP_TRIANGLE
  66. END
  67. POPUP "&Join Style"
  68. BEGIN
  69. MENUITEM "&Round", MM_JOIN_ROUND
  70. MENUITEM "&Bevel", MM_JOIN_BEVEL
  71. MENUITEM "Miter", MM_JOIN_MITER, CHECKED
  72. END
  73. POPUP "A&lignment"
  74. BEGIN
  75. MENUITEM "&Center", MM_ALIGNMENT_CENTER, CHECKED
  76. MENUITEM "&Inset", MM_ALIGNMENT_INSET
  77. END
  78. MENUITEM "&Miter limit...", MM_MITERLIMIT
  79. MENUITEM "&Compound", MM_COMPOUND
  80. END
  81. POPUP "&Brush"
  82. BEGIN
  83. POPUP "&Type"
  84. BEGIN
  85. MENUITEM "Solid color", MM_BRUSH_SOLID, CHECKED
  86. MENUITEM "Texture", MM_BRUSH_TEXTURE
  87. MENUITEM "Texture 32x32", MM_BRUSH_TEXTURE_32x32
  88. MENUITEM "Texture 1x1", MM_BRUSH_TEXTURE_1x1
  89. MENUITEM "Linear Gradient", MM_BRUSH_LINEAR
  90. MENUITEM "Path Gradient", MM_BRUSH_PATHGRADIENT
  91. END
  92. POPUP "&Wrap mode"
  93. BEGIN
  94. MENUITEM "Tile", MM_WRAP_TILE, CHECKED
  95. MENUITEM "Clamp", MM_WRAP_CLAMP
  96. MENUITEM "FlipX", MM_WRAP_FLIPX
  97. MENUITEM "FlipY", MM_WRAP_FLIPY
  98. MENUITEM "FlipXY", MM_WRAP_FLIPXY
  99. END
  100. MENUITEM "Track Linear Gradient", MM_DYNAMICBRUSHRECTANGLE
  101. MENUITEM "Edit Brush Shape", MM_EDITBRUSHSHAPE
  102. END
  103. MENUITEM "Po&ints!", MM_POINTS
  104. MENUITEM "&Time!", MM_TIME
  105. END
  106. SAMPLE_BITMAP BITMAP winnt256.bmp
  107. Width DIALOG 30, 30, 80, 43
  108. STYLE DS_MODALFRAME | WS_CAPTION | WS_VISIBLE
  109. CAPTION "Enter Width"
  110. {
  111. EDITTEXT IDD_WIDTH, 25, 6, 30, 12
  112. DEFPUSHBUTTON "&Ok" IDD_OK, 10, 23, 60, 14
  113. }
  114. Alpha DIALOG 30, 30, 80, 43
  115. STYLE DS_MODALFRAME | WS_CAPTION | WS_VISIBLE
  116. CAPTION "Enter Alpha (0 - 255)"
  117. {
  118. EDITTEXT IDD_ALPHA, 25, 6, 30, 12
  119. DEFPUSHBUTTON "&Ok" IDD_OK, 10, 23, 60, 14
  120. }
  121. Points DIALOG 0, 0, 110, 140
  122. STYLE DS_MODALFRAME | WS_CAPTION | WS_VISIBLE
  123. CAPTION "Enter Points"
  124. {
  125. LTEXT "Point &1" -1, 6, 8, 40, 8
  126. EDITTEXT IDD_POINT1X, 36, 6, 30, 12
  127. EDITTEXT IDD_POINT1Y, 70, 6, 30, 12
  128. LTEXT "Point &2" -1, 6, 24, 40, 8
  129. EDITTEXT IDD_POINT2X, 36, 22, 30, 12
  130. EDITTEXT IDD_POINT2Y, 70, 22, 30, 12
  131. LTEXT "Point &3" -1, 6, 40, 40, 8
  132. EDITTEXT IDD_POINT3X, 36, 38, 30, 12
  133. EDITTEXT IDD_POINT3Y, 70, 38, 30, 12
  134. LTEXT "Point &4" -1, 6, 56, 40, 8
  135. EDITTEXT IDD_POINT4X, 36, 54, 30, 12
  136. EDITTEXT IDD_POINT4Y, 70, 54, 30, 12
  137. DEFPUSHBUTTON "&Ok" IDD_OK, 22, 120, 60, 14
  138. }
  139. Transform DIALOG 0, 0, 90, 72
  140. STYLE DS_MODALFRAME | WS_CAPTION | WS_VISIBLE
  141. CAPTION "Enter Transform"
  142. {
  143. EDITTEXT IDD_M11, 6, 6, 36, 12
  144. EDITTEXT IDD_M12, 48, 6, 36, 12
  145. EDITTEXT IDD_M21, 6, 22, 36, 12
  146. EDITTEXT IDD_M22, 48, 22, 36, 12
  147. EDITTEXT IDD_M31, 6, 38, 30, 12
  148. EDITTEXT IDD_M32, 48, 38, 30, 12
  149. DEFPUSHBUTTON "&Ok" IDD_OK 6, 54, 36, 12
  150. }
  151. ACCELS ACCELERATORS
  152. BEGIN
  153. VK_SPACE, MM_REDRAW, VIRTKEY
  154. END