Sophie

Sophie

distrib > Mandriva > 9.1 > ppc > by-pkgid > cb74fdf78f09e81ec184d39a69179362 > files > 200

directfb-doc-0.9.17-1mdk.ppc.rpm

<HTML>
<STYLE>
  <!--
    A{textdecoration:none}
  -->
</STYLE>
<HEAD>
  <TITLE>DirectFB Reference Manual</TITLE>
</HEAD>
<BODY bgcolor=#FFFFFF link=#0070FF vlink=#0070FF text=#404040>

<TABLE width=100% bgcolor=black border=0 cellspacing=1 cellpadding=3>
  <TR><TD width=30%>
    <A href="http://www.directfb.org"><IMG border=0 src="directfb.png"></A>
  </TD><TD align=right>
    &nbsp;&nbsp;    <A href="index.html"><FONT size=+3 color=white>DirectFB Reference Manual</FONT></A>
  </TD></TR>
  <TR><TD colspan=2 align=center bgcolor=#303030>
    <BIG><FONT color=orange>DirectFB Types</FONT></BIG>
  </TD></TR>
</TABLE>

<br><br><a name=DFBInputDeviceKeyType><font color=#D07070 size=+2>DFBInputDeviceKeyType</font>
<p>
   DirectFB key types (for advanced mapping)
</p>
<p style="margin-left:6mm;" >  <font color=#40A040 size=+1>DIKT_UNICODE</font><br>  <font color=#404040>Unicode 3.x character (compatible to Latin-1) </font></p>
<p style="margin-left:6mm;" >  <font color=#40A040 size=+1>DIKT_SPECIAL</font><br>  <font color=#404040>Special key (e.g. EPG) </font></p>
<p style="margin-left:6mm;" >  <font color=#40A040 size=+1>DIKT_FUNCTION</font><br>  <font color=#404040>Function key (F1 - Fn) </font></p>
<p style="margin-left:6mm;" >  <font color=#40A040 size=+1>DIKT_MODIFIER</font><br>  <font color=#404040>Modifier key </font></p>
<p style="margin-left:6mm;" >  <font color=#40A040 size=+1>DIKT_LOCK</font><br>  <font color=#404040>Lock key (e.g. CapsLock) </font></p>
<p style="margin-left:6mm;" >  <font color=#40A040 size=+1>DIKT_DEAD</font><br>  <font color=#404040>Dead key (e.g. dead grave) </font></p>
<p style="margin-left:6mm;" >  <font color=#40A040 size=+1>DIKT_CUSTOM</font><br>  <font color=#404040>Custom key (vendor specific) </font></p>
<p style="margin-left:6mm;" >  <font color=#40A040 size=+1>DIKT_IDENTIFIER</font><br>  <font color=#404040>DirectFB key identifier </font></p>
<br><br><a name=DFBInputDeviceModifierKeyIdentifier><font color=#D07070 size=+2>DFBInputDeviceModifierKeyIdentifier</font>
<p>
   DirectFB modifier key identifiers (for advanced mapping)
</p>
<p style="margin-left:6mm;" >  <font color=#40A040 size=+1>DIMKI_SHIFT</font><br>  <font color=#404040>Shift modifier key </font></p>
<p style="margin-left:6mm;" >  <font color=#40A040 size=+1>DIMKI_CONTROL</font><br>  <font color=#404040>Control modifier key </font></p>
<p style="margin-left:6mm;" >  <font color=#40A040 size=+1>DIMKI_ALT</font><br>  <font color=#404040>Alt modifier key </font></p>
<p style="margin-left:6mm;" >  <font color=#40A040 size=+1>DIMKI_ALTGR</font><br>  <font color=#404040>AltGr modifier key </font></p>
<p style="margin-left:6mm;" >  <font color=#40A040 size=+1>DIMKI_META</font><br>  <font color=#404040>Meta modifier key </font></p>
<p style="margin-left:6mm;" >  <font color=#40A040 size=+1>DIMKI_SUPER</font><br>  <font color=#404040>Super modifier key </font></p>
<p style="margin-left:6mm;" >  <font color=#40A040 size=+1>DIMKI_HYPER</font><br>  <font color=#404040>Hyper modifier key </font></p>
<br><br><a name=DFBInputDeviceKeyIdentifier><font color=#D07070 size=+2>DFBInputDeviceKeyIdentifier</font>
<p>
   DirectFB key identifiers (for basic mapping)
</p>
<p style="margin-left:6mm;" >  <font color=#40A040 size=+1>DIKI_QUOTE_LEFT</font><br>  <font color=#404040>TLDE  </font></p>
<p style="margin-left:6mm;" >  <font color=#40A040 size=+1>DIKI_MINUS_SIGN</font><br>  <font color=#404040>AE11  </font></p>
<p style="margin-left:6mm;" >  <font color=#40A040 size=+1>DIKI_EQUALS_SIGN</font><br>  <font color=#404040>AE12  </font></p>
<p style="margin-left:6mm;" >  <font color=#40A040 size=+1>DIKI_BRACKET_LEFT</font><br>  <font color=#404040>AD11  </font></p>
<p style="margin-left:6mm;" >  <font color=#40A040 size=+1>DIKI_BRACKET_RIGHT</font><br>  <font color=#404040>AD12  </font></p>
<p style="margin-left:6mm;" >  <font color=#40A040 size=+1>DIKI_BACKSLASH</font><br>  <font color=#404040>BKSL  </font></p>
<p style="margin-left:6mm;" >  <font color=#40A040 size=+1>DIKI_SEMICOLON</font><br>  <font color=#404040>AC10  </font></p>
<p style="margin-left:6mm;" >  <font color=#40A040 size=+1>DIKI_QUOTE_RIGHT</font><br>  <font color=#404040>AC11  </font></p>
<p style="margin-left:6mm;" >  <font color=#40A040 size=+1>DIKI_COMMA</font><br>  <font color=#404040>AB08  </font></p>
<p style="margin-left:6mm;" >  <font color=#40A040 size=+1>DIKI_PERIOD</font><br>  <font color=#404040>AB09  </font></p>
<p style="margin-left:6mm;" >  <font color=#40A040 size=+1>DIKI_SLASH</font><br>  <font color=#404040>AB10  </font></p>
<p style="margin-left:6mm;" >  <font color=#40A040 size=+1>DIKI_LESS_SIGN</font><br>  <font color=#404040>103rd  </font></p>
<br><br><a name=DFBInputDeviceLockState><font color=#D07070 size=+2>DFBInputDeviceLockState</font>
<p>
   Flags specifying the key locks that are currently active.
</p>
<p style="margin-left:6mm;" >  <font color=#40A040 size=+1>DILS_SCROLL</font><br>  <font color=#404040>scroll-lock active? </font></p>
<p style="margin-left:6mm;" >  <font color=#40A040 size=+1>DILS_NUM</font><br>  <font color=#404040>num-lock active? </font></p>
<p style="margin-left:6mm;" >  <font color=#40A040 size=+1>DILS_CAPS</font><br>  <font color=#404040>caps-lock active? </font></p>
<br><br><a name=DFBInputDeviceKeymapSymbolIndex><font color=#D07070 size=+2>DFBInputDeviceKeymapSymbolIndex</font>
<p>
   Groups and levels as an index to the symbol array.
</p>
<p style="margin-left:6mm;" >  <font color=#40A040 size=+1>DIKSI_BASE</font><br>  <font color=#404040>base group, base level (no modifier pressed) </font></p>
<p style="margin-left:6mm;" >  <font color=#40A040 size=+1>DIKSI_BASE_SHIFT</font><br>  <font color=#404040>base group, shifted level (with Shift pressed) </font></p>
<p style="margin-left:6mm;" >  <font color=#40A040 size=+1>DIKSI_ALT</font><br>  <font color=#404040>alternative group, base level (with AltGr pressed) </font></p>
<p style="margin-left:6mm;" >  <font color=#40A040 size=+1>DIKSI_ALT_SHIFT</font><br>  <font color=#404040>alternative group, shifted level (with AltGr and Shift pressed) </font></p>
<br><br><a name=DFBInputDeviceKeymapEntry><font color=#70D070 size=+2>DFBInputDeviceKeymapEntry</font>
<P>
  <TABLE border=0 cellspacing=0 cellpadding=4 bgcolor=#E0E0E0>
    <TR><TD width=50>&nbsp;</TD><TD valign=top>
      int
    </TD><TD valign=top>
      <FONT color=black><B>code;</B></FONT>
    </TD><TD valign=top>
      <font color=#404040>hardware key code </font>
    </TD></TR>
    <TR><TD width=50>&nbsp;</TD><TD valign=top>
      <A href="types.html#DFBInputDeviceLockState">DFBInputDeviceLockState</A>
    </TD><TD valign=top>
      <FONT color=black><B>locks;</B></FONT>
    </TD><TD valign=top>
      <font color=#404040>locks activating shifted level </font>
    </TD></TR>
    <TR><TD width=50>&nbsp;</TD><TD valign=top>
      <A href="types.html#DFBInputDeviceKeyIdentifier">DFBInputDeviceKeyIdentifier</A>
    </TD><TD valign=top>
      <FONT color=black><B>identifier;</B></FONT>
    </TD><TD valign=top>
      <font color=#404040>basic mapping </font>
    </TD></TR>
    <TR><TD width=50>&nbsp;</TD><TD valign=top>
      <A href="types.html#DFBInputDeviceKeySymbol">DFBInputDeviceKeySymbol</A>
    </TD><TD valign=top>
      <FONT color=black><B>symbols[DIKSI_LAST+1];</B></FONT>
    </TD><TD valign=top>
      <font color=#404040>advanced key mapping </font>
    </TD></TR>
  </TABLE>
</P>
<p>
   One entry in the keymap of an input device.
</p>
<br><br><a name=DFBResult><font color=#D07070 size=+2>DFBResult</font>
<p>
   Every interface method returns this result code.<br>
   Any other value to be returned adds an argument pointing
   to a location the value should be written to.
</p>
<p style="margin-left:6mm;" >  <font color=#40A040 size=+1>DFB_OK</font><br>  <font color=#404040>No error occured. </font></p>
<p style="margin-left:6mm;" >  <font color=#40A040 size=+1>DFB_FAILURE</font><br>  <font color=#404040>A general or unknown error occured. </font></p>
<p style="margin-left:6mm;" >  <font color=#40A040 size=+1>DFB_INIT</font><br>  <font color=#404040>A general initialization error occured. </font></p>
<p style="margin-left:6mm;" >  <font color=#40A040 size=+1>DFB_BUG</font><br>  <font color=#404040>Internal bug or inconsistency has been detected. </font></p>
<p style="margin-left:6mm;" >  <font color=#40A040 size=+1>DFB_DEAD</font><br>  <font color=#404040>Interface has a zero reference counter (after Release, only available in debug mode). </font></p>
<p style="margin-left:6mm;" >  <font color=#40A040 size=+1>DFB_UNSUPPORTED</font><br>  <font color=#404040>The requested operation or an argument is not supported by hardware or software. </font></p>
<p style="margin-left:6mm;" >  <font color=#40A040 size=+1>DFB_UNIMPLEMENTED</font><br>  <font color=#404040>The requested operation is not yet implemented. </font></p>
<p style="margin-left:6mm;" >  <font color=#40A040 size=+1>DFB_ACCESSDENIED</font><br>  <font color=#404040>Access to the resource is denied. </font></p>
<p style="margin-left:6mm;" >  <font color=#40A040 size=+1>DFB_INVARG</font><br>  <font color=#404040>An invalid argument has been specified. </font></p>
<p style="margin-left:6mm;" >  <font color=#40A040 size=+1>DFB_NOSYSTEMMEMORY</font><br>  <font color=#404040>There's not enough system memory. </font></p>
<p style="margin-left:6mm;" >  <font color=#40A040 size=+1>DFB_NOVIDEOMEMORY</font><br>  <font color=#404040>There's not enough video memory. </font></p>
<p style="margin-left:6mm;" >  <font color=#40A040 size=+1>DFB_LOCKED</font><br>  <font color=#404040>The resource is (already) locked. </font></p>
<p style="margin-left:6mm;" >  <font color=#40A040 size=+1>DFB_BUFFEREMPTY</font><br>  <font color=#404040>The buffer is empty. </font></p>
<p style="margin-left:6mm;" >  <font color=#40A040 size=+1>DFB_FILENOTFOUND</font><br>  <font color=#404040>The specified file has not been found. </font></p>
<p style="margin-left:6mm;" >  <font color=#40A040 size=+1>DFB_IO</font><br>  <font color=#404040>A general I/O error occured. </font></p>
<p style="margin-left:6mm;" >  <font color=#40A040 size=+1>DFB_BUSY</font><br>  <font color=#404040>The resource or device is busy. </font></p>
<p style="margin-left:6mm;" >  <font color=#40A040 size=+1>DFB_NOIMPL</font><br>  <font color=#404040>No implementation for the requested interface or specified data has been found. </font></p>
<p style="margin-left:6mm;" >  <font color=#40A040 size=+1>DFB_MISSINGFONT</font><br>  <font color=#404040>No font has been set. </font></p>
<p style="margin-left:6mm;" >  <font color=#40A040 size=+1>DFB_TIMEOUT</font><br>  <font color=#404040>The operation timed out. </font></p>
<p style="margin-left:6mm;" >  <font color=#40A040 size=+1>DFB_MISSINGIMAGE</font><br>  <font color=#404040>No image has been set. </font></p>
<p style="margin-left:6mm;" >  <font color=#40A040 size=+1>DFB_THIZNULL</font><br>  <font color=#404040>'thiz' pointer is NULL. </font></p>
<p style="margin-left:6mm;" >  <font color=#40A040 size=+1>DFB_IDNOTFOUND</font><br>  <font color=#404040>No resource has been found by the specified id. </font></p>
<p style="margin-left:6mm;" >  <font color=#40A040 size=+1>DFB_INVAREA</font><br>  <font color=#404040>An invalid area has been specified or detected. </font></p>
<p style="margin-left:6mm;" >  <font color=#40A040 size=+1>DFB_DESTROYED</font><br>  <font color=#404040>The underlying object (e.g. a window or surface) has been destroyed. </font></p>
<p style="margin-left:6mm;" >  <font color=#40A040 size=+1>DFB_FUSION</font><br>  <font color=#404040>Internal fusion error detected, most likely related to IPC resources. </font></p>
<br><br><a name=DFBPoint><font color=#70D070 size=+2>DFBPoint</font>
<P>
  <TABLE border=0 cellspacing=0 cellpadding=4 bgcolor=#E0E0E0>
    <TR><TD width=50>&nbsp;</TD><TD valign=top>
      int
    </TD><TD valign=top>
      <FONT color=black><B>x;</B></FONT>
    </TD><TD valign=top>
      <font color=#404040>X coordinate of it </font>
    </TD></TR>
    <TR><TD width=50>&nbsp;</TD><TD valign=top>
      int
    </TD><TD valign=top>
      <FONT color=black><B>y;</B></FONT>
    </TD><TD valign=top>
      <font color=#404040>Y coordinate of it </font>
    </TD></TR>
  </TABLE>
