GadgetSeed
0.9.6
framebuf.h
[詳解]
1
/** @file
2
@brief フレームバッファドライバ用コンテキスト定義
3
4
@date 2007.03.17
5
@author Takashi SHUDO
6
*/
7
8
#ifndef FRAMEBUF_H
9
#define FRAMEBUF_H
10
11
#include "sysconfig.h"
12
#include "
device.h
"
13
#include "
graphics.h
"
14
15
struct
st_framebuf_context
{
16
struct
st_device
*
v_dev
;
///< 下位デバイスドライバ
17
short
width
;
///< フレームバッファ幅ピクセル数
18
short
height
;
///< フレームバッファ高さピクセル数
19
unsigned
short
pixcel_byte
;
///< 1ピクセルのデータバイト数
20
unsigned
short
disp_frame
;
///< 表示フレームバッファ番号
21
unsigned
short
draw_frame
;
///< 描画フレームバッファ番号
22
unsigned
char
*
fb_ptr
[
MAX_FRAMEBUF
];
///< フレームバッファメモリポインタ
23
unsigned
int
mem_size
;
///< 1フレームのメモリバイト数
24
25
unsigned
int
fore_color
;
///< フォアカラー
26
unsigned
int
back_color
;
///< バックカラー
27
struct
st_rect
clip
;
///< 描画クリッピングエリア
28
short
pen_x
;
///< 描画ペンのX座標
29
short
pen_y
;
///< 描画ペンのY座標
30
unsigned
char
*
draw_ptr
;
///< 描画ペンのメモリアドレス
31
};
///< フレームバッファコンテキスト
32
33
#endif // FRAMEBUF_H
st_framebuf_context::back_color
unsigned int back_color
バックカラー
Definition:
framebuf.h:26
st_framebuf_context::pen_y
short pen_y
描画ペンのY座標
Definition:
framebuf.h:29
st_framebuf_context::fore_color
unsigned int fore_color
フォアカラー
Definition:
framebuf.h:25
st_rect
矩形
Definition:
graphics.h:64
st_framebuf_context::mem_size
unsigned int mem_size
1フレームのメモリバイト数
Definition:
framebuf.h:23
st_framebuf_context::fb_ptr
unsigned char * fb_ptr[MAX_FRAMEBUF]
フレームバッファメモリポインタ
Definition:
framebuf.h:22
st_framebuf_context::draw_frame
unsigned short draw_frame
描画フレームバッファ番号
Definition:
framebuf.h:21
MAX_FRAMEBUF
#define MAX_FRAMEBUF
最大フレームバッファ数
Definition:
graphics.h:14
st_framebuf_context::pen_x
short pen_x
描画ペンのX座標
Definition:
framebuf.h:28
st_framebuf_context::v_dev
struct st_device * v_dev
下位デバイスドライバ
Definition:
framebuf.h:16
st_framebuf_context
フレームバッファコンテキスト
Definition:
framebuf.h:15
st_framebuf_context::draw_ptr
unsigned char * draw_ptr
描画ペンのメモリアドレス
Definition:
framebuf.h:30
st_framebuf_context::pixcel_byte
unsigned short pixcel_byte
1ピクセルのデータバイト数
Definition:
framebuf.h:19
st_framebuf_context::clip
struct st_rect clip
描画クリッピングエリア
Definition:
framebuf.h:27
st_framebuf_context::disp_frame
unsigned short disp_frame
表示フレームバッファ番号
Definition:
framebuf.h:20
st_framebuf_context::height
short height
フレームバッファ高さピクセル数
Definition:
framebuf.h:18
device.h
デバイスドライバAPI
st_device
デバイスドライバ構造体
Definition:
device.h:25
st_framebuf_context::width
short width
フレームバッファ幅ピクセル数
Definition:
framebuf.h:17
graphics.h
グラフィックライブラリ
include
framebuf.h
構築:
1.8.13