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.

63 lines
1.3 KiB

  1. helper CheckBoxGadget
  2. {
  3. enum EFormat
  4. {
  5. cfTop = 0x00000000,
  6. cfLeft = 0x00000000,
  7. cfCenter = 0x00000001,
  8. cfRight = 0x00000002,
  9. cfVCenter = 0x00000004,
  10. cfBottom = 0x00000008,
  11. };
  12. enum EState
  13. {
  14. csUnchecked = 0,
  15. csChecked = 1,
  16. csUnknown = 2,
  17. csMax = 2,
  18. };
  19. enum EType
  20. {
  21. ctNormal = 0,
  22. ctTriState = 1,
  23. ctMax = 1,
  24. };
  25. };
  26. helper ImageGadget
  27. {
  28. enum EMode
  29. {
  30. imNormal = 0,
  31. imTiled = 1,
  32. imStretchFill = 2,
  33. imStretchMinAspect = 3,
  34. imStretchMaxAspect = 4,
  35. imMax = 4,
  36. };
  37. enum EOptions
  38. {
  39. ioTransparent = 0x00000001,
  40. ioPixelAlpha = 0x00000002,
  41. ioAutoTransparent = 0x00000004,
  42. ioValid = ioTransparent | ioPixelAlpha | ioAutoTransparent,
  43. };
  44. };
  45. helper VectorGadget
  46. {
  47. enum EMode
  48. {
  49. vmNormal = 0,
  50. vmTiled = 1,
  51. vmStretchFill = 2,
  52. vmStretchMinAspect = 3,
  53. vmStretchMaxAspect = 4,
  54. vmMax = 4,
  55. };
  56. };