[Search for users]
[Overall Top Noters]
[List of all Conferences]
[Download this site]
Title: | DECWINDOWS 26-JAN-89 to 29-NOV-90 |
Notice: | See 1639.0 for VMS V5.3 kit; 2043.0 for 5.4 IFT kit |
Moderator: | STAR::VATNE |
|
Created: | Mon Oct 30 1989 |
Last Modified: | Mon Dec 31 1990 |
Last Successful Update: | Fri Jun 06 1997 |
Number of topics: | 3726 |
Total number of notes: | 19516 |
3251.0. "Resizing fonts with window ?" by TOWNS::RUFFIEUX () Thu Aug 23 1990 19:13
I have an application that must, like the DECwindows calculator,
resize the fonts inside a window as the window resizes. (i.e.
when you resize the calculator, its buttons and fonts within the
buttons also resize) This part of my application is all done
low-level, no toolkit. Does anybody know how this is done?
Thanks,
Chris
T.R | Title | User | Personal Name | Date | Lines |
---|
3251.1 | | YRDARM::finnegan | Neal, DECdecision - mail to: via::finnegan | Tue Aug 28 1990 13:58 | 7 |
| Since I wrote I guess I know how its done. Basically I get a list of fonts
freom the resource. The default is all of the Times Bold family. I order
the fonts by size since they don't come in that way. Whenever the calculator
changes size I compare the available key space to the font list and switch to
the right font.
Neal
|
3251.2 | Thank you | TOWNS::RUFFIEUX | | Tue Aug 28 1990 14:45 | 6 |
| Thanks,
That is what I needed...
Chris
|