89 lines
		
	
	
		
			4.0 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			89 lines
		
	
	
		
			4.0 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| compile insert ps_RadioGroup_Equates
 | |
| /* 
 | |
|    ** Copyright (C) 2013 Revelation Software Inc. All Rights Reserved **
 | |
|    
 | |
|    Author   : Wile C Coyote - Super Genius
 | |
|    Date     : June 2013
 | |
|    Purpose  : Constants for working with PS RADIOGROUP object 
 | |
|               structures
 | |
|    
 | |
|    
 | |
|    Comments
 | |
|    ========
 | |
|    
 | |
|    The RadioGroup inherits from Static and so supports all the same properties
 | |
|    except for:
 | |
|    
 | |
|       AUTOELLIPSES
 | |
|       DUMMYCAPTION
 | |
|       WORDWRAP
 | |
|    
 | |
|    
 | |
|    Amended  Date        Reason
 | |
|    =======  ====        ======
 | |
|    Mr C     23 Jun 16   Updated PS style bits
 | |
| */
 | |
| ///////////////////////////////////////////////////////////////////////////////
 | |
| ///////////////////////////////////////////////////////////////////////////////
 | |
| #ifndef _PS_RADIOGROUP_EQUATES_
 | |
| #define _PS_RADIOGROUP_EQUATES_
 | |
| ///////////////////////////////////////////////////////////////////////////////
 | |
| ///////////////////////////////////////////////////////////////////////////////
 | |
| 
 | |
|    $insert ps_Equates
 | |
|    
 | |
| ///////////////////////////////////////////////////////////////////////////////
 | |
| ///////////////////////////////////////////////////////////////////////////////
 | |
| 
 | |
|    // Properties held in window style bits in PSPOS_SDKSTYLE$ <0,0,1>
 | |
| 
 | |
| ///////////////////////////////////////////////////////////////////////////////   
 | |
| ///////////////////////////////////////////////////////////////////////////////
 | |
| 
 | |
|    * // PS Style equates
 | |
|    equ PSS_RADIOGROUP_ARRANGE_V$           to 0x00000100 ; * // AUTOLAYOUT property
 | |
|    equ PSS_RADIOGROUP_ARRANGE_H$           to 0x00000200 ; * // AUTOLAYOUT property
 | |
|    equ PSS_RADIOGROUP_ARRANGE_FLOW$        to 0x00000400 ; * // AUTOLAYOUT property
 | |
|    
 | |
|    equ PSS_RADIOGROUP_ARRANGE_VFLOW$       to ( PSS_RADIOGROUP_ARRANGE_V$ +  |
 | |
|                                                 PSS_RADIOGROUP_ARRANGE_FLOW$ )
 | |
|    equ PSS_RADIOGROUP_ARRANGE_HFLOW$       to ( PSS_RADIOGROUP_ARRANGE_H$ +  |
 | |
|                                                 PSS_RADIOGROUP_ARRANGE_FLOW$ )                                             
 | |
|    equ PSS_RADIOGROUP_ARRANGE_MASK$        to ( PSS_RADIOGROUP_ARRANGE_V$ +  |
 | |
|                                                 PSS_RADIOGROUP_ARRANGE_H$ +  |
 | |
|                                                 PSS_RADIOGROUP_ARRANGE_FLOW$ )
 | |
| 
 | |
| ///////////////////////////////////////////////////////////////////////////////
 | |
| ///////////////////////////////////////////////////////////////////////////////
 | |
| 
 | |
|    // OIWIN/OIWINEXE structure overrides for RADIOGROUP
 | |
|    // 
 | |
|    // PSPOS_RGP_VALUES$ and PSPOS_RGP_LABELS are an AMV group (they were
 | |
|    // @tm'd in v9, we've stepped them up to @svm in v10 in the interests
 | |
|    // of sanity
 | |
|    
 | |
|    equ POS_RGP_VALUES$                to POS_LIST$             ; * // @svm'd list of Button values
 | |
|    equ POS_RGP_LABELS$                to POS_LABEL$            ; * // @svm'd list of Button labels
 | |
|    equ POS_RGP_DEFAULTVALUE$          to POS_VALUE$            ; * // Default value (VALUE property)
 | |
|    
 | |
|    equ PSPOS_RGP_VALUES$              to PSPOS_LIST$           ; * // @svm'd list of Button values
 | |
|    equ PSPOS_RGP_LABELS$              to PSPOS_LABEL$          ; * // @svm'd list of Button labels
 | |
|    equ PSPOS_RGP_DEFAULTVALUE$        to PSPOS_VALUE$          ; * // Default value (VALUE property)
 | |
|    
 | |
| ///////////////////////////////////////////////////////////////////////////////   
 | |
| ///////////////////////////////////////////////////////////////////////////////
 | |
| 
 | |
|    * // AUTOLAYOUT property
 | |
|    
 | |
|    equ PS_RGP_AL_NONE$                  to 0
 | |
|    equ PS_RGP_AL_VERT$                  to 1
 | |
|    equ PS_RGP_AL_HORZ$                  to 2
 | |
|    equ PS_RGP_AL_VERT_FLOW$             to 3
 | |
|    equ PS_RGP_AL_HORZ_FLOW$             to 4   
 | |
|       
 | |
| ///////////////////////////////////////////////////////////////////////////////
 | |
| ///////////////////////////////////////////////////////////////////////////////
 | |
| #endif
 | |
| ///////////////////////////////////////////////////////////////////////////////
 | |
| ///////////////////////////////////////////////////////////////////////////////  
 |