home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / opendc12.zip / od124os2.exe / od12osp1.exe / src / grafpart / iodgtext.idl < prev    next >
Text File  |  1997-04-02  |  3KB  |  116 lines

  1. // @(#) 1.2 com/src/samples/grafpart/iodgtext.idl, odgrafpart, od96os2, odos29712d 2/7/97 17:42:25 [3/21/97 17:49:30]
  2. //#====START_GENERATED_PROLOG======================================
  3. //#
  4. //#
  5. //#   COMPONENT_NAME: odgrafpart
  6. //#
  7. //#   CLASSES: none
  8. //#
  9. //#   ORIGINS: 27
  10. //#
  11. //#
  12. //#   (C) COPYRIGHT International Business Machines Corp. 1995,1996
  13. //#   All Rights Reserved
  14. //#   Licensed Materials - Property of IBM
  15. //#   US Government Users Restricted Rights - Use, duplication or
  16. //#   disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
  17. //#
  18. //#   IBM DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING
  19. //#   ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
  20. //#   PURPOSE. IN NO EVENT SHALL IBM BE LIABLE FOR ANY SPECIAL, INDIRECT OR
  21. //#   CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF
  22. //#   USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
  23. //#   OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE
  24. //#   OR PERFORMANCE OF THIS SOFTWARE.
  25. //#
  26. //#====END_GENERATED_PROLOG========================================
  27.  
  28. #ifndef _GRAFPART_CONTENT_TEXT_
  29. #define _GRAFPART_CONTENT_TEXT_
  30.  
  31. // support OD types
  32. #include <ODTypesB.idl>
  33.  
  34. // subclass from ContentGrafPartRect
  35. #include <iodgrect.idl>
  36.  
  37.  
  38. //==============================================================================
  39. // Classes defined in this interface
  40. //==============================================================================
  41.  
  42. interface   ContentGrafPartLine;
  43.  
  44. //==============================================================================
  45. // Classes used in this interface
  46. //==============================================================================
  47.  
  48. interface   ContentGrafPartFigr;
  49. interface   ContentGrafPartRect;
  50.  
  51.  
  52. //==============================================================================
  53. // ContentGrafPartLine
  54. //==============================================================================
  55.  
  56. interface ContentGrafPartText :  ContentGrafPartRect
  57. {
  58.  
  59. #ifdef __PRIVATE__
  60.     attribute   string fFontName ;
  61.     attribute   long   fFontHeight ;
  62.     attribute   long   fFontAngle ;
  63.     attribute   long   fFontFlags ;
  64.     attribute   string fText ;
  65. #endif  // __PRIVATE__
  66.  
  67. #ifdef __SOMIDL__
  68.  
  69.     implementation
  70.     {
  71.         functionprefix = ContentGrafPartText;
  72.  
  73.         fFontName   : noset ;
  74.         fText       : noset ;
  75.  
  76.         override:
  77.             somInit,
  78.             somUninit,
  79.             WriteContents,
  80.             ReadContents,
  81.             DeleteContents,
  82.             Draw;
  83.  
  84.         releaseorder:
  85.             _set_fText       ,
  86.             _get_fText       ,
  87.             _set_fFontHeight ,
  88.             _get_fFontHeight ,
  89.             _set_fFontAngle  ,
  90.             _get_fFontAngle  ,
  91.             _set_fFontName   ,
  92.             _get_fFontName   ,
  93.             _set_fFontFlags  ,
  94.             _get_fFontFlags   ;
  95.  
  96.         majorversion = 1;
  97.         minorversion = 2;
  98.  
  99.         passthru C_xih =
  100.             "#define VARIABLE_MACROS"
  101.             "#define METHOD_MACROS" ;
  102.  
  103. #if defined(__PRIVATE__) && defined (_PLATFORM_OS2_)
  104.         POINTL pPt1, pPt2;     // long point buffers for OS/2 Gpi calls
  105. #endif  // __PRIVATE__  && _PLATFORM_OS2_
  106.  
  107.     };
  108.  
  109. #endif  // __SOMIDL__
  110. };
  111.  
  112.  
  113. #endif  // _GRAFPART_CONTENT_TEXT_
  114.  
  115. // end of file  *****************************************************
  116.