<P>
<H2><A NAME="SECTION00510000000000000000"></A>
-<A NAME="sec:engines"></A><A NAME="1665"></A><A NAME="1666"></A>
+<A NAME="sec:engines"></A><A NAME="1710"></A><A NAME="1711"></A>
<BR>
<SPAN CLASS="arabic">4</SPAN>.<SPAN CLASS="arabic">1</SPAN> Drawing engines, style specifications and sub-styles
</H2>
foo-*-baz
foo-bar
*
-foo-baz -- Doesn't match, not selected!
</PRE>
<P>
<PRE>
attr1-attr2-...-attrn
</PRE>
-These extra attributes are called <SPAN CLASS="textit">substyles</SPAN><A NAME="1677"></A>
+These extra attributes are called <SPAN CLASS="textit">substyles</SPAN><A NAME="1722"></A>
and allow, for example, the state of the object to be indicated
by different colour sets while keeping the interface at an
abstract level and the drawing engine completely ignorant
</TR>
<TR><TD ALIGN="LEFT"><TT>frame</TT></TD>
<TD ALIGN="LEFT">Style for frames.
- Substyles: <TT>active</TT>, <TT>inactive</TT>.</TD>
+ Substyle attributes: <TT>active</TT>/<TT>inactive</TT>
+ (mutually exclusive) and
+ <TT>quasiactive</TT>/<TT>not_quasiactive</TT>.
+ A frame is ``quasiactive'' when an active region
+ has a backlink to it, such as a detached window.</TD>
</TR>
<TR><TD ALIGN="LEFT"><TT>frame-tiled</TT></TD>
<TD ALIGN="LEFT">A more specific style for tiled frames.
- Substyles as for <TT>frame</TT>.</TD>
+ Substyle attributes as for <TT>frame</TT>.</TD>
</TR>
<TR><TD ALIGN="LEFT"><TT>frame-tiled-alt</TT></TD>
<TD ALIGN="LEFT">An alternative style for tiled frames.
</TR>
<TR><TD ALIGN="LEFT"><TT>tab</TT></TD>
<TD ALIGN="LEFT">Style for frames' tabs and menu entries.
- Substyles: combinations of the form <TT>a-s</TT> where
- <TT>a</TT> is one of <TT>active</TT>/<TT>inactive</TT> and
- <TT>s</TT> is one of <TT>selected</TT>/<TT>unselected</TT></TD>
+ Substyle attributes:
+ <TT>active</TT>/<TT>inactive</TT> and
+ <TT>selected</TT>/<TT>unselected</TT></TD>
</TR>
<TR><TD ALIGN="LEFT"><TT>tab-frame</TT></TD>
<TD ALIGN="LEFT">A more specific style for frames' tabs.
- Substyles: combinations of the form <TT>a-s-t-d-u</TT> where
- <TT>a</TT> and <TT>s</TT> are as above and
- <TT>t</TT> is one of <TT>tagged</TT>/<TT>not_tagged</TT>,
- <TT>d</TT> is one of <TT>dragged</TT>/<TT>not_dragged</TT> and
- <TT>u</TT> is one of <TT>activity</TT>/<TT>no_activity</TT>.</TD>
+ Additional substyle attributes include:
+ <TT>tagged</TT>/<TT>not_tagged</TT>,
+ <TT>dragged</TT>/<TT>not_dragged</TT>,
+ <TT>activity</TT>/<TT>no_activity</TT> and
+ <TT>quasiactive</TT>/<TT>not_quasiactive</TT>.</TD>
</TR>
<TR><TD ALIGN="LEFT"><TT>tab-frame-tiled</TT>,</TD>
<TD ALIGN="LEFT"> </TD>
different modes.</TD>
</TR>
<TR><TD ALIGN="LEFT"><TT>tab-menuentry</TT></TD>
-<TD ALIGN="LEFT">A more specific style for entries in WMenus.</TD>
+<TD ALIGN="LEFT">A more specific style for entries in WMenus.
+ Additional substyle attributes include <TT>submenu</TT> and
+ occasionally also <TT>activity</TT> is used.</TD>
</TR>
<TR><TD ALIGN="LEFT"><TT>tab-menuentry-bigmenu</TT></TD>
<TD ALIGN="LEFT">An alternate style for entries in WMenus.</TD>
</TR>
<TR><TD ALIGN="LEFT"><TT>input-edln</TT></TD>
<TD ALIGN="LEFT">A more specific style for WEdlns.
- Substyles: <TT>selection</TT> for selected text and
+ Substyle attributes: <TT>selection</TT> for selected text and
<TT>cursor</TT> for the cursor indicating current editing point.</TD>
</TR>
<TR><TD ALIGN="LEFT"><TT>input-message</TT></TD>
</H3>
<P>
-The first thing to do in a stylefile is to choose the drawing
+The first thing to do in a style file is to choose the drawing
engine, possibly loading the module as well. This is done
with the following chunk of code.
<P>
-<DIV ALIGN="CENTER"><A NAME="fig:borders"></A><A NAME="1777"></A>
+<DIV ALIGN="CENTER"><A NAME="fig:borders"></A><A NAME="1819"></A>
<TABLE>
<CAPTION ALIGN="BOTTOM"><STRONG>Figure 4.1:</STRONG>
Sketch of different border styles and elements</CAPTION>