</P>
<p>
   A point specified by x/y coordinates.
</p>
<br><br><a name=DFBDimension><font color=#70D070 size=+2>DFBDimension</font>
<P>
  <TABLE border=0 cellspacing=0 cellpadding=4 bgcolor=#E0E0E0>
    <TR><TD width=50>&nbsp;</TD><TD valign=top>
      int
    </TD><TD valign=top>
      <FONT color=black><B>w;</B></FONT>
    </TD><TD valign=top>
      <font color=#404040>width of it </font>
    </TD></TR>
    <TR><TD width=50>&nbsp;</TD><TD valign=top>
      int
    </TD><TD valign=top>
      <FONT color=black><B>h;</B></FONT>
    </TD><TD valign=top>
      <font color=#404040>height of it </font>
    </TD></TR>
  </TABLE>
</P>
<p>
   A dimension specified by width and height.
</p>
<br><br><a name=DFBRectangle><font color=#70D070 size=+2>DFBRectangle</font>
<P>
  <TABLE border=0 cellspacing=0 cellpadding=4 bgcolor=#E0E0E0>
    <TR><TD width=50>&nbsp;</TD><TD valign=top>
      int
    </TD><TD valign=top>
      <FONT color=black><B>x;</B></FONT>
    </TD><TD valign=top>
      <font color=#404040>X coordinate of its top-left point </font>
    </TD></TR>
    <TR><TD width=50>&nbsp;</TD><TD valign=top>
      int
    </TD><TD valign=top>
      <FONT color=black><B>y;</B></FONT>
    </TD><TD valign=top>
      <font color=#404040>Y coordinate of its top-left point </font>
    </TD></TR>
    <TR><TD width=50>&nbsp;</TD><TD valign=top>
      int
    </TD><TD valign=top>
      <FONT color=black><B>w;</B></FONT>
    </TD><TD valign=top>
      <font color=#404040>width of it </font>
    </TD></TR>
    <TR><TD width=50>&nbsp;</TD><TD valign=top>
      int
    </TD><TD valign=top>
      <FONT color=black><B>h;</B></FONT>
    </TD><TD valign=top>
      <font color=#404040>height of it </font>
    </TD></TR>
  </TABLE>
</P>
<p>
   A rectangle specified by a point and a dimension.
</p>
<br><br><a name=DFBRegion><font color=#70D070 size=+2>DFBRegion</font>
<P>
  <TABLE border=0 cellspacing=0 cellpadding=4 bgcolor=#E0E0E0>
    <TR><TD width=50>&nbsp;</TD><TD valign=top>
      int
    </TD><TD valign=top>
      <FONT color=black><B>x1;</B></FONT>
    </TD><TD valign=top>
      <font color=#404040>X coordinate of top-left point </font>
    </TD></TR>
    <TR><TD width=50>&nbsp;</TD><TD valign=top>
      int
    </TD><TD valign=top>
      <FONT color=black><B>y1;</B></FONT>
    </TD><TD valign=top>
      <font color=#404040>Y coordinate of top-left point </font>
    </TD></TR>
    <TR><TD width=50>&nbsp;</TD><TD valign=top>
      int
    </TD><TD valign=top>
      <FONT color=black><B>x2;</B></FONT>
    </TD><TD valign=top>
      <font color=#404040>X coordinate of lower-right point </font>
    </TD></TR>
    <TR><TD width=50>&nbsp;</TD><TD valign=top>
      int
    </TD><TD valign=top>
      <FONT color=black><B>y2;</B></FONT>
    </TD><TD valign=top>
      <font color=#404040>Y coordinate of lower-right point </font>
    </TD></TR>
  </TABLE>
</P>
<p>
   A region specified by two points.
</p><p>
   The defined region includes both endpoints.
</p>
<br><br><a name=DFBTriangle><font color=#70D070 size=+2>DFBTriangle</font>
<P>
  <TABLE border=0 cellspacing=0 cellpadding=4 bgcolor=#E0E0E0>
    <TR><TD width=50>&nbsp;</TD><TD valign=top>
      int
    </TD><TD valign=top>
      <FONT color=black><B>x1;</B></FONT>
    </TD><TD valign=top>
      <font color=#404040>X coordinate of first edge </font>
    </TD></TR>
    <TR><TD width=50>&nbsp;</TD><TD valign=top>
      int
    </TD><TD valign=top>
      <FONT color=black><B>y1;</B></FONT>
    </TD><TD valign=top>
      <font color=#404040>Y coordinate of first edge </font>
    </TD></TR>
    <TR><TD width=50>&nbsp;</TD><TD valign=top>
      int
    </TD><TD valign=top>
      <FONT color=black><B>x2;</B></FONT>
    </TD><TD valign=top>
      <font color=#404040>X coordinate of second edge </font>
    </TD></TR>
    <TR><TD width=50>&nbsp;</TD><TD valign=top>
      int
    </TD><TD valign=top>
      <FONT color=black><B>y2;</B></FONT>
    </TD><TD valign=top>
      <font color=#404040>Y coordinate of second edge </font>
    </TD></TR>
    <TR><TD width=50>&nbsp;</TD><TD valign=top>
      int
    </TD><TD valign=top>
      <FONT color=black><B>x3;</B></FONT>
    </TD><TD valign=top>
      <font color=#404040>X coordinate of third edge </font>
    </TD></TR>
    <TR><TD width=50>&nbsp;</TD><TD valign=top>
      int
    </TD><TD valign=top>
      <FONT color=black><B>y3;</B></FONT>
    </TD><TD valign=top>
      <font color=#404040>Y coordinate of third edge </font>
    </TD></TR>
  </TABLE>
</P>
<p>
   A triangle specified by three points.
</p>
<br><br><a name=DFBColor><font color=#70D070 size=+2>DFBColor</font>
<P>
  <TABLE border=0 cellspacing=0 cellpadding=4 bgcolor=#E0E0E0>
    <TR><TD width=50>&nbsp;</TD><TD valign=top>
      __u8
    </TD><TD valign=top>
      <FONT color=black><B>a;</B></FONT>
    </TD><TD valign=top>
      <font color=#404040>alpha channel </font>
    </TD></TR>
    <TR><TD width=50>&nbsp;</TD><TD valign=top>
      __u8
    </TD><TD valign=top>
      <FONT color=black><B>r;</B></FONT>
    </TD><TD valign=top>
      <font color=#404040>red channel </font>
    </TD></TR>
    <TR><TD width=50>&nbsp;</TD><TD valign=top>
      __u8
    </TD><TD valign=top>
      <FONT color=black><B>g;</B></FONT>
    </TD><TD valign=top>
      <font color=#404040>green channel </font>
    </TD></TR>
    <TR><TD width=50>&nbsp;</TD><TD valign=top>
      __u8
    </TD><TD valign=top>
      <FONT color=black><B>b;</B></FONT>
    </TD><TD valign=top>
      <font color=#404040>blue channel </font>
    </TD></TR>
  </TABLE>
</P>
<p>
   A color defined by channels with 8bit each.
</p>
<br><br><a name=DFBCooperativeLevel><font color=#D07070 size=+2>DFBCooperativeLevel</font>
<p>
   The cooperative level controls the super interface's behaviour
   in functions like SetVideoMode or CreateSurface for the primary.
</p>
<p style="margin-left:6mm;" >  <font color=#40A040 size=+1>DFSCL_NORMAL</font><br>  <font color=#404040>Normal shared access, primary surface will be the buffer of an implicitly created window at the resolution given by SetVideoMode().  </font></p>
<p style="margin-left:6mm;" >  <font color=#40A040 size=+1>DFSCL_FULLSCREEN</font><br>  <font color=#404040>Application grabs the primary layer, SetVideoMode automates layer control. Primary surface is the primary layer surface. </font></p>
<p style="margin-left:6mm;" >  <font color=#40A040 size=+1>DFSCL_EXCLUSIVE</font><br>  <font color=#404040>All but the primary layer will be disabled, the application has full control over layers if desired, other applications have no input/output/control. Primary surface is the primary layer surface. </font></p>
<br><br><a name=DFBDisplayLayerCapabilities><font color=#D07070 size=+2>DFBDisplayLayerCapabilities</font>
<p>
   Capabilities of a display layer.
</p>
<p style="margin-left:6mm;" >  <font color=#40A040 size=+1>DLCAPS_SURFACE</font><br>  <font color=#404040>The layer has a surface that can be drawn to. This may not be provided by layers that display realtime data, e.g. from an MPEG decoder chip. Playback control may be provided by an external API. </font></p>
<p style="margin-left:6mm;" >  <font color=#40A040 size=+1>DLCAPS_OPACITY</font><br>  <font color=#404040>The layer supports blending with layer(s) below based on a global alpha factor. </font></p>
<p style="margin-left:6mm;" >  <font color=#40A040 size=+1>DLCAPS_ALPHACHANNEL</font><br>  <font color=#404040>The layer supports blending with layer(s) below based on each pixel's alpha value. </font></p>
<p style="margin-left:6mm;" >  <font color=#40A040 size=+1>DLCAPS_SCREEN_LOCATION</font><br>  <font color=#404040>The layer location on the screen can be changed, this includes position and size as normalized values. The default is 0.0f, 0.0f, 1.0f, 1.0f. </font></p>
<p style="margin-left:6mm;" >  <font color=#40A040 size=+1>DLCAPS_FLICKER_FILTERING</font><br>  <font color=#404040>Flicker filtering can be enabled for smooth output on interlaced display devices. </font></p>
<p style="margin-left:6mm;" >  <font color=#40A040 size=+1>DLCAPS_DEINTERLACING</font><br>  <font color=#404040>The layer provides optional deinterlacing for displaying interlaced video data on progressive display devices. </font></p>
<p style="margin-left:6mm;" >  <font color=#40A040 size=+1>DLCAPS_SRC_COLORKEY</font><br>  <font color=#404040>A specific color can be declared as transparent. </font></p>
<p style="margin-left:6mm;" >  <font color=#40A040 size=+1>DLCAPS_DST_COLORKEY</font><br>  <font color=#404040>A specific color of layers below can be specified as the color of the only locations where the layer is visible. </font></p>
<p style="margin-left:6mm;" >  <font color=#40A040 size=+1>DLCAPS_BRIGHTNESS</font><br>  <font color=#404040>Adjustment of brightness is supported. </font></p>
<p style="margin-left:6mm;" >  <font color=#40A040 size=+1>DLCAPS_CONTRAST</font><br>  <font color=#404040>Adjustment of contrast is supported. </font></p>
<p style="margin-left:6mm;" >  <font color=#40A040 size=+1>DLCAPS_HUE</font><br>  <font color=#404040>Adjustment of hue is supported. </font></p>
<p style="margin-left:6mm;" >  <font color=#40A040 size=+1>DLCAPS_SATURATION</font><br>  <font color=#404040>Adjustment of saturation is supported. </font></p>
<p style="margin-left:6mm;" >  <font color=#40A040 size=+1>DLCAPS_LEVELS</font><br>  <font color=#404040>Adjustment of the layer's level (z position) is supported. </font></p>
<p style="margin-left:6mm;" >  <font color=#40A040 size=+1>DLCAPS_FIELD_PARITY</font><br>  <font color=#404040>Field parity can be selected </font></p>
<br><br><a name=DFBDisplayLayerOptions><font color=#D07070 size=+2>DFBDisplayLayerOptions</font>
<p>
   Used to enable some capabilities like flicker filtering or colorkeying.
</p>
<p style="margin-left:6mm;" >  <font color=#40A040 size=+1>DLOP_NONE</font><br>  <font color=#404040>None of these. </font></p>
<p style="margin-left:6mm;" >  <font color=#40A040 size=+1>DLOP_ALPHACHANNEL</font><br>  <font color=#404040>Make usage of alpha channel for blending on a pixel per pixel basis. </font></p>
<p style="margin-left:6mm;" >  <font color=#40A040 size=+1>DLOP_FLICKER_FILTERING</font><br>  <font color=#404040>Enable flicker filtering. </font></p>
<p style="margin-left:6mm;" >  <font color=#40A040 size=+1>DLOP_DEINTERLACING</font><br>  <font color=#404040>Enable deinterlacing of an interlaced (video) source. </font></p>
<p style="margin-left:6mm;" >  <font color=#40A040 size=+1>DLOP_SRC_COLORKEY</font><br>  <font color=#404040>Enable source color key. </font></p>
<p style="margin-left:6mm;" >  <font color=#40A040 size=+1>DLOP_DST_COLORKEY</font><br>  <font color=#404040>Enable dest. color key. </font></p>
<p style="margin-left:6mm;" >  <font color=#40A040 size=+1>DLOP_OPACITY</font><br>  <font color=#404040>Make usage of the global alpha factor set by SetOpacity. </font></p>
<p style="margin-left:6mm;" >  <font color=#40A040 size=+1>DLOP_FIELD_PARITY</font><br>  <font color=#404040>Set field parity </font></p>
<br><br><a name=DFBDisplayLayerBufferMode><font color=#D07070 size=+2>DFBDisplayLayerBufferMode</font>
<p>
   Layer Buffer Mode.
