Current File : //usr/lib64/tcl8.6/Tix8.4.3/pref/10Point.fsc |
#
# $Id: 10Point.fsc,v 1.2 2002/01/24 09:17:02 idiscovery Exp $
#
proc tixPref:InitFontSet:10Point {} {
global tixOption tcl_platform
switch -- $tcl_platform(platform) "windows" {
# This should be Tahoma for Win2000/XP
set font "MS Sans Sherif"
set fixedfont "Courier New"
} unix {
set font "helvetica"
set fixedfont "courier"
}
set tixOption(font) [list $font -10]
set tixOption(bold_font) [list $font -10 bold]
set tixOption(menu_font) [list $font -10]
set tixOption(italic_font) [list $font -10 bold italic]
set tixOption(fixed_font) [list $fixedfont -10]
set tixOption(border1) 1
}
proc tixPref:SetFontSet:10Point {} {
global tixOption
option add *Font $tixOption(font) $tixOption(prioLevel)
option add *font $tixOption(font) $tixOption(prioLevel)
option add *Menu.font $tixOption(menu_font) $tixOption(prioLevel)
option add *TixMenu.font $tixOption(menu_font) $tixOption(prioLevel)
option add *Menubutton.font $tixOption(menu_font) $tixOption(prioLevel)
option add *Label.font $tixOption(bold_font) $tixOption(prioLevel)
option add *Scale.font $tixOption(italic_font) $tixOption(prioLevel)
option add *TixBalloon*Label.font $tixOption(font) $tixOption(prioLevel)
option add *TixBitmapButton*label.font $tixOption(font) $tixOption(prioLevel)
option add *TixControl*label.font $tixOption(bold_font) $tixOption(prioLevel)
option add *TixLabelEntry*label.font $tixOption(bold_font) $tixOption(prioLevel)
option add *TixLabelFrame*label.font $tixOption(bold_font) $tixOption(prioLevel)
option add *TixMwmClient*title.font $tixOption(menu_font) $tixOption(prioLevel)
option add *TixNoteBook.nbframe.font $tixOption(menu_font) $tixOption(prioLevel)
option add *TixOptionMenu*menubutton.font $tixOption(font) $tixOption(prioLevel)
option add *TixComboBox*Entry.font $tixOption(font) $tixOption(prioLevel)
option add *TixFileSelectBox*Label.font $tixOption(bold_font) $tixOption(prioLevel)
}