14Point.fsc 2.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. #
  2. # $Id: 14Point.fsc,v 1.2 2001/12/09 05:03:09 idiscovery Exp $
  3. #
  4. proc tixPref:InitFontSet:14Point {} {
  5. global tixOption tcl_platform
  6. switch -- $tcl_platform(platform) "windows" {
  7. if {$tcl_platform(osVersion) < 5} {
  8. set font "MS Sans Serif"
  9. } else {
  10. set font "Tahoma"
  11. }
  12. set fixedfont "Courier New"
  13. set bd 1
  14. } unix {
  15. set font "helvetica"
  16. set fixedfont "courier"
  17. set bd 2
  18. }
  19. set tixOption(font) [list $font -14]
  20. set tixOption(bold_font) [list $font -14 bold]
  21. set tixOption(menu_font) [list $font -14]
  22. set tixOption(italic_font) [list $font -14 bold italic]
  23. set tixOption(fixed_font) [list $fixedfont -14]
  24. set tixOption(border1) $bd
  25. }
  26. proc tixPref:SetFontSet:14Point {} {
  27. global tixOption
  28. option add *Font $tixOption(font) $tixOption(prioLevel)
  29. option add *font $tixOption(font) $tixOption(prioLevel)
  30. option add *Menu.font $tixOption(menu_font) $tixOption(prioLevel)
  31. option add *TixMenu.font $tixOption(menu_font) $tixOption(prioLevel)
  32. option add *Menubutton.font $tixOption(menu_font) $tixOption(prioLevel)
  33. option add *Label.font $tixOption(bold_font) $tixOption(prioLevel)
  34. option add *Scale.font $tixOption(italic_font) $tixOption(prioLevel)
  35. option add *TixBalloon*Label.font $tixOption(font) $tixOption(prioLevel)
  36. option add *TixBitmapButton*label.font $tixOption(font) $tixOption(prioLevel)
  37. option add *TixControl*label.font $tixOption(bold_font) $tixOption(prioLevel)
  38. option add *TixLabelEntry*label.font $tixOption(bold_font) $tixOption(prioLevel)
  39. option add *TixLabelFrame*label.font $tixOption(bold_font) $tixOption(prioLevel)
  40. option add *TixMwmClient*title.font $tixOption(menu_font) $tixOption(prioLevel)
  41. option add *TixNoteBook.nbframe.font $tixOption(menu_font) $tixOption(prioLevel)
  42. option add *TixOptionMenu*menubutton.font $tixOption(font) $tixOption(prioLevel)
  43. option add *TixComboBox*Entry.font $tixOption(font) $tixOption(prioLevel)
  44. option add *TixFileSelectBox*Label.font $tixOption(bold_font) $tixOption(prioLevel)
  45. }