</p>
<p style="margin-left:6mm;" >  <font color=#40A040 size=+1>DLBM_FRONTONLY</font><br>  <font color=#404040>no backbuffer </font></p>
<p style="margin-left:6mm;" >  <font color=#40A040 size=+1>DLBM_BACKVIDEO</font><br>  <font color=#404040>backbuffer in video memory </font></p>
<p style="margin-left:6mm;" >  <font color=#40A040 size=+1>DLBM_BACKSYSTEM</font><br>  <font color=#404040>backbuffer in system memory </font></p>
<br><br><a name=DFBSurfaceDescriptionFlags><font color=#D07070 size=+2>DFBSurfaceDescriptionFlags</font>
<p>
   Flags defining which fields of a DFBSurfaceDescription are valid.
</p>
<p style="margin-left:6mm;" >  <font color=#40A040 size=+1>DSDESC_CAPS</font><br>  <font color=#404040>caps field is valid </font></p>
<p style="margin-left:6mm;" >  <font color=#40A040 size=+1>DSDESC_WIDTH</font><br>  <font color=#404040>width field is valid </font></p>
<p style="margin-left:6mm;" >  <font color=#40A040 size=+1>DSDESC_HEIGHT</font><br>  <font color=#404040>height field is valid </font></p>
<p style="margin-left:6mm;" >  <font color=#40A040 size=+1>DSDESC_PIXELFORMAT</font><br>  <font color=#404040>pixelformat field is valid </font></p>
<p style="margin-left:6mm;" >  <font color=#40A040 size=+1>DSDESC_PREALLOCATED</font><br>  <font color=#404040>Surface uses data that has been preallocated by the application. The field array 'preallocated' has to be set using the first element for the front buffer and eventually the second one for the back buffer. </font></p>
<p style="margin-left:6mm;" >  <font color=#40A040 size=+1>DSDESC_PALETTE</font><br>  <font color=#404040>Initialize the surfaces palette with the entries specified in the description. </font></p>
<br><br><a name=DFBPaletteDescriptionFlags><font color=#D07070 size=+2>DFBPaletteDescriptionFlags</font>
<p>
   Flags defining which fields of a DFBPaletteDescription are valid.
</p>
<p style="margin-left:6mm;" >  <font color=#40A040 size=+1>DPDESC_CAPS</font><br>  <font color=#404040>Specify palette capabilities. </font></p>
<p style="margin-left:6mm;" >  <font color=#40A040 size=+1>DPDESC_SIZE</font><br>  <font color=#404040>Specify number of entries. </font></p>
<p style="margin-left:6mm;" >  <font color=#40A040 size=+1>DPDESC_ENTRIES</font><br>  <font color=#404040>Initialize the palette with the entries specified in the description. </font></p>
<br><br><a name=DFBSurfaceCapabilities><font color=#D07070 size=+2>DFBSurfaceCapabilities</font>
<p>
   The surface capabilities.
</p>
<p style="margin-left:6mm;" >  <font color=#40A040 size=+1>DSCAPS_NONE</font><br>  <font color=#404040>None of these. </font></p>
<p style="margin-left:6mm;" >  <font color=#40A040 size=+1>DSCAPS_PRIMARY</font><br>  <font color=#404040>It's the primary surface. </font></p>
<p style="margin-left:6mm;" >  <font color=#40A040 size=+1>DSCAPS_SYSTEMONLY</font><br>  <font color=#404040>Surface data is permanently stored in system memory. <br>There's no video memory allocation/storage. </font></p>
<p style="margin-left:6mm;" >  <font color=#40A040 size=+1>DSCAPS_VIDEOONLY</font><br>  <font color=#404040>Surface data is permanently stored in video memory. <br>There's no system memory allocation/storage. </font></p>
<p style="margin-left:6mm;" >  <font color=#40A040 size=+1>DSCAPS_FLIPPING</font><br>  <font color=#404040>Surface is double buffered or needs Flip() calls to make updates/changes visible/usable. </font></p>
<p style="margin-left:6mm;" >  <font color=#40A040 size=+1>DSCAPS_SUBSURFACE</font><br>  <font color=#404040>Surface is just a sub area of another one sharing the surface data. </font></p>
<p style="margin-left:6mm;" >  <font color=#40A040 size=+1>DSCAPS_INTERLACED</font><br>  <font color=#404040>Each buffer contains interlaced video (or graphics) data consisting of two fields. <br>Their lines are stored interleaved. One field's height is a half of the surface's height. </font></p>
<p style="margin-left:6mm;" >  <font color=#40A040 size=+1>DSCAPS_SEPARATED</font><br>  <font color=#404040>For usage with DSCAPS_INTERLACED. <br> DSCAPS_SEPARATED specifies that the fields are NOT interleaved line by line in the buffer. <br>The first field is followed by the second one in the buffer. </font></p>
<p style="margin-left:6mm;" >  <font color=#40A040 size=+1>DSCAPS_STATIC_ALLOC</font><br>  <font color=#404040>The amount of video or system memory allocated for the surface is never less than its initial value. This way a surface can be resized (smaller and bigger up to the initial size) without reallocation of the buffers. It's useful for surfaces that need a guaranteed space in video memory after resizing. </font></p>
<br><br><a name=DFBPaletteCapabilities><font color=#D07070 size=+2>DFBPaletteCapabilities</font>
<p>
   The palette capabilities.
</p>
<p style="margin-left:6mm;" >  <font color=#40A040 size=+1>DPCAPS_NONE</font><br>  <font color=#404040>None of these. </font></p>
<br><br><a name=DFBSurfaceDrawingFlags><font color=#D07070 size=+2>DFBSurfaceDrawingFlags</font>
<p>
   Flags controlling drawing commands.
</p>
<p style="margin-left:6mm;" >  <font color=#40A040 size=+1>DSDRAW_NOFX</font><br>  <font color=#404040>uses none of the effects </font></p>
<p style="margin-left:6mm;" >  <font color=#40A040 size=+1>DSDRAW_BLEND</font><br>  <font color=#404040>uses alpha from color </font></p>
<p style="margin-left:6mm;" >  <font color=#40A040 size=+1>DSDRAW_DST_COLORKEY</font><br>  <font color=#404040>write to destination only if the destination pixel matches the destination color key (not fully implemented yet) </font></p>
<p style="margin-left:6mm;" >  <font color=#40A040 size=+1>DSDRAW_SRC_PREMULTIPLY</font><br>  <font color=#404040>multiplies the color's rgb channels by the alpha channel before drawing </font></p>
<p style="margin-left:6mm;" >  <font color=#40A040 size=+1>DSDRAW_DST_PREMULTIPLY</font><br>  <font color=#404040>modulates the dest. color with the dest. alpha </font></p>
<p style="margin-left:6mm;" >  <font color=#40A040 size=+1>DSDRAW_DEMULTIPLY</font><br>  <font color=#404040>divides the color by the alpha before writing the data to the destination </font></p>
<p style="margin-left:6mm;" >  <font color=#40A040 size=+1>DSDRAW_XOR</font><br>  <font color=#404040>bitwise xor the destination pixels with the specified color after premultiplication </font></p>
<br><br><a name=DFBSurfaceBlittingFlags><font color=#D07070 size=+2>DFBSurfaceBlittingFlags</font>
<p>
   Flags controlling blitting commands.
</p>
<p style="margin-left:6mm;" >  <font color=#40A040 size=+1>DSBLIT_NOFX</font><br>  <font color=#404040>uses none of the effects </font></p>
<p style="margin-left:6mm;" >  <font color=#40A040 size=+1>DSBLIT_BLEND_ALPHACHANNEL</font><br>  <font color=#404040>enables blending and uses alphachannel from source </font></p>
<p style="margin-left:6mm;" >  <font color=#40A040 size=+1>DSBLIT_BLEND_COLORALPHA</font><br>  <font color=#404040>enables blending and uses alpha value from color </font></p>
<p style="margin-left:6mm;" >  <font color=#40A040 size=+1>DSBLIT_COLORIZE</font><br>  <font color=#404040>modulates source color with the color's r/g/b values </font></p>
<p style="margin-left:6mm;" >  <font color=#40A040 size=+1>DSBLIT_SRC_COLORKEY</font><br>  <font color=#404040>don't blit pixels matching the source color key </font></p>
<p style="margin-left:6mm;" >  <font color=#40A040 size=+1>DSBLIT_DST_COLORKEY</font><br>  <font color=#404040>write to destination only if the destination pixel matches the destination color key (not fully implemented yet) </font></p>
<p style="margin-left:6mm;" >  <font color=#40A040 size=+1>DSBLIT_SRC_PREMULTIPLY</font><br>  <font color=#404040>modulates the source color with the (modulated) source alpha </font></p>
<p style="margin-left:6mm;" >  <font color=#40A040 size=+1>DSBLIT_DST_PREMULTIPLY</font><br>  <font color=#404040>modulates the dest. color with the dest. alpha </font></p>
<p style="margin-left:6mm;" >  <font color=#40A040 size=+1>DSBLIT_DEMULTIPLY</font><br>  <font color=#404040>divides the color by the alpha before writing the data to the destination </font></p>
<p style="margin-left:6mm;" >  <font color=#40A040 size=+1>DSBLIT_DEINTERLACE</font><br>  <font color=#404040>deinterlaces the source during blitting by reading only one field (every second line of full image) scaling it vertically </font></p>
<br><br><a name=DFBAccelerationMask><font color=#D07070 size=+2>DFBAccelerationMask</font>
<p>
   Mask of accelerated functions.
</p>
<p style="margin-left:6mm;" >  <font color=#40A040 size=+1>DFXL_NONE</font><br>  <font color=#404040>None of these. </font></p>
<p style="margin-left:6mm;" >  <font color=#40A040 size=+1>DFXL_FILLRECTANGLE</font><br>  <font color=#404040>FillRectangle() is accelerated. </font></p>
<p style="margin-left:6mm;" >  <font color=#40A040 size=+1>DFXL_DRAWRECTANGLE</font><br>  <font color=#404040>DrawRectangle() is accelerated. </font></p>
<p style="margin-left:6mm;" >  <font color=#40A040 size=+1>DFXL_DRAWLINE</font><br>  <font color=#404040>DrawLine() is accelerated. </font></p>
<p style="margin-left:6mm;" >  <font color=#40A040 size=+1>DFXL_FILLTRIANGLE</font><br>  <font color=#404040>FillTriangle() is accelerated. </font></p>
<p style="margin-left:6mm;" >  <font color=#40A040 size=+1>DFXL_BLIT</font><br>  <font color=#404040>Blit() is accelerated. </font></p>
<p style="margin-left:6mm;" >  <font color=#40A040 size=+1>DFXL_STRETCHBLIT</font><br>  <font color=#404040>StretchBlit() is accelerated. </font></p>
<p style="margin-left:6mm;" >  <font color=#40A040 size=+1>DFXL_ALL</font><br>  <font color=#404040>All drawing/blitting functions. </font></p>
<br><br><a name=DFBCardCapabilities><font color=#70D070 size=+2>DFBCardCapabilities</font>
<P>
  <TABLE border=0 cellspacing=0 cellpadding=4 bgcolor=#E0E0E0>
    <TR><TD width=50>&nbsp;</TD><TD valign=top>
      <A href="types.html#DFBAccelerationMask">DFBAccelerationMask</A>
    </TD><TD valign=top>
      <FONT color=black><B>acceleration_mask;</B></FONT>
    </TD><TD valign=top>
      <font color=#404040>drawing/blitting functions </font>
    </TD></TR>
    <TR><TD width=50>&nbsp;</TD><TD valign=top>
      <A href="types.html#DFBSurfaceDrawingFlags">DFBSurfaceDrawingFlags</A>
    </TD><TD valign=top>
      <FONT color=black><B>drawing_flags;</B></FONT>
    </TD><TD valign=top>
      <font color=#404040>drawing flags </font>
    </TD></TR>
    <TR><TD width=50>&nbsp;</TD><TD valign=top>
      <A href="types.html#DFBSurfaceBlittingFlags">DFBSurfaceBlittingFlags</A>
    </TD><TD valign=top>
      <FONT color=black><B>blitting_flags;</B></FONT>
    </TD><TD valign=top>
      <font color=#404040>blitting flags </font>
    </TD></TR>
    <TR><TD width=50>&nbsp;</TD><TD valign=top>
      unsigned int
    </TD><TD valign=top>
      <FONT color=black><B>video_memory;</B></FONT>
    </TD><TD valign=top>
      <font color=#404040>amount of video memory in bytes </font>
    </TD></TR>
  </TABLE>
</P>
<p>
   Rough information about hardware capabilities.
</p>
<br><br><a name=DFBDisplayLayerTypeFlags><font color=#D07070 size=+2>DFBDisplayLayerTypeFlags</font>
<p>
   Type of display layer for basic classification.
   Values may be or'ed together.
</p>
<p style="margin-left:6mm;" >  <font color=#40A040 size=+1>DLTF_NONE</font><br>  <font color=#404040>Unclassified, no specific type. </font></p>
<p style="margin-left:6mm;" >  <font color=#40A040 size=+1>DLTF_GRAPHICS</font><br>  <font color=#404040>Can be used for graphics output. </font></p>
<p style="margin-left:6mm;" >  <font color=#40A040 size=+1>DLTF_VIDEO</font><br>  <font color=#404040>Can be used for live video output.</font></p>
<p style="margin-left:6mm;" >  <font color=#40A040 size=+1>DLTF_STILL_PICTURE</font><br>  <font color=#404040>Can be used for single frames. </font></p>
<p style="margin-left:6mm;" >  <font color=#40A040 size=+1>DLTF_BACKGROUND</font><br>  <font color=#404040>Can be used as a background layer.</font></p>
<p style="margin-left:6mm;" >  <font color=#40A040 size=+1>DLTF_ALL</font><br>  <font color=#404040>All type flags set. </font></p>
<br><br><a name=DFBInputDeviceTypeFlags><font color=#D07070 size=+2>DFBInputDeviceTypeFlags</font>
<p>
   Type of input device for basic classification.
   Values may be or'ed together.
</p>
<p style="margin-left:6mm;" >  <font color=#40A040 size=+1>DIDTF_NONE</font><br>  <font color=#404040>Unclassified, no specific type. </font></p>
<p style="margin-left:6mm;" >  <font color=#40A040 size=+1>DIDTF_KEYBOARD</font><br>  <font color=#404040>Can act as a keyboard. </font></p>
<p style="margin-left:6mm;" >  <font color=#40A040 size=+1>DIDTF_MOUSE</font><br>  <font color=#404040>Can be used as a mouse. </font></p>
<p style="margin-left:6mm;" >  <font color=#40A040 size=+1>DIDTF_JOYSTICK</font><br>  <font color=#404040>Can be used as a joystick. </font></p>
<p style="margin-left:6mm;" >  <font color=#40A040 size=+1>DIDTF_REMOTE</font><br>  <font color=#404040>Is a remote control. </font></p>
<p style="margin-left:6mm;" >  <font color=#40A040 size=+1>DIDTF_VIRTUAL</font><br>  <font color=#404040>Is a virtual input device. </font></p>
<p style="margin-left:6mm;" >  <font color=#40A040 size=+1>DIDTF_ALL</font><br>  <font color=#404040>All type flags set. </font></p>
<br><br><a name=DFBInputDeviceCapabilities><font color=#D07070 size=+2>DFBInputDeviceCapabilities</font>
<p>
   Basic input device features.
</p>
<p style="margin-left:6mm;" >  <font color=#40A040 size=+1>DICAPS_KEYS</font><br>  <font color=#404040>device supports key events </font></p>
<p style="margin-left:6mm;" >  <font color=#40A040 size=+1>DICAPS_AXES</font><br>  <font color=#404040>device supports axis events </font></p>
<p style="margin-left:6mm;" >  <font color=#40A040 size=+1>DICAPS_BUTTONS</font><br>  <font color=#404040>device supports button events </font></p>
<p style="margin-left:6mm;" >  <font color=#40A040 size=+1>DICAPS_ALL</font><br>  <font color=#404040>all capabilities </font></p>
<br><br><a name=DFBInputDeviceButtonIdentifier><font color=#D07070 size=+2>DFBInputDeviceButtonIdentifier</font>
<p>
   Identifier (index) for e.g. mouse or joystick buttons.
</p>
<p style="margin-left:6mm;" >  <font color=#40A040 size=+1>DIBI_LEFT</font><br>  <font color=#404040>left mouse button </font></p>
<p style="margin-left:6mm;" >  <font color=#40A040 size=+1>DIBI_RIGHT</font><br>  <font color=#404040>right mouse button </font></p>
<p style="margin-left:6mm;" >  <font color=#40A040 size=+1>DIBI_MIDDLE</font><br>  <font color=#404040>middle mouse button </font></p>
<p style="margin-left:6mm;" >  <font color=#40A040 size=+1>DIBI_FIRST</font><br>  <font color=#404040>other buttons: DIBI_FIRST + zero based index </font></p>
<p style="margin-left:6mm;" >  <font color=#40A040 size=+1>DIBI_LAST</font><br>  <font color=#404040>32 buttons maximum </font></p>
<br><br><a name=DFBInputDeviceAxisIdentifier><font color=#D07070 size=+2>DFBInputDeviceAxisIdentifier</font>
<p>
   Axis identifier (index) for e.g. mouse or joystick.
</p><p>
   The X, Y and Z axis are predefined. To access other axes,
   use DIAI_FIRST plus a zero based index, e.g. the 4th axis
   would be (DIAI_FIRST + 3).
</p>
<p style="margin-left:6mm;" >  <font color=#40A040 size=+1>DIAI_X</font><br>  <font color=#404040>X axis </font></p>
<p style="margin-left:6mm;" >  <font color=#40A040 size=+1>DIAI_Y</font><br>  <font color=#404040>Y axis </font></p>
<p style="margin-left:6mm;" >  <font color=#40A040 size=+1>DIAI_Z</font><br>  <font color=#404040>Z axis </font></p>
<p style="margin-left:6mm;" >  <font color=#40A040 size=+1>DIAI_FIRST</font><br>  <font color=#404040>other axis: DIAI_FIRST + zero based index </font></p>
<p style="margin-left:6mm;" >  <font color=#40A040 size=+1>DIAI_LAST</font><br>  <font color=#404040>32 axes maximum </font></p>
<br><br><a name=DFBWindowDescriptionFlags><font color=#D07070 size=+2>DFBWindowDescriptionFlags</font>
<p>
   Flags defining which fields of a DFBWindowDescription are valid.
</p>
<p style="margin-left:6mm;" >  <font color=#40A040 size=+1>DWDESC_CAPS</font><br>  <font color=#404040>caps field is valid </font></p>
<p style="margin-left:6mm;" >  <font color=#40A040 size=+1>DWDESC_WIDTH</font><br>  <font color=#404040>width field is valid </font></p>
<p style="margin-left:6mm;" >  <font color=#40A040 size=+1>DWDESC_HEIGHT</font><br>  <font color=#404040>height field is valid </font></p>
<p style="margin-left:6mm;" >  <font color=#40A040 size=+1>DWDESC_PIXELFORMAT</font><br>  <font color=#404040>pixelformat field is valid </font></p>
<p style="margin-left:6mm;" >  <font color=#40A040 size=+1>DWDESC_POSX</font><br>  <font color=#404040>posx field is valid </font></p>
<p style="margin-left:6mm;" >  <font color=#40A040 size=+1>DWDESC_POSY</font><br>  <font color=#404040>posy field is valid </font></p>
<p style="margin-left:6mm;" >  <font color=#40A040 size=+1>DWDESC_SURFACE_CAPS</font><br>  <font color=#404040>Create the window surface with special capabilities. </font></p>
<br><br><a name=DFBDataBufferDescriptionFlags><font color=#D07070 size=+2>DFBDataBufferDescriptionFlags</font>
<p>
   Flags defining which fields of a DFBDataBufferDescription are valid.
</p>
<p style="margin-left:6mm;" >  <font color=#40A040 size=+1>DBDESC_FILE</font><br>  <font color=#404040>Create a static buffer for the specified filename. </font></p>
<p style="margin-left:6mm;" >  <font color=#40A040 size=+1>DBDESC_MEMORY</font><br>  <font color=#404040>Create a static buffer for the specified memory area. </font></p>
<br><br><a name=DFBWindowCapabilities><font color=#D07070 size=+2>DFBWindowCapabilities</font>
<p>
   Capabilities a window can have.
</p>
<p style="margin-left:6mm;" >  <font color=#40A040 size=+1>DWCAPS_NONE</font><br>  <font color=#404040>None of these. </font></p>
<p style="margin-left:6mm;" >  <font color=#40A040 size=+1>DWCAPS_ALPHACHANNEL</font><br>  <font color=#404040>The window has an alphachannel for pixel-per-pixel blending. </font></p>
<p style="margin-left:6mm;" >  <font color=#40A040 size=+1>DWCAPS_DOUBLEBUFFER</font><br>  <font color=#404040>The window's surface is double buffered. This is very useful to avoid visibility of content that is still in preparation. Normally a window's content can get visible before an update if there is another reason causing a window stack repaint. </font></p>
<p style="margin-left:6mm;" >  <font color=#40A040 size=+1>DWCAPS_INPUTONLY</font><br>  <font color=#404040>The window has no surface. You can not draw to it but it receives events </font></p>
<p style="margin-left:6mm;" >  <font color=#40A040 size=+1>DWCAPS_ALL</font><br>  <font color=#404040>All valid flags. </font></p>
<br><br><a name=DFBFontAttributes><font color=#D07070 size=+2>DFBFontAttributes</font>
<p>
   Flags describing how to load a font.
</p><p>
   These flags describe how a font is loaded and affect how the
   glyphs are drawn. There is no way to change this after the font
   has been loaded. If you need to render a font with different
   attributes, you have to create multiple FontProviders of the
   same font file.
</p>
<p style="margin-left:6mm;" >  <font color=#40A040 size=+1>DFFA_NONE</font><br>  <font color=#404040>none of these flags </font></p>
<p style="margin-left:6mm;" >  <font color=#40A040 size=+1>DFFA_NOKERNING</font><br>  <font color=#404040>don't use kerning </font></p>
<p style="margin-left:6mm;" >  <font color=#40A040 size=+1>DFFA_NOHINTING</font><br>  <font color=#404040>don't use hinting </font></p>
<p style="margin-left:6mm;" >  <font color=#40A040 size=+1>DFFA_MONOCHROME</font><br>  <font color=#404040>don't use anti-aliasing </font></p>
<p style="margin-left:6mm;" >  <font color=#40A040 size=+1>DFFA_NOCHARMAP</font><br>  <font color=#404040>no char map, glyph indices are specified directly </font></p>
<br><br><a name=DFBFontDescriptionFlags><font color=#D07070 size=+2>DFBFontDescriptionFlags</font>
<p>
   Flags defining which fields of a DFBFontDescription are valid.
</p>
<p style="margin-left:6mm;" >  <font color=#40A040 size=+1>DFDESC_ATTRIBUTES</font><br>  <font color=#404040>attributes field is valid </font></p>
<p style="margin-left:6mm;" >  <font color=#40A040 size=+1>DFDESC_HEIGHT</font><br>  <font color=#404040>height is specified </font></p>
<p style="margin-left:6mm;" >  <font color=#40A040 size=+1>DFDESC_WIDTH</font><br>  <font color=#404040>width is specified </font></p>
<p style="margin-left:6mm;" >  <font color=#40A040 size=+1>DFDESC_INDEX</font><br>  <font color=#404040>index is specified </font></p>
<p style="margin-left:6mm;" >  <font color=#40A040 size=+1>DFDESC_FIXEDADVANCE</font><br>  <font color=#404040>specify a fixed advance overriding any character advance of fixed or proportional fonts </font></p>
<br><br><a name=DFBFontDescription><font color=#70D070 size=+2>DFBFontDescription</font>
<P>
  <TABLE border=0 cellspacing=0 cellpadding=4 bgcolor=#E0E0E0>
    <TR><TD width=50>&nbsp;</TD><TD valign=top>
      <A href="types.html#DFBFontDescriptionFlags">DFBFontDescriptionFlags</A>
    </TD><TD valign=top>
      <FONT color=black><B>flags;</B></FONT>
    </TD><TD valign=top>
      <font color=#404040></font>
    </TD></TR>
    <TR><TD width=50>&nbsp;</TD><TD valign=top>
      <A href="types.html#DFBFontAttributes">DFBFontAttributes</A>
    </TD><TD valign=top>
      <FONT color=black><B>attributes;</B></FONT>
    </TD><TD valign=top>
      <font color=#404040></font>
    </TD></TR>
    <TR><TD width=50>&nbsp;</TD><TD valign=top>
      unsigned int
    </TD><TD valign=top>
      <FONT color=black><B>height;</B></FONT>
    </TD><TD valign=top>
      <font color=#404040></font>
    </TD></TR>
    <TR><TD width=50>&nbsp;</TD><TD valign=top>
      unsigned int
    </TD><TD valign=top>
      <FONT color=black><B>width;</B></FONT>
    </TD><TD valign=top>
      <font color=#404040></font>
    </TD></TR>
    <TR><TD width=50>&nbsp;</TD><TD valign=top>
      unsigned int
    </TD><TD valign=top>
      <FONT color=black><B>index;</B></FONT>
    </TD><TD valign=top>
      <font color=#404040></font>
    </TD></TR>
    <TR><TD width=50>&nbsp;</TD><TD valign=top>
      unsigned int
    </TD><TD valign=top>
      <FONT color=black><B>fixed_advance;</B></FONT>
    </TD><TD valign=top>
      <font color=#404040></font>
    </TD></TR>
  </TABLE>
</P>
<p>
   Description of how to load glyphs from a font file.
</p><p>
   The attributes control how the glyphs are rendered. Width and
   height can be used to specify the desired face size in pixels.
   If you are loading a non-scalable font, you shouldn't specify
   a font size. Please note that the height value in the
   FontDescription doesn't correspond to the height returned by
   the font's GetHeight() method.
</p><p>
   The index field controls which face is loaded from a font file
   that provides a collection of faces. This is rarely needed.
</p>
<br><br><a name=DFBSurfacePixelFormat><font color=#D07070 size=+2>DFBSurfacePixelFormat</font>
<p>
   Pixel format of a surface.
   Contains information about the format (see following definition).
</p><p>
   Format constants are encoded in the following way (bit 31 - 0):
</p><p>
   -hgg:ffff | eeee:dddc | bbbb:bbbb | aaaa:aaaa
</p><p>
   a) pixelformat index<br>
   b) effective bits per pixel of format<br>
   c) alpha channel present<br>
   d) bytes per pixel in a row (1/8 fragment, i.e. bits)<br>
   e) bytes per pixel in a row (decimal part, i.e. bytes)<br>
   f) multiplier for planes minus one (1/16 fragment)<br>
   g) multiplier for planes minus one (decimal part)<br>
   h) indexed pixelformat (using a palette)
