home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 10 Tools
/
10-Tools.zip
/
uicldd.zip
/
IDMIMAGE.INL
< prev
next >
Wrap
Text File
|
1993-09-03
|
10KB
|
187 lines
#ifndef _IDMIMAGE_INL_
#define _IDMIMAGE_INL_ 0
/*******************************************************************************
* FILE NAME: idmimage.inl *
* *
* DESCRIPTION: *
* This file contains the definition of the inline functions for the *
* class(es) declared in idmimage.hpp. *
* *
* COPYRIGHT: *
* Licensed Materials - Property of IBM *
* (C) Copyright IBM Corporation 1992, 1993 *
* All Rights Reserved *
* US Government Users Restricted Rights - Use, duplication, or *
* disclosure *
* restricted by GSA ADP Schedule Contract with IBM Corp. *
* *
* $Log: S:/ibmclass/idrag/vcs/idmimage.inv $ *
//
// Rev 1.0 03 Sep 1993 11:18:00 HAGGAR
//Initial revision.
//
// Rev 1.0 24 Aug 1993 10:42:02 HAGGAR
//Initial revision.
//
*******************************************************************************/
#ifndef _IDMIMAGE_
#undef _IDMIMAGE_INL_
#define _IDMIMAGE_INL_ 1
#include <idmimage.hpp>
#endif
#if _IDMIMAGE_INL_
#define inline
#endif
/**************************************************************************/
/* IDMImage :: pointerImage */
/* Returns the pointer image handle. */
/* */
/* History: */
/* 08/24/93 Peter Haggar Created it. */
/**************************************************************************/
inline IPointerHandle* IDMImage::pointerImage ()
{
return (pPointerImage);
}
/**************************************************************************/
/* IDMImage :: bitmapImage */
/* Returns the bitmap image handle. */
/* */
/* History: */
/* 08/24/93 Peter Haggar Created it. */
/**************************************************************************/
inline IBitmapHandle* IDMImage::bitmapImage ()
{
return (pBitmapImage);
}
/**************************************************************************/
/* IDMImage :: pointerOffset */
/* Returns the offset of the image from the pointing device. */
/* */
/* History: */
/* 08/24/93 Peter Haggar Created it. */
/**************************************************************************/
inline ISize IDMImage::pointerOffset ()
{
return (ptrOffset);
}
/**************************************************************************/
/* IDMImage :: pointerOffset */
/* Returns the size of the image when stretched. */
/* */
/* History: */
/* 08/24/93 Peter Haggar Created it. */
/**************************************************************************/
inline ISize IDMImage::stretchSize ()
{
return (imageStretchSize);
}
/**************************************************************************/
/* IDMImage :: imageFlags */
/* Returns the flags used to describe the image. */
/* */
/* History: */
/* 08/24/93 Peter Haggar Created it. */
/**************************************************************************/
inline unsigned long IDMImage::imageFlags ()
{
return (imgFlags);
}
/**************************************************************************/
/* IDMImage :: arrayPoints */
/* Returns the number of array points. */
/* */
/* History: */
/* 08/24/93 Peter Haggar Created it. */
/**************************************************************************/
inline unsigned short IDMImage::arrayPoints ()
{
return (arrPoints);
}
/**************************************************************************/
/* IDMImage :: setPointerImage */
/* Sets the pointer image handle. */
/* */
/* History: */
/* 08/24/93 Peter Haggar Created it. */
/**************************************************************************/
inline IDMImage& IDMImage::setPointerImage (IPointerHandle *pPtrImage)
{
pPointerImage = pPtrImage;
return (*this);
}
/**************************************************************************/
/* IDMImage :: setBitmapImage */
/* Sets the bitmap image handle. */
/* */
/* History: */
/* 08/24/93 Peter Haggar Created it. */
/**************************************************************************/
inline IDMImage& IDMImage::setBitmapImage (IBitmapHandle *pBMImage)
{
pBitmapImage = pBMImage;
return (*this);
}
/**************************************************************************/
/* IDMImage :: setPointerOffset */
/* Sets the offset of the image from the pointing device. */
/* */
/* History: */
/* 08/24/93 Peter Haggar Created it. */
/**************************************************************************/
inline IDMImage& IDMImage::setPointerOffset (ISize& pointerOffset)
{
ptrOffset = pointerOffset;
return (*this);
}
/**************************************************************************/
/* IDMImage :: setStretchSize */
/* Sets the size of the image when stretched. */
/* */
/* History: */
/* 08/24/93 Peter Haggar Created it. */
/**************************************************************************/
inline IDMImage& IDMImage::setStretchSize (ISize& stretchSize)
{
imageStretchSize = stretchSize;
return (*this);
}
/**************************************************************************/
/* IDMImage :: setImageFlags */
/* Sets the flags used to describe the image. */
/* */
/* History: */
/* 08/24/93 Peter Haggar Created it. */
/**************************************************************************/
inline IDMImage& IDMImage::setImageFlags (unsigned long flags)
{
imgFlags = flags;
return (*this);
}
/**************************************************************************/
/* IDMImage :: setArrayPoints */
/* Sets the array points used when specific image flags are set */
/* */
/* History: */
/* 08/24/93 Peter Haggar Created it. */
/**************************************************************************/
inline IDMImage& IDMImage::setArrayPoints (unsigned short arrayPoints)
{
arrPoints = arrayPoints;
return (*this);
}
#endif //IDMIMAGE