compile insert rti_IDE_PGO_Image_Equates
/*
   ** Copyright (C) 2012-2014 Revelation Software Inc. All Rights Reserved **
   
   This  program  is  proprietary and is not  to be used  by or  disclosed
   to others, nor is it to be copied without written permission from
   Revelation Technologies, Inc.
   
   Author   : Captain C
   Date     : October 2014
   Purpose  : Equates for use with the RTI_IDE_PGO_IMAGE dialog
   
   Comments
   ========
   
   ("PGO" == Property Grid Options)
   
   This dialog is used by the form designer to select and image for a control
   and define it's properties.
   
   An image can support the following design time properties:
   
      ALIGN            (optional)
      AUTOSCALE 
      COLORKEY
      COUNT            (optional)
      INDEX            (optional)
      OFFSET           (optional)
      ORIGIN           (optional)
      STYLE            (optional)
      TRANSLUCENCY     (optional)

   So a set of flags (from PS_PROPERTY_TYPEINFO_EQUATES) is passed to denote
   which properties should be shown.
   
   
   Amended  Date        Reason
   =======  ====        ======
   Mr C     17 Sep 17   Added PGOIMAGE_CREATEPARAM_MULTIMODE$
   Mr C     30 Dec 16   Added Async mode
   Mr C     08 Sep 16   Added PGOIMAGE_CREATEPARAM_CLASSIDS$
   Mr C     19 Nov 14   Renamed image "NUMBER" properties to "INDEX"
*/
///////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////
#ifndef _RTI_IDE_PGO_IMAGE_EQUATES_
#define _RTI_IDE_PGO_IMAGE_EQUATES_
///////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////

   // CREATE method CreateParam equates
   //
   //          <1> "Parent" property grid ID
   //          <2> Property name that is being edited
   //          <3> Property Flags - flags from the property typeinfo that 
   //              specify what properties can be edited.
   //          <4> ImageInfo (@vm delimited)
   //          <5> TRUE$ if the image cannot be changed.
   //          <6> List of CLASSIDs to load into the combo (@vm delimited)
   //              Defaults to all IMAGE classes.
   //          <7> TRUE$ to execute as a modeless/async dialog
   //          <8> TRUE$ to operate in "multi-mode"
   
   equ PGOIMAGE_CREATEPARAM_PROPGRID$             to 1
   equ PGOIMAGE_CREATEPARAM_PROPNAME$             to 2
   equ PGOIMAGE_CREATEPARAM_PROPFLAGS$            to 3
   equ PGOIMAGE_CREATEPARAM_IMAGEINFO$            to 4
   equ PGOIMAGE_CREATEPARAM_READONLY$             to 5
   equ PGOIMAGE_CREATEPARAM_CLASSIDS$             to 6
   equ PGOIMAGE_CREATEPARAM_ASYNC$                to 7
   equ PGOIMAGE_CREATEPARAM_MULTIMODE$            to 8

///////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////

   // Some image types like ICON and CURSOR don't have any properties to 
   // apply, so in that case we hide the property grid.  To specify this pass
   // the following value in PGOIMAGE_CREATEPARAM_PROPFLAGS$
   
   equ PGOIMAGE_FLAGS_HIDE_PROPERTIES$            to -1
   
///////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////
   
   // Image Info structure - this is an @vm delimited array that is passed
   // in the CREATE method and returned via End_Dialog()
   
   equ PGOIMAGE_INFO_TYPEID$                      to 1  ; // Repos Type ID - IMAGE (default) or IMAGELIST
   equ PGOIMAGE_INFO_CLASSID$                     to 2  ; // Repos Class ID
   equ PGOIMAGE_INFO_ENTITYID$                    to 3  ; // Repos Entity ID
   equ PGOIMAGE_INFO_ALIGN$                       to 4  ; // ALIGN property
   equ PGOIMAGE_INFO_AUTOSCALE$                   to 5  ; // AUTOSCALE property
   equ PGOIMAGE_INFO_COLORKEY$                    to 6  ; // COLORKEY property
   equ PGOIMAGE_INFO_COUNT$                       to 7  ; // COUNT property
   equ PGOIMAGE_INFO_INDEX$                       to 8  ; // INDEX property
   equ PGOIMAGE_INFO_OFFSET$                      to 9  ; // OFFSET property (@svm delimited)
   equ PGOIMAGE_INFO_ORIGIN$                      to 10 ; // ORIGIN property (@svm delimited)
   equ PGOIMAGE_INFO_STYLE$                       to 11 ; // STYLE property
   equ PGOIMAGE_INFO_TRANSLUCENCY$                to 12 ; // TRANSLUCENCY property
   equ PGOIMAGE_INFO_WIDTH$                       to 13 ; // Image Width property
   equ PGOIMAGE_INFO_HEIGHT$                      to 14 ; // Image Height property

///////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////

   // Valid character strings for properties
   
   equ PGOIMAGE_VALID_INT_CHARS$                  to "0123456789-+"
   equ PGOIMAGE_VALID_UINT_CHARS$                 to "0123456789"
   equ PGOIMAGE_VALID_XYPOS_CHARS$                to PGOIMAGE_VALID_INT_CHARS$ : ","
   
///////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////

   equ PGOIMAGE_RETVAL_NOIMAGE$                   to "<noimage>"
   
///////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////
#endif
///////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////


