返回列表 发帖

DirectFB类型(1)

Types
类型

DFBAccelerationMaskMask of accelerated functions.
加速功能的标识
DFBBooleanA boolean.
布尔类型
DFBColor A color defined by channels with 8bit each.
色定义每一通道有8位
DFBColorAdjustmentColor Adjustment used to adjust video colors.
色调整,经常调整视频色
All fields are in the range 0x0 to 0xFFFF with 0x8000 as the default value (no adjustment).
所有域是在 0x0 to 0xFFFF 范围内, 0x8000是默认值(非调整)
DFBColorAdjustmentFlagsFlags defining which fields of a DFBColorAdjustment are valid.
标识定义哪一个DFBColorAdjustment域有效
DFBCooperativeLevelThe cooperative level controls the super interface's behaviour in functions like SetVideoMode or CreateSurface for the primary.
协作层控制超级接口在功能上的行为,像 主平面的SetVideoMode或CreateSurface
DFBDataBufferDescriptionDescription of a data buffer that is to be created.
被创建数据缓冲的描述
DFBDataBufferDescriptionFlagsFlags defining which fields of a DFBDataBufferDescription are valid.
标识定义 DFBDataBufferDescription哪一个域有效
DFBDimensionA dimension specified by width and height.
一个指定宽与高的面积
DFBDisplayLayerBackgroundModeBackground mode defining how to erase/initialize the area for a windowstack repaint
背景模式定义 窗口堆栈如何擦除或初始重绘区域
DFBDisplayLayerBufferModeLayer Buffer Mode.
层缓冲模式
DFBDisplayLayerCallbackCalled for each existing display layer. "layer_id" can be used to get an interface to the layer.
每一个存在的显示层调用, "layer_id"可被用于取得一个层的接口
DFBDisplayLayerCapabilitiesCapabilities of a display layer.
显示层的能力
DFBDisplayLayerConfigLayer configuration
层配置
DFBDisplayLayerConfigFlagsLayer configuration flags
层配置标识
DFBDisplayLayerCooperativeLevelCooperative level handling the access permissions.
协助层控制访问许可
DFBDisplayLayerDescriptionDescription of the display layer capabilities.
显示层能力的描述
DFBDisplayLayerOptionsUsed to enable some capabilities like flicker filtering or colorkeying.
用于允许某些功能,像防闪烁或关键在于色
DFBDisplayLayerSourceDescriptionDescription of a display layer source.
源显示的描述
DFBDisplayLayerTypeFlagsType of display layer for basic classification. Values may be or'ed together. 显示层类型的基本法分类
DFBEnumerationResultReturn value of callback function of enumerations.
枚举回调函数的返回值
DFBEventGeneral container for a DirectFB Event.
DirectFB事件的一般容器
DFBEventBufferStatsStatistics about event buffer queue.
统计事件的队列
DFBEventClassEvent class.
事件类
DFBFontAttributesFlags describing how to load a font.
描述标识如何加载字体
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.
这些标识描述如何加载字体以及如何绘制文字。如果字体已加载后就再没有办法改变。如果想以不同的属性绘制一个字体,需要为这个字体创建多个FontProviders。
DFBFontDescriptionDescription of how to load glyphs from a font file.
描述如何加载一个字体文件的文字
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 DFBFontDescription doesn't correspond to the height returned by IDirectFBFont::GetHeight().
请注意字体的高度与 返回值的高度不太相符。
The index field controls which face is loaded from a font file that provides a collection of faces. This is rarely needed.
用索引域控制从字体文件提供的外观集中哪一个加载外观。这个不太必要。