</p>
<p style="margin-left:6mm;" >  <font color=#40A040 size=+1>DSPF_UNKNOWN</font><br>  <font color=#404040>no specific format, unusual and unsupported </font></p>
<p style="margin-left:6mm;" >  <font color=#40A040 size=+1>DSPF_ARGB1555</font><br>  <font color=#404040>16bit ARGB (2 bytes, alpha 1@15, red 5@10, green 5@5, blue 5@0) </font></p>
<p style="margin-left:6mm;" >  <font color=#40A040 size=+1>DSPF_RGB16</font><br>  <font color=#404040>16bit  RGB (2 bytes, red 5@11, green 6@5, blue 5@0) </font></p>
<p style="margin-left:6mm;" >  <font color=#40A040 size=+1>DSPF_RGB24</font><br>  <font color=#404040>24bit  RGB (3 bytes, red 8@16, green 8@8, blue 8@0) </font></p>
<p style="margin-left:6mm;" >  <font color=#40A040 size=+1>DSPF_RGB32</font><br>  <font color=#404040>24bit  RGB (4 bytes, nothing@24, red 8@16, green 8@8, blue 8@0)</font></p>
<p style="margin-left:6mm;" >  <font color=#40A040 size=+1>DSPF_ARGB</font><br>  <font color=#404040>32bit ARGB (4 bytes, alpha 8@24, red 8@16, green 8@8, blue 8@0)</font></p>
<p style="margin-left:6mm;" >  <font color=#40A040 size=+1>DSPF_A8</font><br>  <font color=#404040>8bit alpha (1 byte, alpha 8@0 ), e.g. anti-aliased text glyphs </font></p>
<p style="margin-left:6mm;" >  <font color=#40A040 size=+1>DSPF_YUY2</font><br>  <font color=#404040>A macropixel (32bit / 2 pixel) contains YUYV (starting with the LOWEST byte on the LEFT) </font></p>
<p style="margin-left:6mm;" >  <font color=#40A040 size=+1>DSPF_RGB332</font><br>  <font color=#404040>8bit true color (1 byte, red 3@5, green 3@2, blue 2@0 </font></p>
<p style="margin-left:6mm;" >  <font color=#40A040 size=+1>DSPF_UYVY</font><br>  <font color=#404040>A macropixel (32bit / 2 pixel) contains UYVY (starting with the LOWEST byte on the LEFT) </font></p>
<p style="margin-left:6mm;" >  <font color=#40A040 size=+1>DSPF_I420</font><br>  <font color=#404040>8 bit Y plane followed by 8 bit 2x2 subsampled U and V planes </font></p>
<p style="margin-left:6mm;" >  <font color=#40A040 size=+1>DSPF_YV12</font><br>  <font color=#404040>8 bit Y plane followed by 8 bit 2x2 subsampled V and U planes </font></p>
<p style="margin-left:6mm;" >  <font color=#40A040 size=+1>DSPF_LUT8</font><br>  <font color=#404040>8 bit lookup table (palette) </font></p>
<br><br><a name=palette><font color=#70D070 size=+2>palette</font>
<P>
  <TABLE border=0 cellspacing=0 cellpadding=4 bgcolor=#E0E0E0>
    <TR><TD width=50>&nbsp;</TD><TD valign=top>
      <A href="types.html#DFBSurfaceDescriptionFlags">DFBSurfaceDescriptionFlags</A>
    </TD><TD valign=top>
      <FONT color=black><B>flags;</B></FONT>
    </TD><TD valign=top>
      <font color=#404040>field validation </font>
    </TD></TR>
    <TR><TD width=50>&nbsp;</TD><TD valign=top>
      <A href="types.html#DFBSurfaceCapabilities">DFBSurfaceCapabilities</A>
    </TD><TD valign=top>
      <FONT color=black><B>caps;</B></FONT>
    </TD><TD valign=top>
      <font color=#404040>capabilities </font>
    </TD></TR>
    <TR><TD width=50>&nbsp;</TD><TD valign=top>
      unsigned int
    </TD><TD valign=top>
      <FONT color=black><B>width;</B></FONT>
    </TD><TD valign=top>
      <font color=#404040>pixel width </font>
    </TD></TR>
    <TR><TD width=50>&nbsp;</TD><TD valign=top>
      unsigned int
    </TD><TD valign=top>
      <FONT color=black><B>height;</B></FONT>
    </TD><TD valign=top>
      <font color=#404040>pixel height </font>
    </TD></TR>
    <TR><TD width=50>&nbsp;</TD><TD valign=top>
      <A href="types.html#DFBSurfacePixelFormat">DFBSurfacePixelFormat</A>
    </TD><TD valign=top>
      <FONT color=black><B>pixelformat;</B></FONT>
    </TD><TD valign=top>
      <font color=#404040>pixel format </font>
    </TD></TR>
    <TR><TD width=50>&nbsp;</TD><TD valign=top>
      void
    </TD><TD valign=top>
      <FONT color=black><B>*data;</B></FONT>
    </TD><TD valign=top>
      <font color=#404040>data pointer of existing buffer </font>
    </TD></TR>
    <TR><TD width=50>&nbsp;</TD><TD valign=top>
      int
    </TD><TD valign=top>
      <FONT color=black><B>pitch;</B></FONT>
    </TD><TD valign=top>
      <font color=#404040>pitch of buffer </font>
    </TD></TR>
    <TR><TD width=50>&nbsp;</TD><TD valign=top>
      <A href="types.html#DFBColor">DFBColor</A>
    </TD><TD valign=top>
      <FONT color=black><B>*entries;</B></FONT>
    </TD><TD valign=top>
      <font color=#404040></font>
    </TD></TR>
    <TR><TD width=50>&nbsp;</TD><TD valign=top>
      unsigned int
    </TD><TD valign=top>
      <FONT color=black><B>size;</B></FONT>
    </TD><TD valign=top>
      <font color=#404040></font>
    </TD></TR>
  </TABLE>
</P>
<p>
   Description of the surface that is to be created.
</p>
<br><br><a name=DFBPaletteDescription><font color=#70D070 size=+2>DFBPaletteDescription</font>
<P>
  <TABLE border=0 cellspacing=0 cellpadding=4 bgcolor=#E0E0E0>
    <TR><TD width=50>&nbsp;</TD><TD valign=top>
      <A href="types.html#DFBPaletteDescriptionFlags">DFBPaletteDescriptionFlags</A>
    </TD><TD valign=top>
      <FONT color=black><B>flags;</B></FONT>
    </TD><TD valign=top>
      <font color=#404040>Validation of fields. </font>
    </TD></TR>
    <TR><TD width=50>&nbsp;</TD><TD valign=top>
      <A href="types.html#DFBPaletteCapabilities">DFBPaletteCapabilities</A>
    </TD><TD valign=top>
      <FONT color=black><B>caps;</B></FONT>
    </TD><TD valign=top>
      <font color=#404040>Palette capabilities. </font>
    </TD></TR>
    <TR><TD width=50>&nbsp;</TD><TD valign=top>
      unsigned int
    </TD><TD valign=top>
      <FONT color=black><B>size;</B></FONT>
    </TD><TD valign=top>
      <font color=#404040>Number of entries. </font>
    </TD></TR>
    <TR><TD width=50>&nbsp;</TD><TD valign=top>
      <A href="types.html#DFBColor">DFBColor</A>
    </TD><TD valign=top>
      <FONT color=black><B>*entries;</B></FONT>
    </TD><TD valign=top>
      <font color=#404040>Preset palette entries. </font>
    </TD></TR>
  </TABLE>
</P>
<p>
   Description of the palette that is to be created.
</p>
<br><br><a name=DFBDisplayLayerDescription><font color=#70D070 size=+2>DFBDisplayLayerDescription</font>
<P>
  <TABLE border=0 cellspacing=0 cellpadding=4 bgcolor=#E0E0E0>
    <TR><TD width=50>&nbsp;</TD><TD valign=top>
      <A href="types.html#DFBDisplayLayerTypeFlags">DFBDisplayLayerTypeFlags</A>
    </TD><TD valign=top>
      <FONT color=black><B>type;</B></FONT>
    </TD><TD valign=top>
      <font color=#404040>Classification of the display layer. </font>
    </TD></TR>
    <TR><TD width=50>&nbsp;</TD><TD valign=top>
      <A href="types.html#DFBDisplayLayerCapabilities">DFBDisplayLayerCapabilities</A>
    </TD><TD valign=top>
      <FONT color=black><B>caps;</B></FONT>
    </TD><TD valign=top>
      <font color=#404040>Capability flags of the display layer. </font>
    </TD></TR>
    <TR><TD width=50>&nbsp;</TD><TD valign=top>
      char
    </TD><TD valign=top>
      <FONT color=black><B>name[DFB_DISPLAY_LAYER_DESC_NAME_LENGTH];</B></FONT>
    </TD><TD valign=top>
      <font color=#404040>Display layer name. </font>
    </TD></TR>
  </TABLE>
</P>
<p>
   Description of the display layer capabilities.
</p>
<br><br><a name=DFBInputDeviceDescription><font color=#70D070 size=+2>DFBInputDeviceDescription</font>
<P>
  <TABLE border=0 cellspacing=0 cellpadding=4 bgcolor=#E0E0E0>
    <TR><TD width=50>&nbsp;</TD><TD valign=top>
      <A href="types.html#DFBInputDeviceTypeFlags">DFBInputDeviceTypeFlags</A>
    </TD><TD valign=top>
      <FONT color=black><B>type;</B></FONT>
    </TD><TD valign=top>
      <font color=#404040>classification of input device </font>
    </TD></TR>
    <TR><TD width=50>&nbsp;</TD><TD valign=top>
      <A href="types.html#DFBInputDeviceCapabilities">DFBInputDeviceCapabilities</A>
    </TD><TD valign=top>
      <FONT color=black><B>caps;</B></FONT>
    </TD><TD valign=top>
      <font color=#404040>capabilities, validates the following fields </font>
    </TD></TR>
    <TR><TD width=50>&nbsp;</TD><TD valign=top>
      int
    </TD><TD valign=top>
      <FONT color=black><B>min_keycode;</B></FONT>
    </TD><TD valign=top>
      <font color=#404040>minimum hardware keycode or -1 if no differentiation between hardware keys is made </font>
    </TD></TR>
    <TR><TD width=50>&nbsp;</TD><TD valign=top>
      int
    </TD><TD valign=top>
      <FONT color=black><B>max_keycode;</B></FONT>
    </TD><TD valign=top>
      <font color=#404040>maximum hardware keycode or -1 if no differentiation between hardware keys is made </font>
    </TD></TR>
    <TR><TD width=50>&nbsp;</TD><TD valign=top>
      <A href="types.html#DFBInputDeviceAxisIdentifier">DFBInputDeviceAxisIdentifier</A>
    </TD><TD valign=top>
      <FONT color=black><B>max_axis;</B></FONT>
    </TD><TD valign=top>
      <font color=#404040>highest axis identifier </font>
    </TD></TR>
    <TR><TD width=50>&nbsp;</TD><TD valign=top>
      <A href="types.html#DFBInputDeviceButtonIdentifier">DFBInputDeviceButtonIdentifier</A>
    </TD><TD valign=top>
      <FONT color=black><B>max_button;</B></FONT>
    </TD><TD valign=top>
      <font color=#404040>highest button identifier </font>
    </TD></TR>
    <TR><TD width=50>&nbsp;</TD><TD valign=top>
      char
    </TD><TD valign=top>
      <FONT color=black><B>name[DFB_INPUT_DEVICE_DESC_NAME_LENGTH];</B></FONT>
    </TD><TD valign=top>
      <font color=#404040>Device name </font>
    </TD></TR>
    <TR><TD width=50>&nbsp;</TD><TD valign=top>
      char
    </TD><TD valign=top>
      <FONT color=black><B>vendor[DFB_INPUT_DEVICE_DESC_VENDOR_LENGTH];</B></FONT>
    </TD><TD valign=top>
      <font color=#404040>Device vendor </font>
    </TD></TR>
  </TABLE>
</P>
<p>
   Description of the input device capabilities.
</p>
<br><br><a name=DFBWindowDescription><font color=#70D070 size=+2>DFBWindowDescription</font>
<P>
  <TABLE border=0 cellspacing=0 cellpadding=4 bgcolor=#E0E0E0>
    <TR><TD width=50>&nbsp;</TD><TD valign=top>
      <A href="types.html#DFBWindowDescriptionFlags">DFBWindowDescriptionFlags</A>
    </TD><TD valign=top>
      <FONT color=black><B>flags;</B></FONT>
    </TD><TD valign=top>
      <font color=#404040>field validation </font>
    </TD></TR>
    <TR><TD width=50>&nbsp;</TD><TD valign=top>
      <A href="types.html#DFBWindowCapabilities">DFBWindowCapabilities</A>
    </TD><TD valign=top>
      <FONT color=black><B>caps;</B></FONT>
    </TD><TD valign=top>
      <font color=#404040>capabilities </font>
    </TD></TR>
    <TR><TD width=50>&nbsp;</TD><TD valign=top>
      unsigned int
    </TD><TD valign=top>
      <FONT color=black><B>width;</B></FONT>
    </TD><TD valign=top>
      <font color=#404040>pixel width </font>
    </TD></TR>
    <TR><TD width=50>&nbsp;</TD><TD valign=top>
      unsigned int
    </TD><TD valign=top>
      <FONT color=black><B>height;</B></FONT>
    </TD><TD valign=top>
      <font color=#404040>pixel height </font>
    </TD></TR>
    <TR><TD width=50>&nbsp;</TD><TD valign=top>
      <A href="types.html#DFBSurfacePixelFormat">DFBSurfacePixelFormat</A>
    </TD><TD valign=top>
      <FONT color=black><B>pixelformat;</B></FONT>
    </TD><TD valign=top>
      <font color=#404040>pixel format </font>
    </TD></TR>
    <TR><TD width=50>&nbsp;</TD><TD valign=top>
      int
    </TD><TD valign=top>
      <FONT color=black><B>posx;</B></FONT>
    </TD><TD valign=top>
      <font color=#404040>distance from left layer border </font>
    </TD></TR>
    <TR><TD width=50>&nbsp;</TD><TD valign=top>
      int
    </TD><TD valign=top>
      <FONT color=black><B>posy;</B></FONT>
    </TD><TD valign=top>
      <font color=#404040>distance from upper layer border </font>
    </TD></TR>
    <TR><TD width=50>&nbsp;</TD><TD valign=top>
      <A href="types.html#DFBSurfaceCapabilities">DFBSurfaceCapabilities</A>
    </TD><TD valign=top>
      <FONT color=black><B>surface_caps;</B></FONT>
    </TD><TD valign=top>
      <font color=#404040>pixel format </font>
    </TD></TR>
  </TABLE>
</P>
<p>
   Description of the window that is to be created.
</p>
<br><br><a name=memory><font color=#70D070 size=+2>memory</font>
<P>
  <TABLE border=0 cellspacing=0 cellpadding=4 bgcolor=#E0E0E0>
    <TR><TD width=50>&nbsp;</TD><TD valign=top>
      <A href="types.html#DFBDataBufferDescriptionFlags">DFBDataBufferDescriptionFlags</A>
    </TD><TD valign=top>
      <FONT color=black><B>flags;</B></FONT>
    </TD><TD valign=top>
      <font color=#404040>field validation </font>
    </TD></TR>
    <TR><TD width=50>&nbsp;</TD><TD valign=top>
      const char
    </TD><TD valign=top>
      <FONT color=black><B>*file;</B></FONT>
    </TD><TD valign=top>
      <font color=#404040>for file based data buffers </font>
    </TD></TR>
    <TR><TD width=50>&nbsp;</TD><TD valign=top>
      void
    </TD><TD valign=top>
      <FONT color=black><B>*data;</B></FONT>
    </TD><TD valign=top>
      <font color=#404040>static data pointer </font>
    </TD></TR>
    <TR><TD width=50>&nbsp;</TD><TD valign=top>
      unsigned int
    </TD><TD valign=top>
      <FONT color=black><B>length;</B></FONT>
    </TD><TD valign=top>
      <font color=#404040>length of buffer </font>
    </TD></TR>
  </TABLE>
