OWLNext    7.0
Borland's Object Windows Library for the modern age
Loading...
Searching...
No Matches
owl::TImageInfo Class Reference

TImageInfo is a wrapper class for a structure that describes an image within an image list. More...

#include <owl/imagelst.h>

Inheritance diagram for owl::TImageInfo:

Public Member Functions

 TImageInfo ()
 Constructs an empty image info.
 
 TImageInfo (const TImageList &list, int index=0)
 Construct based on an image within the image list.
 
HBITMAP GetImageBM () const
 Gets the image bitmap.
 
HBITMAP GetMaskBM () const
 Gets the image's mask.
 
TRect GetImageRect () const
 Gets the area of the image.
 

Friends

class TImageList
 

Detailed Description

TImageInfo is a wrapper class for a structure that describes an image within an image list.

DLN made this derive from IMAGEINFO to simplify porting code using existing _IMAGEINFO structure. Of course, new code should avoid directly accessing these fields.

Definition at line 39 of file imagelst.h.

Constructor & Destructor Documentation

◆ TImageInfo() [1/2]

owl::TImageInfo::TImageInfo ( )
inline

Constructs an empty image info.

Definition at line 183 of file imagelst.h.

◆ TImageInfo() [2/2]

owl::TImageInfo::TImageInfo ( const TImageList & list,
int index = 0 )
inline

Construct based on an image within the image list.

Definition at line 189 of file imagelst.h.

Member Function Documentation

◆ GetImageBM()

HBITMAP owl::TImageInfo::GetImageBM ( ) const
inline

Gets the image bitmap.

Definition at line 196 of file imagelst.h.

◆ GetImageRect()

TRect owl::TImageInfo::GetImageRect ( ) const
inline

Gets the area of the image.

Definition at line 210 of file imagelst.h.

◆ GetMaskBM()

HBITMAP owl::TImageInfo::GetMaskBM ( ) const
inline

Gets the image's mask.

Definition at line 203 of file imagelst.h.

Friends And Related Symbol Documentation

◆ TImageList

Definition at line 49 of file imagelst.h.


The documentation for this class was generated from the following file: