home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Chip 1997 January
/
Chip_1997-01_cd.bin
/
ms95
/
disk22
/
dir08
/
f013720.re_
/
f013720.re
Wrap
Text File
|
1996-04-02
|
4KB
|
94 lines
/*----------------------------------------------------------------------+
| |
| Copyright (1993-1995) Bentley Systems, Inc., All rights reserved. |
| |
| "MicroStation" is a registered trademark and "MDL" and "MicroCSL" |
| are trademarks of Bentley Systems, Inc. |
| |
| Limited permission is hereby granted to reproduce and modify this |
| copyrighted material provided that the resulting code is used only |
| in conjunction with Bentley Systems products under the terms of the |
| license agreement provided therein, and that this notice is retained |
| in its entirety in any such reproduction or modification. |
| |
+----------------------------------------------------------------------*/
/*----------------------------------------------------------------------+
| |
| $Logfile: J:/mdl/examples/clibmgr/clibmgr.h_v $
| $Workfile: clibmgr.h $
| $Revision: 1.3 $
| $Date: 16 Jun 1995 15:24:02 $
| |
+----------------------------------------------------------------------*/
/*----------------------------------------------------------------------+
| |
| Function - |
| |
| Constants & types used in clibMgr dialog example |
| |
+----------------------------------------------------------------------*/
#if !defined (__clibmgrH__)
#define __clibmgrH__
/*----------------------------------------------------------------------+
| |
| Resource ID's |
| |
+----------------------------------------------------------------------*/
#define DIALOGID_ClibMgr 1 /* dialog id for Clib Manager */
#define LISTBOXID_ClibMgr 2 /* id for Listbox */
#define OPTIONBUTTONID_ClibMgr_Library 1 /* cell library option button */
#define OPTIONBUTTONID_ClibMgr_View 2 /* cell view option button */
#define GENERICID_ClibMgr 1 /* generic id to display cell */
#define PUSHBUTTONID_ClibMgrRxM 1 /* id for Rotate cell x- */
#define PUSHBUTTONID_ClibMgrRxP 2 /* id for Rotate cell x+ */
#define PUSHBUTTONID_ClibMgrRyM 3 /* id for Rotate cell y- */
#define PUSHBUTTONID_ClibMgrRyP 4 /* id for Rotate cell y+ */
#define PUSHBUTTONID_ClibMgrRzM 5 /* id for Rotate cell z- */
#define PUSHBUTTONID_ClibMgrRzP 6 /* id for Rotate cell z+ */
#define PUSHBUTTONID_ClibMgr_ZeroAngles 7 /* id for Rotate cell z+ */
#define PUSHBUTTONID_ClibMgr_Select 8 /* id for Rotate cell z+ */
#define TOGGLEID_ClibMgr_CellShared 1 /* id for shared cell toggle */
#define MESSAGELISTID_ClibMgrErrors 1 /* id for errors message list */
/*----------------------------------------------------------------------+
| |
| Hook Function ID's |
| |
+----------------------------------------------------------------------*/
#define HOOKDIALOGID_ClibMgr 1 /* id for dialog hook func */
#define HOOKITEMID_ClibMgr_ListBox 2 /* id for listbox hook func */
#define HOOKITEMID_ClibMgr_Library 3 /* option hook func id */
#define HOOKITEMID_ClibMgr_View 4 /* option hook func id */
#define HOOKITEMID_ClibMgr_Generic 5 /* generic logo hook func id */
#define HOOKITEMID_ClibMgr_RotateCell 6 /* rotate cell hook func id */
#define HOOKITEMID_ClibMgr_ZeroAngles 7 /* zero all angles hook func id */
#define HOOKITEMID_ClibMgr_Select 8 /* select element hook func id */
#define HOOKITEMID_ClibMgr_SharedCells 9 /* toggle shared cell hook id */
/*----------------------------------------------------------------------+
| |
| Typedefs |
| |
+----------------------------------------------------------------------*/
typedef struct clibMgrGlobals
{
int currentLibrary; /* current cell library selected */
int currentView; /* used by toggle button item */
} ClibMgrGlobals;
#endif /* if !defined (__clibmgrH__) */