</P>
<p>
   Description of a data buffer that is to be created.
</p>
<br><br><a name=DFBEnumerationResult><font color=#D07070 size=+2>DFBEnumerationResult</font>
<p>
   Return value of callback function of enumerations.
</p>
<p style="margin-left:6mm;" >  <font color=#40A040 size=+1>DFENUM_OK</font><br>  <font color=#404040>Proceed with enumeration </font></p>
<p style="margin-left:6mm;" >  <font color=#40A040 size=+1>DFENUM_CANCEL</font><br>  <font color=#404040>Cancel enumeration </font></p>
<br><br><a name=DFBVideoProviderCapabilities><font color=#D07070 size=+2>DFBVideoProviderCapabilities</font>
<p>
   Information about an IDirectFBVideoProvider.
</p>
<p style="margin-left:6mm;" >  <font color=#40A040 size=+1>DVCAPS_BASIC</font><br>  <font color=#404040>basic ops (PlayTo, Stop)       </font></p>
<p style="margin-left:6mm;" >  <font color=#40A040 size=+1>DVCAPS_SEEK</font><br>  <font color=#404040>supports SeekTo                </font></p>
<p style="margin-left:6mm;" >  <font color=#40A040 size=+1>DVCAPS_SCALE</font><br>  <font color=#404040>can scale the video            </font></p>
<p style="margin-left:6mm;" >  <font color=#40A040 size=+1>DVCAPS_INTERLACED</font><br>  <font color=#404040>supports interlaced surfaces   </font></p>
<p style="margin-left:6mm;" >  <font color=#40A040 size=+1>DVCAPS_BRIGHTNESS</font><br>  <font color=#404040>supports Brightness adjustment </font></p>
<p style="margin-left:6mm;" >  <font color=#40A040 size=+1>DVCAPS_CONTRAST</font><br>  <font color=#404040>supports Contrast adjustment   </font></p>
<p style="margin-left:6mm;" >  <font color=#40A040 size=+1>DVCAPS_HUE</font><br>  <font color=#404040>supports Hue adjustment        </font></p>
<p style="margin-left:6mm;" >  <font color=#40A040 size=+1>DVCAPS_SATURATION</font><br>  <font color=#404040>supports Saturation adjustment </font></p>
<br><br><a name=DFBColorAdjustmentFlags><font color=#D07070 size=+2>DFBColorAdjustmentFlags</font>
<p>
   Flags defining which fields of a DFBColorAdjustment are valid.
</p>
<p style="margin-left:6mm;" >  <font color=#40A040 size=+1>DCAF_NONE</font><br>  <font color=#404040>none of these              </font></p>
<p style="margin-left:6mm;" >  <font color=#40A040 size=+1>DCAF_BRIGHTNESS</font><br>  <font color=#404040>brightness field is valid  </font></p>
<p style="margin-left:6mm;" >  <font color=#40A040 size=+1>DCAF_CONTRAST</font><br>  <font color=#404040>contrast field is valid    </font></p>
<p style="margin-left:6mm;" >  <font color=#40A040 size=+1>DCAF_HUE</font><br>  <font color=#404040>hue field is valid         </font></p>
<p style="margin-left:6mm;" >  <font color=#40A040 size=+1>DCAF_SATURATION</font><br>  <font color=#404040>saturation field is valid  </font></p>
<br><br><a name=DFBColorAdjustment><font color=#70D070 size=+2>DFBColorAdjustment</font>
<P>
  <TABLE border=0 cellspacing=0 cellpadding=4 bgcolor=#E0E0E0>
    <TR><TD width=50>&nbsp;</TD><TD valign=top>
      <A href="types.html#DFBColorAdjustmentFlags">DFBColorAdjustmentFlags</A>
    </TD><TD valign=top>
      <FONT color=black><B>flags;</B></FONT>
    </TD><TD valign=top>
      <font color=#404040></font>
    </TD></TR>
    <TR><TD width=50>&nbsp;</TD><TD valign=top>
      __u16
    </TD><TD valign=top>
      <FONT color=black><B>brightness;</B></FONT>
    </TD><TD valign=top>
      <font color=#404040></font>
    </TD></TR>
    <TR><TD width=50>&nbsp;</TD><TD valign=top>
      __u16
    </TD><TD valign=top>
      <FONT color=black><B>contrast;</B></FONT>
    </TD><TD valign=top>
      <font color=#404040></font>
    </TD></TR>
    <TR><TD width=50>&nbsp;</TD><TD valign=top>
      __u16
    </TD><TD valign=top>
      <FONT color=black><B>hue;</B></FONT>
    </TD><TD valign=top>
      <font color=#404040></font>
    </TD></TR>
    <TR><TD width=50>&nbsp;</TD><TD valign=top>
      __u16
    </TD><TD valign=top>
      <FONT color=black><B>saturation;</B></FONT>
    </TD><TD valign=top>
      <font color=#404040></font>
    </TD></TR>
  </TABLE>
</P>
<p>
   Color Adjustment used to adjust video colors.
</p><p>
   All fields are in the range 0x0 to 0xFFFF with
   0x8000 as the default value (no adjustment).
</p>
<br><br><a name=DFBDisplayLayerCooperativeLevel><font color=#D07070 size=+2>DFBDisplayLayerCooperativeLevel</font>
<p>
   Cooperative level handling the access permissions.
</p>
<p style="margin-left:6mm;" >  <font color=#40A040 size=+1>DLSCL_SHARED</font><br>  <font color=#404040>shared access </font></p>
<p style="margin-left:6mm;" >  <font color=#40A040 size=+1>DLSCL_EXCLUSIVE</font><br>  <font color=#404040>exclusive access, fullscreen/mode switching </font></p>
<p style="margin-left:6mm;" >  <font color=#40A040 size=+1>DLSCL_ADMINISTRATIVE</font><br>  <font color=#404040>administrative access, enumerate windows, control them </font></p>
<br><br><a name=DFBDisplayLayerBackgroundMode><font color=#D07070 size=+2>DFBDisplayLayerBackgroundMode</font>
<p>
   Background mode defining how to erase/initialize the area
   for a windowstack repaint
</p>
<p style="margin-left:6mm;" >  <font color=#40A040 size=+1>DLBM_DONTCARE</font><br>  <font color=#404040>do not clear the layer before repainting the windowstack </font></p>
<p style="margin-left:6mm;" >  <font color=#40A040 size=+1>DLBM_COLOR</font><br>  <font color=#404040>fill with solid color (SetBackgroundColor) </font></p>
<p style="margin-left:6mm;" >  <font color=#40A040 size=+1>DLBM_IMAGE</font><br>  <font color=#404040>use an image (SetBackgroundImage) </font></p>
<p style="margin-left:6mm;" >  <font color=#40A040 size=+1>DLBM_TILE</font><br>  <font color=#404040>use a tiled image (SetBackgroundImage) </font></p>
<br><br><a name=DFBDisplayLayerConfig><font color=#70D070 size=+2>DFBDisplayLayerConfig</font>
<P>
  <TABLE border=0 cellspacing=0 cellpadding=4 bgcolor=#E0E0E0>
    <TR><TD width=50>&nbsp;</TD><TD valign=top>
      <A href="types.html#DFBDisplayLayerConfigFlags">DFBDisplayLayerConfigFlags</A>
    </TD><TD valign=top>
      <FONT color=black><B>flags;</B></FONT>
    </TD><TD valign=top>
      <font color=#404040>Which fields of the configuration are set </font>
    </TD></TR>
    <TR><TD width=50>&nbsp;</TD><TD valign=top>
      unsigned int
    </TD><TD valign=top>
      <FONT color=black><B>width;</B></FONT>
    </TD><TD valign=top>
      <font color=#404040>Pixel width </font>
    </TD></TR>
    <TR><TD width=50>&nbsp;</TD><TD valign=top>
      unsigned int
    </TD><TD valign=top>
      <FONT color=black><B>height;</B></FONT>
    </TD><TD valign=top>
      <font color=#404040>Pixel height </font>
    </TD></TR>
    <TR><TD width=50>&nbsp;</TD><TD valign=top>
      <A href="types.html#DFBSurfacePixelFormat">DFBSurfacePixelFormat</A>
    </TD><TD valign=top>
      <FONT color=black><B>pixelformat;</B></FONT>
    </TD><TD valign=top>
      <font color=#404040>Pixel format </font>
    </TD></TR>
    <TR><TD width=50>&nbsp;</TD><TD valign=top>
      <A href="types.html#DFBDisplayLayerBufferMode">DFBDisplayLayerBufferMode</A>
    </TD><TD valign=top>
      <FONT color=black><B>buffermode;</B></FONT>
    </TD><TD valign=top>
      <font color=#404040>Buffer mode </font>
    </TD></TR>
    <TR><TD width=50>&nbsp;</TD><TD valign=top>
      <A href="types.html#DFBDisplayLayerOptions">DFBDisplayLayerOptions</A>
    </TD><TD valign=top>
      <FONT color=black><B>options;</B></FONT>
    </TD><TD valign=top>
      <font color=#404040>Enable capabilities </font>
    </TD></TR>
  </TABLE>
</P>
<p>
   Layer configuration
</p>
<br><br><a name=DFBSurfaceFlipFlags><font color=#D07070 size=+2>DFBSurfaceFlipFlags</font>
<p>
   Flipping flags controlling the behaviour of Flip().
</p>
<p style="margin-left:6mm;" >  <font color=#40A040 size=+1>DSFLIP_WAITFORSYNC</font><br>  <font color=#404040>flip during vertical retrace, blocks until it occurs </font></p>
<p style="margin-left:6mm;" >  <font color=#40A040 size=+1>DSFLIP_BLIT</font><br>  <font color=#404040>copy backbuffer into frontbuffer rather than just swapping these buffers </font></p>
<br><br><a name=DFBSurfaceTextFlags><font color=#D07070 size=+2>DFBSurfaceTextFlags</font>
<p>
   Flags controlling the text layout.
</p>
<p style="margin-left:6mm;" >  <font color=#40A040 size=+1>DSTF_LEFT</font><br>  <font color=#404040>left aligned </font></p>
<p style="margin-left:6mm;" >  <font color=#40A040 size=+1>DSTF_CENTER</font><br>  <font color=#404040>horizontally centered </font></p>
<p style="margin-left:6mm;" >  <font color=#40A040 size=+1>DSTF_RIGHT</font><br>  <font color=#404040>right aligned </font></p>
<p style="margin-left:6mm;" >  <font color=#40A040 size=+1>DSTF_TOP</font><br>  <font color=#404040>y specifies the top instead of the baseline </font></p>
<p style="margin-left:6mm;" >  <font color=#40A040 size=+1>DSTF_BOTTOM</font><br>  <font color=#404040>y specifies the bottom instead of the baseline </font></p>
<br><br><a name=DFBSurfaceLockFlags><font color=#D07070 size=+2>DFBSurfaceLockFlags</font>
<p>
   Flags defining the type of data access.
   These are important for surface swapping management.
</p>
<p style="margin-left:6mm;" >  <font color=#40A040 size=+1>DSLF_READ</font><br>  <font color=#404040>request read access while surface is locked </font></p>
<p style="margin-left:6mm;" >  <font color=#40A040 size=+1>DSLF_WRITE</font><br>  <font color=#404040>request write access </font></p>
<br><br><a name=DFBSurfacePorterDuffRule><font color=#D07070 size=+2>DFBSurfacePorterDuffRule</font>
<p>
   Available Porter/Duff rules.
</p>
<p style="margin-left:6mm;" >  <font color=#40A040 size=+1>DSPD_NONE</font><br>  <font color=#404040>fs: sa      fd: 1.0-sa (defaults) </font></p>
<p style="margin-left:6mm;" >  <font color=#40A040 size=+1>DSPD_CLEAR</font><br>  <font color=#404040>fs: 0.0     fd: 0.0    </font></p>
<p style="margin-left:6mm;" >  <font color=#40A040 size=+1>DSPD_SRC</font><br>  <font color=#404040>fs: 1.0     fd: 0.0    </font></p>
<p style="margin-left:6mm;" >  <font color=#40A040 size=+1>DSPD_SRC_OVER</font><br>  <font color=#404040>fs: 1.0     fd: 1.0-sa </font></p>
<p style="margin-left:6mm;" >  <font color=#40A040 size=+1>DSPD_DST_OVER</font><br>  <font color=#404040>fs: 1.0-da  fd: 1.0    </font></p>
<p style="margin-left:6mm;" >  <font color=#40A040 size=+1>DSPD_SRC_IN</font><br>  <font color=#404040>fs: da      fd: 0.0    </font></p>
<p style="margin-left:6mm;" >  <font color=#40A040 size=+1>DSPD_DST_IN</font><br>  <font color=#404040>fs: 0.0     fd: sa     </font></p>
<p style="margin-left:6mm;" >  <font color=#40A040 size=+1>DSPD_SRC_OUT</font><br>  <font color=#404040>fs: 1.0-da  fd: 0.0    </font></p>
<p style="margin-left:6mm;" >  <font color=#40A040 size=+1>DSPD_DST_OUT</font><br>  <font color=#404040>fs: 0.0     fd: 1.0-sa </font></p>
<br><br><a name=DFBSurfaceBlendFunction><font color=#D07070 size=+2>DFBSurfaceBlendFunction</font>
<p>
   Blend functions to use for source and destination blending
