CLIM mail archive
[Prev][Next][Index][Thread]
LCD-display, text-styles
-
To: clim@BBN.COM
-
Subject: LCD-display, text-styles
-
From: Ralf Nikolai <nicolai@gate.fzi.de>
-
Date: Wed, 4 Dec 91 14:38:53 GMT
-
Organization: Forschungszentrum Informatik FZI
My platform is CLIM 1.0 on a UX1200 board in a SPARCstation.
I want to write a kind of LCD-display to display to the user
and accept numbers from him. To do this I've the idea to draw a
(fixed sized) rectangle with the number representing digits in it.
Now I want the user to be able to edit the number in the box
without destroying the mask.
As I don't have detected any hint in the code-examples, the manual
and in this box to do something like this (I really have to write
the full editor functionallity by myself?) I would appreciate any advice.
Future thanks Ralf.
P.S.: Why doesn't draw-text* mystream
"Hello"
10
10
:text-style (parse-text-style '(:fix :roman :large))
work? (No matter which text-style I choose)
Error: The font FONTS:MEDFNTI could not be found for the device 1-bit STATIC-GRAY
X Screen CLYDE:0.0 with 0 Genera fonts (MIT X Consortium R4)
SI:GET-FONT
Arg 0 (SI:DEVICE): #<X-SCREEN::X-DISPLAY_DEVICE 2052330752>
Arg 1 (SI:CHARACTER-SET): #<SI:STANDARD-CHARACTER-SET NIL 20130011214>
Arg 2 (SI:STYLE): #<CHARACTER-STYLE DEVICE-FONT.MEDFNTI.NORMAL 22004266176>
--Defaulted args:--
Arg 3 (SI:ERROR-P): T
Arg 4 (SI:INQUIRY-ONLY): NIL
It work's on MacIvory!
This: (with-drawing-options (mystream :text-style (parse-text-style '(...
(stream-set-cursor-position mystream 10 10)
(write-string "Hello" mystream))
works!
0,,
Main Index |
Thread Index