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.

39 lines
1.0 KiB

  1. ;-----------------------------------------------------
  2. ; groupbox.ntl - native theme language description
  3. ; for drawing the regular groupbox background part
  4. ;-----------------------------------------------------
  5. [OptionBits]
  6. Flat = 0
  7. Mono = 1
  8. Soft = 2
  9. [Drawing.Normal]
  10. DrawRect = 0, 0, Half(CharHeight()), 0, null
  11. ;------------- flat -----------------
  12. if = Flat(on)
  13. if = Mono(on)
  14. DrawRect = cxBorder, cyBorder, WindowFrame
  15. DrawRect = cxBorder, cyBorder, Window
  16. else = Mono(off)
  17. DrawRect = cxBorder, cyBorder, ButtonShadow
  18. DrawRect = cxBorder, cyBorder, ButtonFace
  19. endif = Mono
  20. ;------------- non-flat (3d) -----------------
  21. else = Flat(off)
  22. if = Soft(on)
  23. DrawRect = cxBorder, cyBorder, ButtonDarkShadow, ButtonHiLight
  24. DrawRect = cxBorder, cyBorder, ButtonLight, ButtonShadow
  25. else = Soft(off)
  26. DrawRect = cxBorder, cyBorder, ButtonShadow, ButtonHiLight
  27. DrawRect = cxBorder, cyBorder, ButtonHiLight, ButtonShadow
  28. endif = Soft
  29. endif = Flat
  30. FillRect = CtrlColorStatic()