cs sdk v 1.14 released

Home  |  Product  |  Documents  |  Tutorials  |  FAQ |   Download  |   Forum |   Contacts  |   Link  


  Cross Suit

 Cross Suit SDK

 Documents
      classes
 Starting...
           Tutorials

 LUA tutorials

   Support

  Forum
  q&a

 Product parts

 Virtual File system

 Virtual Render
 Virtual Machine
   

  Demo Games

   

 3D Engine

  gvSystem(dx9)

 Link

 

 

gv_dibsection.h

Go to the documentation of this file.
00001 /******************************************************
00002         gv System 1.12
00003 *******************************************************/
00004 
00005 
00006 #ifndef __GVDIBSECTION_H__
00007 #define __GVDIBSECTION_H__
00008 
00013 class gvDIBSection{
00014 public: 
00015         BYTE *pBits;
00016         int Width, Height;
00017         unsigned int BytesPerScanline;
00018         HDC hScreenDC, hMemoryDC;
00019         HBITMAP hDefaultBitmap, hDIBitmap;      
00020 
00021 public: 
00022         gvDIBSection();
00023         ~gvDIBSection();
00024         void Destroy(void);
00025         HDC Create(HDC hScreenDC, int width, int height);
00026         void Clear(unsigned char r,unsigned char g,unsigned char b);
00027         void Swap(void);
00028 private:
00029         HBITMAP MakeDIBSection(int width, int height, BYTE **ppBits);
00030 };
00031 
00032 #endif
00033 

Copyright(C) gvSystem & GamePlus All Rights Reserved.