191 logPal->palVersion = 0x300;
206 logPal->palPalEntry[0].peRed = 0;
207 logPal->palPalEntry[0].peGreen = 0;
208 logPal->palPalEntry[0].peBlue = 0;
209 logPal->palPalEntry[0].peFlags = 0;
213 logPal->palPalEntry[255].peRed = 255;
214 logPal->palPalEntry[255].peGreen = 255;
215 logPal->palPalEntry[255].peBlue = 255;
216 logPal->palPalEntry[255].peFlags = 0;
TBitmap is the GDI bitmap class derived from TGdiObject.
The clipboard class encapsulates the methods for the clipboard object of Windows.
HBITMAP CreateDIBSection(const BITMAPINFO &info, uint usage, void **bits, HANDLE section=0, uint32 offset=0)
Create a fast DIB under Win32.
void SelectObject(const TBrush &brush)
Selects the given GDI brush object into this DC.
int RealizePalette()
Maps to the system palette the logical palette entries selected into this DC.
void InitBitmap()
Initializes our bitmap side from the DIB side.
~TDiBitmap()
Restore Bits data member to 0.
Pseudo-GDI object Device Independent Bitmap (DIB) class.
uint16 Usage() const
Returns the Mode for this DIB.
void CheckValid(uint resId=IDS_GDIFAILURE)
const BITMAPINFO * GetInfo() const
Returns this DIB's Info field.
long NumColors() const
Returns NumClrs, the number of colors in this DIB's palette.
uint32 SizeImage() const
Returns number of bytes used to store the image.
The TFile class encapsulates standard file characteristics and operations.
HANDLE Handle
GDI handle of this object.
void CheckValid(uint resId=IDS_GDIFAILURE)
bool ShouldDelete
Should object delete GDI handle in dtor?
static void RefAdd(HANDLE handle, TType type)
RefAdd adds a reference entry for the object with the given handle and type.
HANDLE Handle
GDI handle of this object.
THalftonePalette()
Default constructor. Retrieves the system's halftone palette.
TIdentityPalette(const TPalette &palette)
Implementation of Identity Palette object, TIdentityPalette.
TPalette is the GDI Palette class derived from TGdiObject.
Derived from TWindowDC, TScreenDC is a DC class that provides direct access to the screen bitmap.
Definition of DeviceIndependent Bitmap object class.
Definition of abstract GDI object class and derived classes.
TAutoDelete
Flag for Handle ctors to control Handle deletion in dtor.
Object Windows Library (OWLNext Core)
Various types of smart pointer templatized classes.
Classes for window system structure and type encapsulation.