2019-12-01 18:53:54 -07:00
|
|
|
#ifndef __FBINIT_H_INCLUDED
|
|
|
|
#define __FBINIT_H_INCLUDED
|
|
|
|
|
2019-12-05 18:21:37 -07:00
|
|
|
#include "wintype.h"
|
2019-12-01 19:39:14 -07:00
|
|
|
|
|
|
|
typedef struct tagFBINFO {
|
2019-12-05 18:21:37 -07:00
|
|
|
UINT32 width;
|
|
|
|
UINT32 height;
|
|
|
|
UINT32 virtual_width;
|
|
|
|
UINT32 virtual_height;
|
|
|
|
UINT32 bpp;
|
|
|
|
UINT32 linebytes;
|
|
|
|
UINT32 screenbytes;
|
|
|
|
UINT16 red_offset;
|
|
|
|
UINT16 red_length;
|
|
|
|
UINT16 red_mask;
|
|
|
|
UINT16 green_offset;
|
|
|
|
UINT16 green_length;
|
|
|
|
UINT16 green_mask;
|
|
|
|
UINT16 blue_offset;
|
|
|
|
UINT16 blue_length;
|
|
|
|
UINT16 blue_mask;
|
2019-12-01 19:39:14 -07:00
|
|
|
} FBINFO;
|
|
|
|
typedef const FBINFO * const PCFBINFO;
|
|
|
|
|
|
|
|
extern PCFBINFO Fb_Info;
|
2019-12-05 18:21:37 -07:00
|
|
|
extern UINT16 *Fb_Ptr;
|
2019-12-01 19:39:14 -07:00
|
|
|
|
2019-12-05 18:21:37 -07:00
|
|
|
extern HRESULT Fb_setup(void);
|
2019-12-01 18:53:54 -07:00
|
|
|
extern void Fb_cleanup(void);
|
|
|
|
|
|
|
|
#endif /* __FBINIT_H_INCLUDED */
|