home *** CD-ROM | disk | FTP | other *** search
/ Chip 1997 January / Chip_1997-01_cd.bin / ms95 / disk22 / dir08 / f013720.re_ / f013720.re
Text File  |  1996-04-02  |  4KB  |  94 lines

  1. /*----------------------------------------------------------------------+
  2. |                                    |
  3. |  Copyright (1993-1995) Bentley Systems, Inc., All rights reserved.    |
  4. |                                    |
  5. |  "MicroStation" is a registered trademark and "MDL" and "MicroCSL"    |
  6. |  are trademarks of Bentley Systems, Inc.                    |
  7. |                                    |
  8. |  Limited permission is hereby granted to reproduce and modify this    |
  9. |  copyrighted material provided that the resulting code is used only     |
  10. |  in conjunction with Bentley Systems products under the terms of the    |
  11. |  license agreement provided therein, and that this notice is retained    |
  12. |  in its entirety in any such reproduction or modification.        |
  13. |                                    |
  14. +----------------------------------------------------------------------*/
  15. /*----------------------------------------------------------------------+
  16. |                                    |
  17. |    $Logfile:   J:/mdl/examples/clibmgr/clibmgr.h_v  $
  18. |   $Workfile:   clibmgr.h  $
  19. |   $Revision:   1.3  $
  20. |       $Date:   16 Jun 1995 15:24:02  $
  21. |                                    |
  22. +----------------------------------------------------------------------*/
  23. /*----------------------------------------------------------------------+
  24. |                                    |
  25. |   Function -                                |
  26. |                                    |
  27. |    Constants & types used in clibMgr dialog example        |
  28. |                                    |
  29. +----------------------------------------------------------------------*/
  30. #if !defined (__clibmgrH__)
  31. #define    __clibmgrH__
  32.  
  33. /*----------------------------------------------------------------------+
  34. |                                    |
  35. |   Resource ID's                            |
  36. |                                    |
  37. +----------------------------------------------------------------------*/
  38. #define    DIALOGID_ClibMgr        1   /* dialog id for Clib Manager */
  39. #define LISTBOXID_ClibMgr        2   /* id for Listbox */
  40.  
  41. #define OPTIONBUTTONID_ClibMgr_Library  1   /* cell library option button */
  42. #define OPTIONBUTTONID_ClibMgr_View     2   /* cell view option button */
  43.  
  44. #define GENERICID_ClibMgr        1   /* generic id to display cell */
  45.  
  46. #define PUSHBUTTONID_ClibMgrRxM  1    /* id for Rotate cell x- */
  47. #define PUSHBUTTONID_ClibMgrRxP  2    /* id for Rotate cell x+ */
  48.  
  49. #define PUSHBUTTONID_ClibMgrRyM  3    /* id for Rotate cell y- */
  50. #define PUSHBUTTONID_ClibMgrRyP  4    /* id for Rotate cell y+ */
  51.  
  52. #define PUSHBUTTONID_ClibMgrRzM  5    /* id for Rotate cell z- */
  53. #define PUSHBUTTONID_ClibMgrRzP  6    /* id for Rotate cell z+ */
  54.  
  55. #define PUSHBUTTONID_ClibMgr_ZeroAngles  7     /* id for Rotate cell z+ */
  56. #define PUSHBUTTONID_ClibMgr_Select     8     /* id for Rotate cell z+ */
  57.  
  58. #define TOGGLEID_ClibMgr_CellShared     1     /* id for shared cell toggle */
  59.  
  60. #define MESSAGELISTID_ClibMgrErrors 1    /* id for errors message list */
  61.  
  62. /*----------------------------------------------------------------------+
  63. |                                    |
  64. |   Hook Function ID's                            |
  65. |                                    |
  66. +----------------------------------------------------------------------*/
  67. #define HOOKDIALOGID_ClibMgr        1   /* id for dialog hook func */
  68. #define HOOKITEMID_ClibMgr_ListBox    2   /* id for listbox hook func */
  69. #define HOOKITEMID_ClibMgr_Library    3   /* option hook func id */
  70. #define HOOKITEMID_ClibMgr_View        4   /* option hook func id */
  71.  
  72. #define HOOKITEMID_ClibMgr_Generic    5   /* generic logo hook func id */
  73.  
  74. #define HOOKITEMID_ClibMgr_RotateCell    6   /* rotate cell hook func id */
  75.  
  76. #define HOOKITEMID_ClibMgr_ZeroAngles    7   /* zero all angles hook func id */
  77. #define HOOKITEMID_ClibMgr_Select    8   /* select element hook func id */
  78.  
  79. #define HOOKITEMID_ClibMgr_SharedCells    9   /* toggle shared cell hook id */
  80.  
  81.  
  82. /*----------------------------------------------------------------------+
  83. |                                    |
  84. |   Typedefs                                |
  85. |                                    |
  86. +----------------------------------------------------------------------*/
  87. typedef struct clibMgrGlobals
  88.     {
  89.     int    currentLibrary;        /* current cell library selected */
  90.     int    currentView;        /* used by toggle button item */
  91.     } ClibMgrGlobals;
  92.     
  93. #endif /* if !defined (__clibmgrH__) */
  94.