Difference between revisions of "User:Ericb/Salgtype.hxx"

From Apache OpenOffice Wiki
Jump to: navigation, search
 
Line 1: Line 1:
 +
Defines some structures and constants.
 +
 
Includes :  
 
Includes :  
  
'''sv.h''' ->  which includes '''tools/solar.h''' and '''tools/solar.h''' does contain types definition, with inclusions for sal/types and osl/endian.h
+
    '''sv.h''' ->  which includes '''tools/solar.h''' and '''tools/solar.h''' does contain types definition, with inclusions for sal/types and osl/endian.h
 +
 
 +
Constants :
 +
 
 +
''SalColor'' :
 +
 
 +
    '''MAKE_SALCOLOR( r, g, b )'''
 +
    '''SALCOLOR_RED( n )'''
 +
    '''SALCOLOR_GREEN( n )'''
 +
    '''SALCOLOR_BLUE ( n )'''
 +
 
 +
''SalROPColor'' :
 +
 
 +
    '''SAL_ROP_0'''
 +
    '''SAL_ROP_1'''
 +
    '''SAL_ROP_INVERT'''
 +
 
 +
''SalInvert'' :
 +
 
 +
    '''SAL_INVERT_HIGHLIGHT'''
 +
    '''SAL_INVERT_50'''
 +
    '''SAL_INVERT_TRACKFRAME'''
 +
 
 +
 
 +
Structure :
 +
 
 +
    '''SalTwoRect''' is defined by the following parameters :
 +
        mnSrcX
 +
        mnSrcY
 +
        mnSrcWidth
 +
        mnSrcHeight
 +
        mnDestX
 +
        mnDestY
 +
        mnDestWidth
 +
        mnDestHeight

Revision as of 10:11, 14 February 2006

Defines some structures and constants.

Includes :

   sv.h ->  which includes tools/solar.h and tools/solar.h does contain types definition, with inclusions for sal/types and osl/endian.h

Constants :

SalColor :

   MAKE_SALCOLOR( r, g, b )
   SALCOLOR_RED( n )
   SALCOLOR_GREEN( n )
   SALCOLOR_BLUE ( n )

SalROPColor :

   SAL_ROP_0
   SAL_ROP_1
   SAL_ROP_INVERT

SalInvert :

   SAL_INVERT_HIGHLIGHT
   SAL_INVERT_50
   SAL_INVERT_TRACKFRAME


Structure :

   SalTwoRect is defined by the following parameters : 
       mnSrcX
       mnSrcY
       mnSrcWidth
       mnSrcHeight
       mnDestX
       mnDestY
       mnDestWidth
       mnDestHeight
Personal tools