# HG changeset patch # User Claus Gittinger # Date 1443690739 -7200 # Node ID babe431ab64c121cd9e21a6f8dbdcc736de658f0 # Parent b8fa4b3e8f95a53d0a28454fedab30733f415bb6 #DOCUMENTATION class: BitmapFont comment/format in: #examples diff -r b8fa4b3e8f95 -r babe431ab64c BitmapFont.st --- a/BitmapFont.st Thu Oct 01 09:03:51 2015 +0200 +++ b/BitmapFont.st Thu Oct 01 11:12:19 2015 +0200 @@ -25,6 +25,8 @@ " "{ Package: 'stx:libview' }" +"{ NameSpace: Smalltalk }" + FontDescription subclass:#BitmapFont instanceVariableNames:'characterBitmaps ascent descent maxWidth maxHeight' classVariableNames:'' @@ -146,6 +148,8 @@ [exEnd] another clock display: + defines a font with the 7-segment led bitmaps as glyphs for 0-9, + then simply displays the time as a string in that font. [exBegin] |glyphs f label| @@ -620,6 +624,6 @@ !BitmapFont class methodsFor:'documentation'! version - ^ '$Header: /cvs/stx/stx/libview/BitmapFont.st,v 1.11 2013-06-16 08:35:30 cg Exp $' + ^ '$Header$' ! !