home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / VSCPPv8.zip / VACPP / IBMCPP / samples / VISBUILD / DOODLE / DAREA / DAREA.H < prev    next >
Text File  |  1995-05-10  |  3KB  |  91 lines

  1. #ifndef DAREA_H
  2. #define DAREA_H
  3. /******************************************************************************/
  4. /* Doodle Sample Porgram - Version 1: Symbolic Definitions (DAREA.H)          */
  5. /*                                                                            */
  6. /* COPYRIGHT: Copyright (C) International Business Machines Corp., 1992,1993. */
  7. /*                                                                            */
  8. /* DISCLAIMER OF WARRANTIES:                                                  */
  9. /*   The following [enclosed] code is sample code created by IBM              */
  10. /*   Corporation.  This sample code is not part of any standard IBM product   */
  11. /*   and is provided to you solely for the purpose of assisting you in the    */
  12. /*   development of your applications.  The code is provided "AS IS",         */
  13. /*   without warranty of any kind.  IBM shall not be liable for any damages   */
  14. /*   arising out of your use of the sample code, even if they have been       */
  15. /*   advised of the possibility of such damages.                              */
  16. /******************************************************************************/
  17. //**************************************************************************
  18. // window ids - used by IWindow constructors                               *
  19. //**************************************************************************
  20.  
  21. // Tools Palette
  22. #define BITMAP_ARROW          1
  23. #define BITMAP_STYLECAN       2
  24. #define BITMAP_ERASER         3
  25. #define BITMAP_RECTANGLE      4
  26. #define BITMAP_ELLIPSE        5
  27. #define BITMAP_POLYGON        6
  28. #define BITMAP_LINE           7
  29. #define BITMAP_POLYLINE       8
  30. #define BITMAP_FREEHAND       9
  31.  
  32. // Tools which are present in the DrawingArea
  33. // But do not yet have Toolbar buttons
  34. #define BITMAP_ARC            20
  35. #define BITMAP_BITMAP         21
  36. #define BITMAP_CHORD          22
  37. #define BITMAP_PIE            23
  38. #define BITMAP_TEXT           24
  39.  
  40. // Color Palette
  41. #define BITMAP_PENCOLOR       40
  42. #define BITMAP_FILCOLOR       41
  43. #define BITMAP_REDFIL         42
  44. #define BITMAP_GREENFIL       43
  45. #define BITMAP_BLUEFIL        44
  46.  
  47. // Pen Width Palette
  48. #define BITMAP_WIDTH          50
  49.  
  50. // Style Palette
  51. #define BITMAP_STYLE          60
  52. #define BITMAP_FRAMFILL       61
  53. #define BITMAP_FRAMONLY       62
  54. #define BITMAP_FILLONLY       63
  55.  
  56. // Title Palette
  57. #define BITMAP_TTLTEXT        70
  58.  
  59. // Sample Bitmaps
  60. #define BITMAP_SAMPLE1        80
  61. #define BITMAP_SAMPLE2        81
  62. #define BITMAP_SAMPLE3        82
  63. #define BITMAP_SAMPLE4        83
  64.  
  65. // Sample Text Strings
  66. #define STRING_SAMPLE1        1
  67. #define STRING_SAMPLE2        2
  68. #define STRING_SAMPLE3        3
  69. #define STRING_SAMPLE4        4
  70.  
  71. // Defines for pointers
  72. #define POINTER_MOVE         0x3001
  73. #define POINTER_LINE         0x3002
  74. #define POINTER_FREEHAND     0x3003
  75. #define POINTER_RECTANGLE    0x3004
  76. #define POINTER_ELLIPSE      0x3005
  77. #define POINTER_POLYLINE     0x3006
  78. #define POINTER_POLYGON      0x3007
  79. #define POINTER_ARC          0x3008
  80. #define POINTER_PIE          0x3009
  81. #define POINTER_CHORD        0x300A
  82. #define POINTER_TEXT         0x300B
  83. #define POINTER_BITMAP       0x300C
  84. #define POINTER_STYLECAN     0x300D
  85. #define POINTER_ERASER       0x300E
  86.  
  87. #define LONG_OFFSET          100
  88. #define FLYOVERTEXT_BLANK    0x3050
  89.  
  90. #endif
  91.