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.
ORPA-pyOpenRPA/WPy32-3720/python-3.7.2/tcl/tix8.4.3/pref/14Point.fsc

51 lines
2.1 KiB

6 years ago
#
# $Id: 14Point.fsc,v 1.2 2001/12/09 05:03:09 idiscovery Exp $
#
proc tixPref:InitFontSet:14Point {} {
global tixOption tcl_platform
switch -- $tcl_platform(platform) "windows" {
if {$tcl_platform(osVersion) < 5} {
set font "MS Sans Serif"
} else {
set font "Tahoma"
}
set fixedfont "Courier New"
set bd 1
} unix {
set font "helvetica"
set fixedfont "courier"
set bd 2
}
set tixOption(font) [list $font -14]
set tixOption(bold_font) [list $font -14 bold]
set tixOption(menu_font) [list $font -14]
set tixOption(italic_font) [list $font -14 bold italic]
set tixOption(fixed_font) [list $fixedfont -14]
set tixOption(border1) $bd
}
proc tixPref:SetFontSet:14Point {} {
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)
}