mirror of
https://gitee.com/js-yhsec/energy_storage.git
synced 2026-05-27 18:59:26 +08:00
搭建PVB架构,实现前端的基础布局、菜单、表格、图示等功能
This commit is contained in:
36
libs/pvb/include/pvserver/pvbImage.h
Normal file
36
libs/pvb/include/pvserver/pvbImage.h
Normal file
@@ -0,0 +1,36 @@
|
||||
/***************************************************************************
|
||||
pvbImage.h - description
|
||||
-------------------
|
||||
begin : Sun Okt 12 2001
|
||||
copyright : (C) 2000 by R. Lehrig
|
||||
email : lehrig@t-online.de
|
||||
***************************************************************************/
|
||||
|
||||
/***************************************************************************
|
||||
* *
|
||||
* This library is free software; you can redistribute it and/or modify *
|
||||
* it under the terms of the GNU LESSER GENERAL PUBLIC LICENSE as *
|
||||
* published by the Free Software Foundation *
|
||||
* *
|
||||
***************************************************************************/
|
||||
|
||||
#include "BMP.h"
|
||||
|
||||
typedef struct
|
||||
{
|
||||
unsigned char b,g,r,reserved;
|
||||
}LUT;
|
||||
|
||||
typedef struct
|
||||
{
|
||||
int w,h,bpp,nLut;
|
||||
LUT *lut;
|
||||
void *image;
|
||||
}
|
||||
PVB_IMAGE;
|
||||
|
||||
PVB_IMAGE *pvbImageRead(const char *filename);
|
||||
void pvbImageFree(PVB_IMAGE *pvbImage);
|
||||
|
||||
int pvmyread(int fhdl, char *cptr, int len);
|
||||
int pvopenBinary(const char *filename);
|
||||
Reference in New Issue
Block a user