📄 index.html
字号:
<HTML><STYLE> <!-- A{textdecoration:none} --></STYLE><STYLE type="text/css"> A:link, A:visited, A:active { text-decoration: none; }</STYLE><HEAD> <TITLE>Index [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> <A href="index.html"><FONT size=+3 color=white>Reference Manual - 0.9.25</FONT></A> </TD></TR> <TR><TD colspan=2 align=center bgcolor=#303030> <BIG><FONT color=orange>Index Page</FONT></BIG> </TD></TR></TABLE><P> <CENTER> <H3>Interfaces</H3> <TABLE width=90% border=0 cellpadding=2> <TR><TD valign=top> <A href="IDirectFB.html">IDirectFB</A> </TD><TD valign=top> The only interface with a global "Create" function, any other functionality goes from here. </TD></TR> <TR><TD valign=top> <A href="IDirectFBScreen.html">IDirectFBScreen</A> </TD><TD valign=top> Display encoder and output connector settings, input device assignment in multi head environments, power management, synchronization. </TD></TR> <TR><TD valign=top> <A href="IDirectFBDisplayLayer.html">IDirectFBDisplayLayer</A> </TD><TD valign=top> Layer configuration, creation of windows and background configuration. </TD></TR> <TR><TD valign=top> <A href="IDirectFBSurface.html">IDirectFBSurface</A> </TD><TD valign=top> Surface locking, setting colorkeys and other drawing parameters, clipping, flipping, blitting, drawing. </TD></TR> <TR><TD valign=top> <A href="IDirectFBPalette.html">IDirectFBPalette</A> </TD><TD valign=top> Access to palette data. Set/get entries, rotate palette. </TD></TR> <TR><TD valign=top> <A href="IDirectFBWindow.html">IDirectFBWindow</A> </TD><TD valign=top> Moving, resizing, raising and lowering. Getting an interface to the window's surface. Setting opacity and handling events. </TD></TR> <TR><TD valign=top> <A href="IDirectFBInputDevice.html">IDirectFBInputDevice</A> </TD><TD valign=top> Creation of input buffers and explicit state queries. </TD></TR> <TR><TD valign=top> <A href="IDirectFBEventBuffer.html">IDirectFBEventBuffer</A> </TD><TD valign=top> An event buffer puts events from devices or windows into a FIFO. </TD></TR> <TR><TD valign=top> <A href="IDirectFBFont.html">IDirectFBFont</A> </TD><TD valign=top> Getting font metrics and pixel width of a string. </TD></TR> <TR><TD valign=top> <A href="IDirectFBImageProvider.html">IDirectFBImageProvider</A> </TD><TD valign=top> Getting information about and loading one image from file. </TD></TR> <TR><TD valign=top> <A href="IDirectFBVideoProvider.html">IDirectFBVideoProvider</A> </TD><TD valign=top> Rendering video data into a surface. </TD></TR> <TR><TD valign=top> <A href="IDirectFBDataBuffer.html">IDirectFBDataBuffer</A> </TD><TD valign=top> Streaming or static data for image or video providers. </TD></TR> <TR><TD valign=top> <A href="IDirectFBGL.html">IDirectFBGL</A> </TD><TD valign=top> OpenGL context of a surface. </TD></TR> </TABLE></CENTER></P><P> <CENTER> <H3>Types</H3> <TABLE width=90% border=0 cellpadding=2> <TR><TD valign=top> <A href="types.html#DFBAccelerationMask">DFBAccelerationMask</A> </TD><TD valign=top> Mask of accelerated functions. </TD></TR> <TR><TD valign=top> <A href="types.html#DFBBoolean">DFBBoolean</A> </TD><TD valign=top> A boolean. </TD></TR> <TR><TD valign=top> <A href="types.html#DFBColor">DFBColor</A> </TD><TD valign=top> A color defined by channels with 8bit each. </TD></TR> <TR><TD valign=top> <A href="types.html#DFBColorAdjustment">DFBColorAdjustment</A> </TD><TD valign=top> Color Adjustment used to adjust video colors. <br><br> All fields are in the range 0x0 to 0xFFFF with 0x8000 as the default value (no adjustment). </TD></TR> <TR><TD valign=top> <A href="types.html#DFBColorAdjustmentFlags">DFBColorAdjustmentFlags</A> </TD><TD valign=top> Flags defining which fields of a DFBColorAdjustment are valid. </TD></TR> <TR><TD valign=top> <A href="types.html#DFBCooperativeLevel">DFBCooperativeLevel</A> </TD><TD valign=top> The cooperative level controls the super interface's behaviour in functions like SetVideoMode or CreateSurface for the primary. </TD></TR> <TR><TD valign=top> <A href="types.html#DFBDataBufferDescription">DFBDataBufferDescription</A> </TD><TD valign=top> Description of a data buffer that is to be created. </TD></TR> <TR><TD valign=top> <A href="types.html#DFBDataBufferDescriptionFlags">DFBDataBufferDescriptionFlags</A> </TD><TD valign=top> Flags defining which fields of a DFBDataBufferDescription are valid. </TD></TR> <TR><TD valign=top> <A href="types.html#DFBDimension">DFBDimension</A> </TD><TD valign=top> A dimension specified by width and height. </TD></TR> <TR><TD valign=top> <A href="types.html#DFBDisplayLayerBackgroundMode">DFBDisplayLayerBackgroundMode</A> </TD><TD valign=top> Background mode defining how to erase/initialize the area for a windowstack repaint </TD></TR> <TR><TD valign=top> <A href="types.html#DFBDisplayLayerBufferMode">DFBDisplayLayerBufferMode</A> </TD><TD valign=top> Layer Buffer Mode. </TD></TR> <TR><TD valign=top> <A href="types.html#DFBDisplayLayerCallback">DFBDisplayLayerCallback</A> </TD><TD valign=top> Called for each existing display layer. "layer_id" can be used to get an interface to the layer. </TD></TR> <TR><TD valign=top> <A href="types.html#DFBDisplayLayerCapabilities">DFBDisplayLayerCapabilities</A> </TD><TD valign=top> Capabilities of a display layer. </TD></TR> <TR><TD valign=top> <A href="types.html#DFBDisplayLayerConfig">DFBDisplayLayerConfig</A> </TD><TD valign=top> Layer configuration </TD></TR> <TR><TD valign=top> <A href="types.html#DFBDisplayLayerConfigFlags">DFBDisplayLayerConfigFlags</A> </TD><TD valign=top> Layer configuration flags </TD></TR> <TR><TD valign=top> <A href="types.html#DFBDisplayLayerCooperativeLevel">DFBDisplayLayerCooperativeLevel</A> </TD><TD valign=top> Cooperative level handling the access permissions. </TD></TR> <TR><TD valign=top> <A href="types.html#DFBDisplayLayerDescription">DFBDisplayLayerDescription</A> </TD><TD valign=top> Description of the display layer capabilities. </TD></TR> <TR><TD valign=top> <A href="types.html#DFBDisplayLayerOptions">DFBDisplayLayerOptions</A> </TD><TD valign=top> Used to enable some capabilities like flicker filtering or colorkeying. </TD></TR> <TR><TD valign=top> <A href="types.html#DFBDisplayLayerSourceDescription">DFBDisplayLayerSourceDescription</A> </TD><TD valign=top> Description of a display layer source. </TD></TR> <TR><TD valign=top> <A href="types.html#DFBDisplayLayerTypeFlags">DFBDisplayLayerTypeFlags</A> </TD><TD valign=top> Type of display layer for basic classification. Values may be or'ed together. </TD></TR> <TR><TD valign=top> <A href="types.html#DFBEnumerationResult">DFBEnumerationResult</A> </TD><TD valign=top> Return value of callback function of enumerations. </TD></TR> <TR><TD valign=top> <A href="types.html#DFBEvent">DFBEvent</A> </TD><TD valign=top> General container for a DirectFB Event. </TD></TR> <TR><TD valign=top> <A href="types.html#DFBEventBufferStats">DFBEventBufferStats</A> </TD><TD valign=top> Statistics about event buffer queue. </TD></TR> <TR><TD valign=top> <A href="types.html#DFBEventClass">DFBEventClass</A> </TD><TD valign=top> Event class. </TD></TR> <TR><TD valign=top> <A href="types.html#DFBFontAttributes">DFBFontAttributes</A> </TD><TD valign=top> Flags describing how to load a font. <br><br> 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. </TD></TR> <TR><TD valign=top> <A href="types.html#DFBFontDescription">DFBFontDescription</A> </TD><TD valign=top> Description of how to load glyphs from a font file. <br><br> 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. <br><br> Please note that the height value in the DFBFontDescription doesn't correspond to the height returned by <a href="IDirectFBFont_GetHeight.html">IDirectFBFont::GetHeight()</a>. <br><br> The index field controls which face is loaded from a font file that provides a collection of faces. This is rarely needed. <br><br> Fractional sizes (fract_height and fract_width) are 26.6 fixed point integers and override the pixel sizes if both are specified. </TD></TR> <TR><TD valign=top> <A href="types.html#DFBFontDescriptionFlags">DFBFontDescriptionFlags</A> </TD><TD valign=top> Flags defining which fields of a DFBFontDescription are valid. </TD></TR> <TR><TD valign=top> <A href="types.html#DFBGetDataCallback">DFBGetDataCallback</A> </TD><TD valign=top> Called for each block of continous data requested, e.g. by a Video Provider. Write as many data as you can but not more than specified by length. Return the number of bytes written or 'EOF' if no data is available anymore. </TD></TR> <TR><TD valign=top> <A href="types.html#DFBGraphicsDeviceDescription">DFBGraphicsDeviceDescription</A> </TD><TD valign=top> Description of the graphics device capabilities. </TD></TR> <TR><TD valign=top> <A href="types.html#DFBGraphicsDriverInfo">DFBGraphicsDriverInfo</A> </TD><TD valign=top> </TD></TR> <TR><TD valign=top> <A href="types.html#DFBImageCapabilities">DFBImageCapabilities</A> </TD><TD valign=top> Capabilities of an image. </TD></TR> <TR><TD valign=top> <A href="types.html#DFBImageDescription">DFBImageDescription</A> </TD><TD valign=top> Information about an image including capabilities and values belonging to available capabilities. </TD></TR> <TR><TD valign=top> <A href="types.html#DFBInputDeviceAxisIdentifier">DFBInputDeviceAxisIdentifier</A> </TD><TD valign=top> Axis identifier (index) for e.g. mouse or joystick. <br><br> 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). </TD></TR> <TR><TD valign=top> <A href="types.html#DFBInputDeviceButtonIdentifier">DFBInputDeviceButtonIdentifier</A> </TD><TD valign=top> Identifier (index) for e.g. mouse or joystick buttons. </TD></TR> <TR><TD valign=top> <A href="types.html#DFBInputDeviceButtonMask">DFBInputDeviceButtonMask</A> </TD><TD valign=top> Flags specifying which buttons are currently down. </TD></TR> <TR><TD valign=top> <A href="types.html#DFBInputDeviceButtonState">DFBInputDeviceButtonState</A> </TD><TD valign=top> Specifies whether a button is currently pressed. </TD></TR> <TR><TD valign=top> <A href="types.html#DFBInputDeviceCallback">DFBInputDeviceCallback</A> </TD><TD valign=top> Called for each existing input device. "device_id" can be used to get an interface to the device. </TD></TR> <TR><TD valign=top> <A href="types.html#DFBInputDeviceCapabilities">DFBInputDeviceCapabilities</A> </TD><TD valign=top> Basic input device features. </TD></TR> <TR><TD valign=top> <A href="types.html#DFBInputDeviceDescription">DFBInputDeviceDescription</A> </TD><TD valign=top> Description of the input device capabilities. </TD></TR> <TR><TD valign=top> <A href="types.html#DFBInputDeviceKeyIdentifier">DFBInputDeviceKeyIdentifier</A> </TD><TD valign=top> DirectFB key identifiers (for basic mapping) </TD></TR> <TR><TD valign=top> <A href="types.html#DFBInputDeviceKeyState">DFBInputDeviceKeyState</A> </TD><TD valign=top> Specifies whether a key is currently down. </TD></TR> <TR><TD valign=top> <A href="types.html#DFBInputDeviceKeySymbol">DFBInputDeviceKeySymbol</A> </TD><TD valign=top> DirectFB key symbols (for advanced mapping) </TD></TR> <TR><TD valign=top> <A href="types.html#DFBInputDeviceKeyType">DFBInputDeviceKeyType</A> </TD><TD valign=top> DirectFB key types (for advanced mapping) </TD></TR> <TR><TD valign=top> <A href="types.html#DFBInputDeviceKeymapEntry">DFBInputDeviceKeymapEntry</A> </TD><TD valign=top> One entry in the keymap of an input device. </TD></TR> <TR><TD valign=top> <A href="types.html#DFBInputDeviceKeymapSymbolIndex">DFBInputDeviceKeymapSymbolIndex</A> </TD><TD valign=top> Groups and levels as an index to the symbol array. </TD></TR> <TR><TD valign=top> <A href="types.html#DFBInputDeviceLockState">DFBInputDeviceLockState</A> </TD><TD valign=top> Flags specifying the key locks that are currently active. </TD></TR> <TR><TD valign=top> <A href="types.html#DFBInputDeviceModifierKeyIdentifier">DFBInputDeviceModifierKeyIdentifier</A> </TD><TD valign=top> DirectFB modifier key identifiers (for advanced mapping) </TD></TR> <TR><TD valign=top> <A href="types.html#DFBInputDeviceModifierMask">DFBInputDeviceModifierMask</A> </TD><TD valign=top> Flags specifying which modifiers are currently pressed. </TD></TR> <TR><TD valign=top> <A href="types.html#DFBInputDeviceTypeFlags">DFBInputDeviceTypeFlags</A> </TD><TD valign=top> Type of input device for basic classification. Values may be or'ed together. </TD></TR> <TR><TD valign=top> <A href="types.html#DFBInputEvent">DFBInputEvent</A> </TD><TD valign=top> An input event, item of an input buffer. </TD></TR>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -