[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Palette setting?



On Thu, 4 Jun 1998, Julian Reschke-FJR010 wrote:

> > Exactly, that's why it should be possible to first open the physical
> > workstation (if not already open, but Julian is probably right when he
> > says it isn't), and then use the handle to the physical workstation to
> > open virtual workstations. I.e. there's no need to use graf_handle() to
> > get the handle to the physical workstation.
> 
> Where's the point in opening a virtual workstation if you already have
> the physical workstation?

Because each virtual workstation can have different attributes for text
and graphics. So if you have two text-windows, one with 10pt Courier and
one with 48pt VAG Rounded, it makes sense to have separate workstations
and only set font/size/attributes once instead of setting them each time
you need to redraw something.


/*
** Jo Even Skarstein   http://www.stud.ntnu.no/~josk/
**
**   beer - maria mckee - atari falcon - babylon 5
*/