Fractional sizes (fract_height and fract_width) are 26.6 fixed point integers and override the pixel sizes if both are specified.
DFBFontDescriptionFlags Flags defining which fields of a DFBFontDescription are valid.
标识定义DFBFontDescription 哪一个域有效
DFBGLAttributesAttributes of an OpenGL context.
OpenGL内容的属性
DFBGetDataCallbackCalled 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.
被需求连续数据块 调用,例如:视频装备容器. 可以在不超过的长度内写入大量数据。返回写入的字节数或 'EOF'如果没有效的数据
DFBGraphicsDeviceDescriptionDescription of the graphics device capabilities.
图形设备性能的描述
DFBGraphicsDriverInfo图形设备相关信息
DFBImageCapabilitiesCapabilities of an image.
图像的性能
DFBImageDescriptionInformation about an image including capabilities and values belonging to available capabilities.
图像性能有关的信息与有效的性能
DFBInputDeviceAxisIdentifierAxis identifier (index) for e.g. mouse or joystick.
鼠标或游戏杆的轴心定义
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).
X, Y , Z轴已经预定,访问其他轴用DIAI_FIRST乘以0为基本定位,例如4个轴将是 (DIAI_FIRST + 3)
DFBInputDeviceButtonIdentifieIdentifier (index) for e.g. mouse or joystick buttons.
定位鼠标或游戏杆
DFBInputDeviceButtonMaskFlags specifying which buttons are currently down.
标识当前按下的具体按钮
DFBInputDeviceButtonStateSpecifies whether a button is currently pressed.
指定当前哪一个按钮被按下
DFBInputDeviceCallbackCalled for each existing input device. "device_id" can be used to get an interface to the device.
每一个存在的输入设备调用, "device_id" 可用于取得设备的接口。
DFBInputDeviceCapabilitiesBasic input device features.
基本法输入功能
DFBInputDeviceDescriptionDescription of the input device capabilities.
输入设备能力的描述
DFBInputDeviceKeyIdentifierDirectFB key identifiers (for basic mapping)
DirectFB键的标记(基本法映射)
[DFBInputDeviceKeyStateSpecifies whether a key is currently down.
指定是否当前有键 按下
[DFBInputDeviceKeySymbolDirectFB key symbols (for advanced mapping)
DirectFB键的符号(高级映射用)
DFBInputDeviceKeyTypeDirectFB key types (for advanced mapping)
DirectFB键类型(高级映射)
DFBInputDeviceKeymapEntryOne entry in the keymap of an input device.
一个输入设备键映射的入口
DFBInputDeviceKeymapSymbolIndexGroups and levels as an index to the symbol array.
组数与层数当做一个字符数组的索引
DFBInputDeviceLockStateFlags specifying the key locks that are currently active.
标识指定当前活动的 关键色
DFBInputDeviceModifierKeyIdentifierDirectFB modifier key identifiers (for advanced mapping)
DirectFB 修饰键定义(作高级映射)
DFBInputDeviceModifierMaskFlags specifying which modifiers are currently pressed.
标识定义当前哪一个 修饰键被按下
DFBInputDeviceTypeFlagsType of input device for basic classification. Values may be or'ed together.
输入设备类型的基本分类。
DFBInputEventAn input event, item of an input buffer.
一个输入事件,输入缓冲的条目
DFBInputEventFlagsFlags defining which additional (optional) event fields are valid.
标识定义附加(可选)事件域有效
DFBInputEventTypeThe type of an input event.
输入事件的类型
DFBInsetsInsets specify a distance from each edge of a rectangle.
插入矩形边框的具体距离
Positive values always mean 'outside'.
正值代表外框
DFBLocationA rectangle specified by normalized coordinates.
矩形的常量坐标
E.g. using 0.0, 0.0, 1.0, 1.0 would specify the whole screen.
例如用 0.0, 0.0, 1.0, 1.0可以指定整个屏幕
DFBPaletteCapabilitiesThe palette capabilities.
调色板的性能
DFBPaletteDescriptionDescription of the palette that is to be created.
创建调色板的描述
DFBPaletteDescriptionFlagsFlags defining which fields of a DFBPaletteDescription are valid.
标识定义DFBPaletteDescription哪一个域有效


[ 本帖最后由 hema 于 2007-10-25 00:44 编辑 ]

阅过   八错~

TOP

辛苦了!

TOP

返回列表