home *** CD-ROM | disk | FTP | other *** search
/ Power GUI Programming with VisualAge C++ / powergui.iso / trialva / ibmcppw / samples / visbuild / doodle / darea / darea.h < prev    next >
Encoding:
C/C++ Source or Header  |  1996-02-16  |  4.0 KB  |  103 lines

  1. #ifndef DAREA_H
  2. #define DAREA_H
  3. /******************************************************************************
  4. * .FILE:        darea.h                                                       *
  5. *                                                                             *
  6. * .DESCRIPTION: Header file for the Doodle DAREA                              *
  7. *                                                                             *
  8. * .CLASSES:     None                                                          *
  9. *                                                                             *
  10. * .COPYRIGHT:                                                                 *
  11. *    Licensed Material - Program-Property of IBM                              *
  12. *    (C) Copyright IBM Corp. 1992, 1996 - All Rights Reserved                 *
  13. *                                                                             *
  14. * .DISCLAIMER:                                                                *
  15. *   The following [enclosed] code is sample code created by IBM               *
  16. *   Corporation.  This sample code is not part of any standard IBM product    *
  17. *   and is provided to you solely for the purpose of assisting you in the     *
  18. *   development of your applications.  The code is provided 'AS IS',          *
  19. *   without warranty of any kind.  IBM shall not be liable for any damages    *
  20. *   arising out of your use of the sample code, even if they have been        *
  21. *   advised of the possibility of such damages.                               *
  22. *                                                                             *
  23. * .NOTE: WE RECOMMEND USING A FIXED SPACE FONT TO LOOK AT THE SOURCE          *
  24. *                                                                             *
  25. ******************************************************************************/
  26.  
  27. //**************************************************************************
  28. // window ids - used by IWindow constructors                               *
  29. //**************************************************************************
  30.  
  31. // Tools Palette
  32. #define BITMAP_ARROW          1
  33. #define BITMAP_STYLECAN       2
  34. #define BITMAP_ERASER         3
  35. #define BITMAP_RECTANGLE      4
  36. #define BITMAP_ELLIPSE        5
  37. #define BITMAP_POLYGON        6
  38. #define BITMAP_LINE           7
  39. #define BITMAP_POLYLINE       8
  40. #define BITMAP_FREEHAND       9
  41.  
  42. // Tools which are present in the DrawingArea
  43. // But do not yet have Toolbar buttons
  44. #define BITMAP_ARC            20
  45. #define BITMAP_BITMAP         21
  46. #define BITMAP_CHORD          22
  47. #define BITMAP_PIE            23
  48. #define BITMAP_TEXT           24
  49.  
  50. // Color Palette
  51. #define BITMAP_PENCOLOR       40
  52. #define BITMAP_FILCOLOR       41
  53. #define BITMAP_REDFIL         42
  54. #define BITMAP_GREENFIL       43
  55. #define BITMAP_BLUEFIL        44
  56.  
  57. // Pen Width Palette
  58. #define BITMAP_WIDTH          50
  59.  
  60. // Style Palette
  61. #define BITMAP_STYLE          60
  62. #define BITMAP_FRAMFILL       61
  63. #define BITMAP_FRAMONLY       62
  64. #define BITMAP_FILLONLY       63
  65.  
  66. // Title Palette
  67. #define BITMAP_TTLTEXT        70
  68.  
  69. // Sample Bitmaps
  70. #define BITMAP_SAMPLE1        80
  71. #define BITMAP_SAMPLE2        81
  72. #define BITMAP_SAMPLE3        82
  73. #define BITMAP_SAMPLE4        83
  74.  
  75. // Sample Text Strings
  76. #define STRING_SAMPLE1        1
  77. #define STRING_SAMPLE2        2
  78. #define STRING_SAMPLE3        3
  79. #define STRING_SAMPLE4        4
  80.  
  81. // Defines for pointers
  82. #define POINTER_MOVE         3001
  83. #define POINTER_LINE         3002
  84. #define POINTER_FREEHAND     3003
  85. #define POINTER_RECTANGLE    3004
  86. #define POINTER_ELLIPSE      3005
  87. #define POINTER_POLYLINE     3006
  88. #define POINTER_POLYGON      3007
  89. #define POINTER_ARC          3008
  90. #define POINTER_PIE          3009
  91. #define POINTER_CHORD        3010
  92. #define POINTER_TEXT         3011
  93. #define POINTER_BITMAP       3012
  94. #define POINTER_STYLECAN     3013
  95. #define POINTER_ERASER       3014
  96.  
  97. #define LONG_OFFSET          100
  98. #define FLYOVERTEXT_BLANK    3050
  99.  
  100.  
  101. #define ICON_VB              4050
  102. #endif
  103.