prefab-style man page on Inferno

Man page or keyword search:  
man Server   579 pages
apropos Keyword Search (all sections)
Output format
Inferno logo
[printable version]

PREFAB-STYLE(2)						       PREFAB-STYLE(2)

NAME
       prefab: Style - fonts and colours for ITV toolkit

SYNOPSIS
       include "draw.m";
       include "prefab.m";
       prefab := load Prefab Prefab->PATH;

       Style: adt
       {
	   titlefont:	   ref Draw->Font;
	   textfont:	   ref Draw->Font;
	   elemcolor:	   ref Draw->Image;
	   edgecolor:	   ref Draw->Image;
	   titlecolor:	   ref Draw->Image;
	   textcolor:	   ref Draw->Image;
	   highlightcolor: ref Draw->Image;
       };

DESCRIPTION
       The Style type collects the font and colour information for an applica‐
       tion or a set of items within an application.  Except  when  using  the
       layout  routines	 (see  prefab-compound(2)  and prefab-element(2)), the
       members of a Style are the only way to control the appearance of Prefab
       items.	Note that although the `...color' members of Style in practice
       often refer to a literal colour (a single replicated pixel of  colour),
       they can be any image.

       Styles  are allocated by regular Limbo definitions; there is no alloca‐
       tion function.  All the members of a Style must be  defined.   Although
       it  will not cause errors to modify the members of a Style after it has
       been created and passed to a Prefab routine, the results may be	unpre‐
       dictable.

       edgecolor This  Image  specifies	 how to draw the edges, or borders, of
		 compounds.

       elemcolor This Image specifies how to draw the base, or background,  of
		 elements and compounds.

       highlightcolor
		 This  Image  specifies	 the  colour  to  use  to  highlight a
		 selected element.

       textcolor This Image specifies the colour in which to  draw  an	item's
		 regular text.

       textfont	 This Font specifies the font in which to draw an item's regu‐
		 lar text.

       titlecolor
		 This Image specifies the colour in which to  draw  an	item's
		 title text.

       titlefont This Font specifies the font in which to draw an item's title
		 text.

SOURCE
       /libinterp/prefab.c
       /libprefab/*.c

SEE ALSO
       prefab-intro(2), prefab-environ(2)

							       PREFAB-STYLE(2)
[top]

List of man pages available for Inferno

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net