</p>
<p style="margin-left:6mm;" >  <font color=#40A040 size=+1>DSBF_ZERO</font><br>  <font color=#404040> </font></p>
<p style="margin-left:6mm;" >  <font color=#40A040 size=+1>DSBF_ONE</font><br>  <font color=#404040> </font></p>
<p style="margin-left:6mm;" >  <font color=#40A040 size=+1>DSBF_SRCCOLOR</font><br>  <font color=#404040> </font></p>
<p style="margin-left:6mm;" >  <font color=#40A040 size=+1>DSBF_INVSRCCOLOR</font><br>  <font color=#404040> </font></p>
<p style="margin-left:6mm;" >  <font color=#40A040 size=+1>DSBF_SRCALPHA</font><br>  <font color=#404040> </font></p>
<p style="margin-left:6mm;" >  <font color=#40A040 size=+1>DSBF_INVSRCALPHA</font><br>  <font color=#404040> </font></p>
<p style="margin-left:6mm;" >  <font color=#40A040 size=+1>DSBF_DESTALPHA</font><br>  <font color=#404040> </font></p>
<p style="margin-left:6mm;" >  <font color=#40A040 size=+1>DSBF_INVDESTALPHA</font><br>  <font color=#404040> </font></p>
<p style="margin-left:6mm;" >  <font color=#40A040 size=+1>DSBF_DESTCOLOR</font><br>  <font color=#404040> </font></p>
<p style="margin-left:6mm;" >  <font color=#40A040 size=+1>DSBF_INVDESTCOLOR</font><br>  <font color=#404040> </font></p>
<p style="margin-left:6mm;" >  <font color=#40A040 size=+1>DSBF_SRCALPHASAT</font><br>  <font color=#404040> </font></p>
<br><br><a name=DFBInputDeviceKeyState><font color=#D07070 size=+2>DFBInputDeviceKeyState</font>
<p>
   Specifies whether a key is currently down.
</p>
<p style="margin-left:6mm;" >  <font color=#40A040 size=+1>DIKS_UP</font><br>  <font color=#404040>key is not pressed </font></p>
<p style="margin-left:6mm;" >  <font color=#40A040 size=+1>DIKS_DOWN</font><br>  <font color=#404040>key is pressed </font></p>
<br><br><a name=DFBInputDeviceButtonState><font color=#D07070 size=+2>DFBInputDeviceButtonState</font>
<p>
   Specifies whether a button is currently pressed.
</p>
<p style="margin-left:6mm;" >  <font color=#40A040 size=+1>DIBS_UP</font><br>  <font color=#404040>button is not pressed </font></p>
<p style="margin-left:6mm;" >  <font color=#40A040 size=+1>DIBS_DOWN</font><br>  <font color=#404040>button is pressed </font></p>
<br><br><a name=DFBInputDeviceButtonMask><font color=#D07070 size=+2>DFBInputDeviceButtonMask</font>
<p>
   Flags specifying which buttons are currently down.
</p>
<p style="margin-left:6mm;" >  <font color=#40A040 size=+1>DIBM_LEFT</font><br>  <font color=#404040>left mouse button </font></p>
<p style="margin-left:6mm;" >  <font color=#40A040 size=+1>DIBM_RIGHT</font><br>  <font color=#404040>right mouse button </font></p>
<p style="margin-left:6mm;" >  <font color=#40A040 size=+1>DIBM_MIDDLE</font><br>  <font color=#404040>middle mouse button </font></p>
<br><br><a name=DFBEventClass><font color=#D07070 size=+2>DFBEventClass</font>
<p>
   Event class.
</p>
<p style="margin-left:6mm;" >  <font color=#40A040 size=+1>DFEC_NONE</font><br>  <font color=#404040>none of these </font></p>
<p style="margin-left:6mm;" >  <font color=#40A040 size=+1>DFEC_INPUT</font><br>  <font color=#404040>raw input event </font></p>
<p style="margin-left:6mm;" >  <font color=#40A040 size=+1>DFEC_WINDOW</font><br>  <font color=#404040>windowing event </font></p>
<p style="margin-left:6mm;" >  <font color=#40A040 size=+1>DFEC_USER</font><br>  <font color=#404040>custom events for the user of this library </font></p>
<br><br><a name=DFBInputEventType><font color=#D07070 size=+2>DFBInputEventType</font>
<p>
   The type of an input event.
</p>
<p style="margin-left:6mm;" >  <font color=#40A040 size=+1>DIET_UNKNOWN</font><br>  <font color=#404040>unknown event </font></p>
<p style="margin-left:6mm;" >  <font color=#40A040 size=+1>DIET_KEYPRESS</font><br>  <font color=#404040>a key is been pressed </font></p>
<p style="margin-left:6mm;" >  <font color=#40A040 size=+1>DIET_KEYRELEASE</font><br>  <font color=#404040>a key is been released </font></p>
<p style="margin-left:6mm;" >  <font color=#40A040 size=+1>DIET_BUTTONPRESS</font><br>  <font color=#404040>a (mouse) button is been pressed </font></p>
<p style="margin-left:6mm;" >  <font color=#40A040 size=+1>DIET_BUTTONRELEASE</font><br>  <font color=#404040>a (mouse) button is been released </font></p>
<p style="margin-left:6mm;" >  <font color=#40A040 size=+1>DIET_AXISMOTION</font><br>  <font color=#404040>mouse/joystick movement </font></p>
<br><br><a name=DFBInputEventFlags><font color=#D07070 size=+2>DFBInputEventFlags</font>
<p>
   Flags defining which additional (optional) event fields are valid.
</p>
<p style="margin-left:6mm;" >  <font color=#40A040 size=+1>DIEF_NONE</font><br>  <font color=#404040>no additional fields </font></p>
<p style="margin-left:6mm;" >  <font color=#40A040 size=+1>DIEF_TIMESTAMP</font><br>  <font color=#404040>timestamp is valid </font></p>
<p style="margin-left:6mm;" >  <font color=#40A040 size=+1>DIEF_AXISABS</font><br>  <font color=#404040>axis and axisabs are valid </font></p>
<p style="margin-left:6mm;" >  <font color=#40A040 size=+1>DIEF_AXISREL</font><br>  <font color=#404040>axis and axisrel are valid </font></p>
<p style="margin-left:6mm;" >  <font color=#40A040 size=+1>DIEF_KEYCODE</font><br>  <font color=#404040>used internally by the input core, always set at application level </font></p>
<p style="margin-left:6mm;" >  <font color=#40A040 size=+1>DIEF_KEYID</font><br>  <font color=#404040>used internally by the input core, always set at application level </font></p>
<p style="margin-left:6mm;" >  <font color=#40A040 size=+1>DIEF_KEYSYMBOL</font><br>  <font color=#404040>used internally by the input core, always set at application level </font></p>
<p style="margin-left:6mm;" >  <font color=#40A040 size=+1>DIEF_MODIFIERS</font><br>  <font color=#404040>used internally by the input core, always set at application level </font></p>
<p style="margin-left:6mm;" >  <font color=#40A040 size=+1>DIEF_LOCKS</font><br>  <font color=#404040>used internally by the input core, always set at application level </font></p>
<p style="margin-left:6mm;" >  <font color=#40A040 size=+1>DIEF_BUTTONS</font><br>  <font color=#404040>used internally by the input core, always set at application level </font></p>
<br><br><a name=DFBInputEvent><font color=#70D070 size=+2>DFBInputEvent</font>
<P>
  <TABLE border=0 cellspacing=0 cellpadding=4 bgcolor=#E0E0E0>
    <TR><TD width=50>&nbsp;</TD><TD valign=top>
      <A href="types.html#DFBEventClass">DFBEventClass</A>
    </TD><TD valign=top>
      <FONT color=black><B>clazz;</B></FONT>
    </TD><TD valign=top>
      <font color=#404040>clazz of event </font>
    </TD></TR>
    <TR><TD width=50>&nbsp;</TD><TD valign=top>
      <A href="types.html#DFBInputEventType">DFBInputEventType</A>
    </TD><TD valign=top>
      <FONT color=black><B>type;</B></FONT>
    </TD><TD valign=top>
      <font color=#404040>type of event </font>
    </TD></TR>
    <TR><TD width=50>&nbsp;</TD><TD valign=top>
      DFBInputDeviceID
    </TD><TD valign=top>
      <FONT color=black><B>device_id;</B></FONT>
    </TD><TD valign=top>
      <font color=#404040>source of event </font>
    </TD></TR>
    <TR><TD width=50>&nbsp;</TD><TD valign=top>
      <A href="types.html#DFBInputEventFlags">DFBInputEventFlags</A>
    </TD><TD valign=top>
      <FONT color=black><B>flags;</B></FONT>
    </TD><TD valign=top>
      <font color=#404040>which optional fields are valid? </font>
    </TD></TR>
    <TR><TD width=50>&nbsp;</TD><TD valign=top>
      struct timeval
    </TD><TD valign=top>
      <FONT color=black><B>timestamp;</B></FONT>
    </TD><TD valign=top>
      <font color=#404040>time of event creation </font>
    </TD></TR>
    <TR><TD width=50>&nbsp;</TD><TD valign=top>
      int
    </TD><TD valign=top>
      <FONT color=black><B>key_code;</B></FONT>
    </TD><TD valign=top>
      <font color=#404040>hardware keycode, no mapping, -1 if device doesn't differentiate between several keys </font>
    </TD></TR>
    <TR><TD width=50>&nbsp;</TD><TD valign=top>
      <A href="types.html#DFBInputDeviceKeyIdentifier">DFBInputDeviceKeyIdentifier</A>
    </TD><TD valign=top>
      <FONT color=black><B>key_id;</B></FONT>
    </TD><TD valign=top>
      <font color=#404040>basic mapping, modifier independent </font>
    </TD></TR>
    <TR><TD width=50>&nbsp;</TD><TD valign=top>
      <A href="types.html#DFBInputDeviceKeySymbol">DFBInputDeviceKeySymbol</A>
    </TD><TD valign=top>
      <FONT color=black><B>key_symbol;</B></FONT>
    </TD><TD valign=top>
      <font color=#404040>advanced mapping, unicode compatible, modifier dependent </font>
    </TD></TR>
    <TR><TD width=50>&nbsp;</TD><TD valign=top>
      <A href="types.html#DFBInputDeviceModifierMask">DFBInputDeviceModifierMask</A>
    </TD><TD valign=top>
      <FONT color=black><B>modifiers;</B></FONT>
    </TD><TD valign=top>
      <font color=#404040>pressed modifiers (optional) </font>
    </TD></TR>
    <TR><TD width=50>&nbsp;</TD><TD valign=top>
      <A href="types.html#DFBInputDeviceLockState">DFBInputDeviceLockState</A>
    </TD><TD valign=top>
      <FONT color=black><B>locks;</B></FONT>
    </TD><TD valign=top>
      <font color=#404040>active locks (optional) </font>
    </TD></TR>
    <TR><TD width=50>&nbsp;</TD><TD valign=top>
      <A href="types.html#DFBInputDeviceButtonIdentifier">DFBInputDeviceButtonIdentifier</A>
    </TD><TD valign=top>
      <FONT color=black><B>button;</B></FONT>
    </TD><TD valign=top>
      <font color=#404040>in case of a button event </font>
    </TD></TR>
    <TR><TD width=50>&nbsp;</TD><TD valign=top>
      <A href="types.html#DFBInputDeviceButtonMask">DFBInputDeviceButtonMask</A>
    </TD><TD valign=top>
      <FONT color=black><B>buttons;</B></FONT>
    </TD><TD valign=top>
      <font color=#404040>mask of currently pressed buttons </font>
    </TD></TR>
    <TR><TD width=50>&nbsp;</TD><TD valign=top>
      <A href="types.html#DFBInputDeviceAxisIdentifier">DFBInputDeviceAxisIdentifier</A>
    </TD><TD valign=top>
      <FONT color=black><B>axis;</B></FONT>
    </TD><TD valign=top>
      <font color=#404040>in case of an axis event </font>
    </TD></TR>
    <TR><TD width=50>&nbsp;</TD><TD valign=top>
      int
    </TD><TD valign=top>
      <FONT color=black><B>axisabs;</B></FONT>
    </TD><TD valign=top>
      <font color=#404040>absolute mouse/ joystick coordinate </font>
    </TD></TR>
    <TR><TD width=50>&nbsp;</TD><TD valign=top>
      int
    </TD><TD valign=top>
      <FONT color=black><B>axisrel;</B></FONT>
    </TD><TD valign=top>
      <font color=#404040>relative mouse/ joystick movement </font>
    </TD></TR>
  </TABLE>
</P>
<p>
   An input event, item of an input buffer.
</p>
<br><br><a name=DFBWindowEventType><font color=#D07070 size=+2>DFBWindowEventType</font>
<p>
   Window Event Types - can also be used as flags for event filters.
