TkWin.cs 2.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  1. #
  2. # $Id: TkWin.cs,v 1.1 2000/10/12 01:41:04 idiscovery Exp $
  3. #
  4. proc tixSetScheme-Color {} {
  5. global tixOption
  6. set tixOption(bg) SystemButtonFace
  7. set tixOption(fg) SystemButtonText
  8. set tixOption(dark1_bg) SystemScrollbar
  9. set tixOption(dark1_fg) SystemButtonText
  10. # set tixOption(dark2_bg) SystemDisabledText
  11. # set tixOption(dark2_fg) black
  12. set tixOption(inactive_bg) SystemButtonFace
  13. set tixOption(inactive_fg) SystemButtonText
  14. set tixOption(light1_bg) SystemButtonFace
  15. # set tixOption(light1_fg) white
  16. # set tixOption(light2_bg) #fcfcfc
  17. # set tixOption(light2_fg) white
  18. set tixOption(active_bg) $tixOption(dark1_bg)
  19. set tixOption(active_fg) $tixOption(fg)
  20. set tixOption(disabled_fg) SystemDisabledText
  21. set tixOption(input1_bg) SystemWindow
  22. # set tixOption(input2_bg)
  23. # set tixOption(output1_bg) $tixOption(dark1_bg)
  24. # set tixOption(output2_bg) $tixOption(bg)
  25. set tixOption(select_fg) SystemHighlightText
  26. set tixOption(select_bg) SystemHighlight
  27. set tixOption(selector) SystemHighlight
  28. }
  29. proc tixSetScheme-Mono {} {
  30. global tixOption
  31. set tixOption(bg) SystemButtonFace
  32. set tixOption(fg) SystemButtonText
  33. set tixOption(dark1_bg) SystemScrollbar
  34. set tixOption(dark1_fg) SystemButtonText
  35. # set tixOption(dark2_bg) SystemDisabledText
  36. # set tixOption(dark2_fg) black
  37. set tixOption(inactive_bg) SystemButtonFace
  38. set tixOption(inactive_fg) SystemButtonText
  39. set tixOption(light1_bg) SystemButtonFace
  40. # set tixOption(light1_fg) white
  41. # set tixOption(light2_bg) #fcfcfc
  42. # set tixOption(light2_fg) white
  43. set tixOption(active_bg) $tixOption(dark1_bg)
  44. set tixOption(active_fg) $tixOption(fg)
  45. set tixOption(disabled_fg) SystemDisabledText
  46. set tixOption(input1_bg) white
  47. # set tixOption(input2_bg)
  48. # set tixOption(output1_bg) $tixOption(dark1_bg)
  49. # set tixOption(output2_bg) $tixOption(bg)
  50. set tixOption(select_fg) SystemHighlightText
  51. set tixOption(select_bg) SystemHighlight
  52. set tixOption(selector) SystemHighlight
  53. }