home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World 2002 December
/
PCWorld_2002-12_cd.bin
/
Software
/
Komercni
/
Baltik
/
katB.exe
/
katB
/
DESIGN
/
DESIGN_H.DIA
< prev
next >
Wrap
Text File
|
2002-09-14
|
3KB
|
67 lines
////////////////////////////////////////////////////////////////////////////////
//----------------------------------------------------------------------------//
//-----project DESINGER, copyright 2002 Libor Bareτ-------------------------//
//----------------------------------------------------------------------------//
////////////////////////////////////////////////////////////////////////////////
static unsigned char Vzorek[8] = { 0xAA, 0x55, 0xAA, 0x55,
0xAA, 0x55, 0xAA, 0x55};
int m_nInterCellFocus=-1;
string strOpenFile;
POINT m_DiaIncrease;
char m_bDiaStartDraging;
DIAGRAMCELL* m_DiagramCells;int m_nm_DiagramCellsSize = 0; // array
int * m_DiagramZOrder;
SIZE m_LastEvent;
SIZE m_StartDrag;
char m_bDiaDraging=0;
int m_MOUSEOVER_PTY = 0;
int m_DEPENDENT_TO,m_DEPENDENT_FROM;
void Diagram__ScreenToClient2( RECT &rc);
// structs ...
//styles and flags for [Diagram] {UML}
// types of cells
#define TYPE_CLASS_ONLY 1 // UML class object (preview)
#define TYPE_CLASS_FULL 2 // normal UML class object
#define TYPE_CLASS_OBJECT 3 // underline
#define TYPE_CLASS_DEPENDENT 4 // UML dependents (inheritance,agregace,kompozice,message)
#define TYPE_CLASS_IMG 5
// styles of operations and atributes (private,public,protected atributes and operations)
/* #define TYPE_OA_PUBLIC 0x00000000L
#define TYPE_OA_PROTECTED 0x00000001L
#define TYPE_OA_PRIVATE 0x00000002L
#define TYPE_OA_DELIVER 0x00000010L
#define TYPE_OA_ABSTRACT 0x00000100L
#define TYPE_OA_UTILITY 0x00000040L
#define TYPE_OA_CONSTANT 0x00000008L
#define TYPE_OA_IMPLEMENT 0x00000080L
#define TYPE_OA_BIND 0x00000200L
#define TYPE_OA_INTERFACE 0x00000020L
#define TYPE_OA_SYNCHRO 0x00000400L
#define TYPE_OA_BROADCAST 0x00000800L
#define TYPE_OA_ITERIN 0x00001000L
#define TYPE_OA_BROAITERIN 0x00002000L
#define TYPE_OA_ORDERED 0x00000100L
#define TYPE_OA_LIST 0x00000200L
#define TYPE_OA_TREE 0x00000400L
#define TYPE_OA_SET 0x00000800L
#define TYPE_OA_BAG 0x00001000L
// styles of dependent
#define TYPE_DEPENDENT_INHERITANCE 0x00000001L
#define TYPE_DEPENDENT_AGREGACE 0x00000002L
#define TYPE_DEPENDENT_KOMPOZICE 0x00000004L
#define TYPE_DEPENDENT_ASOCIACE 0x00000008L
#define TYPE_DEPENDENT_MESSAGE 0x00000010L
*/