</p>
<p style="margin-left:6mm;" >  <font color=#40A040 size=+1>DWET_POSITION</font><br>  <font color=#404040>window has been moved by window manager or the application itself </font></p>
<p style="margin-left:6mm;" >  <font color=#40A040 size=+1>DWET_SIZE</font><br>  <font color=#404040>window has been resized by window manager or the application itself </font></p>
<p style="margin-left:6mm;" >  <font color=#40A040 size=+1>DWET_CLOSE</font><br>  <font color=#404040>closing this window has been requested only </font></p>
<p style="margin-left:6mm;" >  <font color=#40A040 size=+1>DWET_DESTROYED</font><br>  <font color=#404040>window got destroyed by global deinitialization function or the application itself </font></p>
<p style="margin-left:6mm;" >  <font color=#40A040 size=+1>DWET_GOTFOCUS</font><br>  <font color=#404040>window got focus </font></p>
<p style="margin-left:6mm;" >  <font color=#40A040 size=+1>DWET_LOSTFOCUS</font><br>  <font color=#404040>window lost focus </font></p>
<p style="margin-left:6mm;" >  <font color=#40A040 size=+1>DWET_KEYDOWN</font><br>  <font color=#404040>a key has gone down while window has focus </font></p>
<p style="margin-left:6mm;" >  <font color=#40A040 size=+1>DWET_KEYUP</font><br>  <font color=#404040>a key has gone up while window has focus </font></p>
<p style="margin-left:6mm;" >  <font color=#40A040 size=+1>DWET_BUTTONDOWN</font><br>  <font color=#404040>mouse button went down in the window </font></p>
<p style="margin-left:6mm;" >  <font color=#40A040 size=+1>DWET_BUTTONUP</font><br>  <font color=#404040>mouse button went up in the window </font></p>
<p style="margin-left:6mm;" >  <font color=#40A040 size=+1>DWET_MOTION</font><br>  <font color=#404040>mouse cursor changed its position in window </font></p>
<p style="margin-left:6mm;" >  <font color=#40A040 size=+1>DWET_ENTER</font><br>  <font color=#404040>mouse cursor entered the window </font></p>
<p style="margin-left:6mm;" >  <font color=#40A040 size=+1>DWET_LEAVE</font><br>  <font color=#404040>mouse cursor left the window </font></p>
<p style="margin-left:6mm;" >  <font color=#40A040 size=+1>DWET_WHEEL</font><br>  <font color=#404040>mouse wheel was moved while window has focus </font></p>
<p style="margin-left:6mm;" >  <font color=#40A040 size=+1>DWET_ALL</font><br>  <font color=#404040>all event types </font></p>
<br><br><a name=DFBWindowEvent><font color=#70D070 size=+2>DFBWindowEvent</font>
<P>
  <TABLE border=0 cellspacing=0 cellpadding=4 bgcolor=#E0E0E0>
    <TR><TD width=50>&nbsp;</TD><TD valign=top>
      <A href="types.html#DFBEventClass">DFBEventClass</A>
    </TD><TD valign=top>
      <FONT color=black><B>clazz;</B></FONT>
    </TD><TD valign=top>
      <font color=#404040>clazz of event </font>
    </TD></TR>
    <TR><TD width=50>&nbsp;</TD><TD valign=top>
      <A href="types.html#DFBWindowEventType">DFBWindowEventType</A>
    </TD><TD valign=top>
      <FONT color=black><B>type;</B></FONT>
    </TD><TD valign=top>
      <font color=#404040>type of event </font>
    </TD></TR>
    <TR><TD width=50>&nbsp;</TD><TD valign=top>
      DFBWindowID
    </TD><TD valign=top>
      <FONT color=black><B>window_id;</B></FONT>
    </TD><TD valign=top>
      <font color=#404040>source of event </font>
    </TD></TR>
    <TR><TD width=50>&nbsp;</TD><TD valign=top>
      int
    </TD><TD valign=top>
      <FONT color=black><B>x;</B></FONT>
    </TD><TD valign=top>
      <font color=#404040>x position of window or coordinate within window </font>
    </TD></TR>
    <TR><TD width=50>&nbsp;</TD><TD valign=top>
      int
    </TD><TD valign=top>
      <FONT color=black><B>y;</B></FONT>
    </TD><TD valign=top>
      <font color=#404040>y position of window or coordinate within window </font>
    </TD></TR>
    <TR><TD width=50>&nbsp;</TD><TD valign=top>
      int
    </TD><TD valign=top>
      <FONT color=black><B>cx;</B></FONT>
    </TD><TD valign=top>
      <font color=#404040>x cursor position </font>
    </TD></TR>
    <TR><TD width=50>&nbsp;</TD><TD valign=top>
      int
    </TD><TD valign=top>
      <FONT color=black><B>cy;</B></FONT>
    </TD><TD valign=top>
      <font color=#404040>y cursor position </font>
    </TD></TR>
    <TR><TD width=50>&nbsp;</TD><TD valign=top>
      int
    </TD><TD valign=top>
      <FONT color=black><B>step;</B></FONT>
    </TD><TD valign=top>
      <font color=#404040>wheel step </font>
    </TD></TR>
    <TR><TD width=50>&nbsp;</TD><TD valign=top>
      unsigned int
    </TD><TD valign=top>
      <FONT color=black><B>w;</B></FONT>
    </TD><TD valign=top>
      <font color=#404040>width of window </font>
    </TD></TR>
    <TR><TD width=50>&nbsp;</TD><TD valign=top>
      unsigned int
    </TD><TD valign=top>
      <FONT color=black><B>h;</B></FONT>
    </TD><TD valign=top>
      <font color=#404040>height of window </font>
    </TD></TR>
    <TR><TD width=50>&nbsp;</TD><TD valign=top>
      int
    </TD><TD valign=top>
      <FONT color=black><B>key_code;</B></FONT>
    </TD><TD valign=top>
      <font color=#404040>hardware keycode, no mapping, -1 if device doesn't differentiate between several keys </font>
    </TD></TR>
    <TR><TD width=50>&nbsp;</TD><TD valign=top>
      <A href="types.html#DFBInputDeviceKeyIdentifier">DFBInputDeviceKeyIdentifier</A>
    </TD><TD valign=top>
      <FONT color=black><B>key_id;</B></FONT>
    </TD><TD valign=top>
      <font color=#404040>basic mapping, modifier independent </font>
    </TD></TR>
    <TR><TD width=50>&nbsp;</TD><TD valign=top>
      <A href="types.html#DFBInputDeviceKeySymbol">DFBInputDeviceKeySymbol</A>
    </TD><TD valign=top>
      <FONT color=black><B>key_symbol;</B></FONT>
    </TD><TD valign=top>
      <font color=#404040>advanced mapping, unicode compatible, modifier dependent </font>
    </TD></TR>
    <TR><TD width=50>&nbsp;</TD><TD valign=top>
      <A href="types.html#DFBInputDeviceModifierMask">DFBInputDeviceModifierMask</A>
    </TD><TD valign=top>
      <FONT color=black><B>modifiers;</B></FONT>
    </TD><TD valign=top>
      <font color=#404040>pressed modifiers </font>
    </TD></TR>
    <TR><TD width=50>&nbsp;</TD><TD valign=top>
      <A href="types.html#DFBInputDeviceLockState">DFBInputDeviceLockState</A>
    </TD><TD valign=top>
      <FONT color=black><B>locks;</B></FONT>
    </TD><TD valign=top>
      <font color=#404040>active locks </font>
    </TD></TR>
    <TR><TD width=50>&nbsp;</TD><TD valign=top>
      <A href="types.html#DFBInputDeviceButtonIdentifier">DFBInputDeviceButtonIdentifier</A>
    </TD><TD valign=top>
      <FONT color=black><B>button;</B></FONT>
    </TD><TD valign=top>
      <font color=#404040>button being pressed or released </font>
    </TD></TR>
    <TR><TD width=50>&nbsp;</TD><TD valign=top>
      <A href="types.html#DFBInputDeviceButtonMask">DFBInputDeviceButtonMask</A>
    </TD><TD valign=top>
      <FONT color=black><B>buttons;</B></FONT>
    </TD><TD valign=top>
      <font color=#404040>mask of currently pressed buttons </font>
    </TD></TR>
  </TABLE>
</P>
<p>
   Event from the windowing system.
</p>
<br><br><a name=DFBUserEvent><font color=#70D070 size=+2>DFBUserEvent</font>
<P>
  <TABLE border=0 cellspacing=0 cellpadding=4 bgcolor=#E0E0E0>
    <TR><TD width=50>&nbsp;</TD><TD valign=top>
      <A href="types.html#DFBEventClass">DFBEventClass</A>
    </TD><TD valign=top>
      <FONT color=black><B>clazz;</B></FONT>
    </TD><TD valign=top>
      <font color=#404040>clazz of event </font>
    </TD></TR>
    <TR><TD width=50>&nbsp;</TD><TD valign=top>
      unsigned int
    </TD><TD valign=top>
      <FONT color=black><B>type;</B></FONT>
    </TD><TD valign=top>
      <font color=#404040>custom type </font>
    </TD></TR>
    <TR><TD width=50>&nbsp;</TD><TD valign=top>
      void
    </TD><TD valign=top>
      <FONT color=black><B>*data;</B></FONT>
    </TD><TD valign=top>
      <font color=#404040>custom data </font>
    </TD></TR>
  </TABLE>
</P>
<p>
   Event for usage by the user of this library.
</p>
<br><br><a name=DFBEvent><font color=#70D070 size=+2>DFBEvent</font>
<P>
  <TABLE border=0 cellspacing=0 cellpadding=4 bgcolor=#E0E0E0>
    <TR><TD width=50>&nbsp;</TD><TD valign=top>
      <A href="types.html#DFBEventClass">DFBEventClass</A>
    </TD><TD valign=top>
      <FONT color=black><B>clazz;</B></FONT>
    </TD><TD valign=top>
      <font color=#404040>clazz of event </font>
    </TD></TR>
    <TR><TD width=50>&nbsp;</TD><TD valign=top>
      <A href="types.html#DFBInputEvent">DFBInputEvent</A>
    </TD><TD valign=top>
      <FONT color=black><B>input;</B></FONT>
    </TD><TD valign=top>
      <font color=#404040>field for input events </font>
    </TD></TR>
    <TR><TD width=50>&nbsp;</TD><TD valign=top>
      <A href="types.html#DFBWindowEvent">DFBWindowEvent</A>
    </TD><TD valign=top>
      <FONT color=black><B>window;</B></FONT>
    </TD><TD valign=top>
      <font color=#404040>field for window events </font>
    </TD></TR>
    <TR><TD width=50>&nbsp;</TD><TD valign=top>
      <A href="types.html#DFBUserEvent">DFBUserEvent</A>
    </TD><TD valign=top>
      <FONT color=black><B>user;</B></FONT>
    </TD><TD valign=top>
      <font color=#404040>field for user-defined events </font>
    </TD></TR>
  </TABLE>
</P>
<p>
   General container for a DirectFB Event.
</p>
<br><br><a name=DFBWindowOptions><font color=#D07070 size=+2>DFBWindowOptions</font>
<p>
   Flags controlling the appearance and behaviour of the window.
</p>
<p style="margin-left:6mm;" >  <font color=#40A040 size=+1>DWOP_NONE</font><br>  <font color=#404040>none of these </font></p>
<p style="margin-left:6mm;" >  <font color=#40A040 size=+1>DWOP_COLORKEYING</font><br>  <font color=#404040>enable color key </font></p>
<p style="margin-left:6mm;" >  <font color=#40A040 size=+1>DWOP_ALPHACHANNEL</font><br>  <font color=#404040>enable alpha blending using the window's alpha channel </font></p>
<p style="margin-left:6mm;" >  <font color=#40A040 size=+1>DWOP_KEEP_POSITION</font><br>  <font color=#404040>window can't be moved with the mouse </font></p>
<p style="margin-left:6mm;" >  <font color=#40A040 size=+1>DWOP_KEEP_SIZE</font><br>  <font color=#404040>window can't be resized with the mouse </font></p>
<p style="margin-left:6mm;" >  <font color=#40A040 size=+1>DWOP_KEEP_STACKING</font><br>  <font color=#404040>window can't be raised or lowered with the mouse </font></p>
<p style="margin-left:6mm;" >  <font color=#40A040 size=+1>DWOP_GHOST</font><br>  <font color=#404040>never get focus or input, clicks will go through, implies DWOP_KEEP... </font></p>
<p style="margin-left:6mm;" >  <font color=#40A040 size=+1>DWOP_INDESTRUCTIBLE</font><br>  <font color=#404040>window can't be destroyed by internal shortcut </font></p>
<p style="margin-left:6mm;" >  <font color=#40A040 size=+1>DWOP_ALL</font><br>  <font color=#404040>all possible options </font></p>
<br><br><a name=DFBWindowStackingClass><font color=#D07070 size=+2>DFBWindowStackingClass</font>
<p>
   The stacking class restricts the stacking order of windows.
</p>
<p style="margin-left:6mm;" >  <font color=#40A040 size=+1>DWSC_MIDDLE</font><br>  <font color=#404040>This is the default stacking class of new windows. </font></p>
<p style="margin-left:6mm;" >  <font color=#40A040 size=+1>DWSC_UPPER</font><br>  <font color=#404040>Window is always above windows in the middle stacking class. Only windows that are also in the upper stacking class can get above them. </font></p>
<p style="margin-left:6mm;" >  <font color=#40A040 size=+1>DWSC_LOWER</font><br>  <font color=#404040>Window is always below windows in the middle stacking class. Only windows that are also in the lower stacking class can get below them. </font></p>
<br><br><a name=DFBImageCapabilities><font color=#D07070 size=+2>DFBImageCapabilities</font>
<p>
   Capabilities of an image.
</p>
<p style="margin-left:6mm;" >  <font color=#40A040 size=+1>DICAPS_NONE</font><br>  <font color=#404040>None of these.            </font></p>
<p style="margin-left:6mm;" >  <font color=#40A040 size=+1>DICAPS_ALPHACHANNEL</font><br>  <font color=#404040>The image data contains an alphachannel.             </font></p>
<p style="margin-left:6mm;" >  <font color=#40A040 size=+1>DICAPS_COLORKEY</font><br>  <font color=#404040>The image has a colorkey, e.g. the transparent color of a GIF image.           </font></p>
<br><br><a name=DFBImageDescription><font color=#70D070 size=+2>DFBImageDescription</font>
<P>
  <TABLE border=0 cellspacing=0 cellpadding=4 bgcolor=#E0E0E0>
    <TR><TD width=50>&nbsp;</TD><TD valign=top>
      <A href="types.html#DFBImageCapabilities">DFBImageCapabilities</A>
    </TD><TD valign=top>
      <FONT color=black><B>caps;</B></FONT>
    </TD><TD valign=top>
      <font color=#404040>capabilities              </font>
    </TD></TR>
    <TR><TD width=50>&nbsp;</TD><TD valign=top>
      __u8
    </TD><TD valign=top>
      <FONT color=black><B>colorkey_r;</B></FONT>
    </TD><TD valign=top>
      <font color=#404040>colorkey red channel      </font>
    </TD></TR>
    <TR><TD width=50>&nbsp;</TD><TD valign=top>
      __u8
    </TD><TD valign=top>
      <FONT color=black><B>colorkey_g;</B></FONT>
    </TD><TD valign=top>
      <font color=#404040>colorkey green channel    </font>
    </TD></TR>
    <TR><TD width=50>&nbsp;</TD><TD valign=top>
      __u8
    </TD><TD valign=top>
      <FONT color=black><B>colorkey_b;</B></FONT>
    </TD><TD valign=top>
      <font color=#404040>colorkey blue channel     </font>
    </TD></TR>
  </TABLE>
</P>
<p>
   Information about an image including capabilities and values
   belonging to available capabilities.
</p>

<TABLE width=100% bgcolor=black border=0 cellspacing=0 cellpadding=0>
  <TR><TD valign=center>
    <FONT size=-3>&nbsp;&nbsp;(C) Copyright by convergence GmbH</FONT>
  </TD><TD align=right>
    <A href="http://www.convergence.de">
      <IMG border=0 hspace=4 src="cimlogo.png">
    </A>
  </TD></TR>
</TABLE>

</BODY>
</HTML>