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 >
Text File  |  2002-09-14  |  3KB  |  67 lines

  1. ////////////////////////////////////////////////////////////////////////////////
  2. //----------------------------------------------------------------------------//
  3. //-----project DESINGER, copyright 2002 Libor Bareτ-------------------------//
  4. //----------------------------------------------------------------------------//
  5. ////////////////////////////////////////////////////////////////////////////////
  6.  
  7.  
  8. static unsigned char Vzorek[8] = { 0xAA, 0x55, 0xAA, 0x55,
  9.                                    0xAA, 0x55, 0xAA, 0x55};
  10.  
  11. int m_nInterCellFocus=-1;
  12. string strOpenFile;
  13. POINT m_DiaIncrease;
  14. char m_bDiaStartDraging;
  15. DIAGRAMCELL* m_DiagramCells;int m_nm_DiagramCellsSize = 0; //  array
  16. int * m_DiagramZOrder;
  17.  
  18. SIZE m_LastEvent;
  19. SIZE m_StartDrag;
  20. char m_bDiaDraging=0;
  21. int m_MOUSEOVER_PTY = 0;
  22. int m_DEPENDENT_TO,m_DEPENDENT_FROM;
  23. void Diagram__ScreenToClient2( RECT &rc);
  24.  
  25.  
  26. // structs ...
  27.  
  28.  
  29.  
  30. //styles and flags for [Diagram] {UML}
  31.        // types of cells
  32.        #define TYPE_CLASS_ONLY          1   //   UML class object (preview)
  33.        #define TYPE_CLASS_FULL          2   //   normal UML class object
  34.        #define TYPE_CLASS_OBJECT        3   //   underline
  35.        #define TYPE_CLASS_DEPENDENT     4   //   UML dependents (inheritance,agregace,kompozice,message)
  36.        #define TYPE_CLASS_IMG           5
  37.  
  38.        // styles of operations and atributes (private,public,protected atributes and operations)
  39.  /*      #define TYPE_OA_PUBLIC           0x00000000L
  40.        #define TYPE_OA_PROTECTED        0x00000001L
  41.        #define TYPE_OA_PRIVATE          0x00000002L
  42.        #define TYPE_OA_DELIVER          0x00000010L
  43.        #define TYPE_OA_ABSTRACT         0x00000100L
  44.        #define TYPE_OA_UTILITY          0x00000040L
  45.        #define TYPE_OA_CONSTANT         0x00000008L
  46.        #define TYPE_OA_IMPLEMENT        0x00000080L
  47.        #define TYPE_OA_BIND             0x00000200L
  48.        #define TYPE_OA_INTERFACE        0x00000020L
  49.        #define TYPE_OA_SYNCHRO          0x00000400L
  50.        #define TYPE_OA_BROADCAST        0x00000800L
  51.        #define TYPE_OA_ITERIN           0x00001000L
  52.        #define TYPE_OA_BROAITERIN       0x00002000L
  53.        #define TYPE_OA_ORDERED          0x00000100L
  54.        #define TYPE_OA_LIST             0x00000200L
  55.        #define TYPE_OA_TREE             0x00000400L
  56.        #define TYPE_OA_SET              0x00000800L
  57.        #define TYPE_OA_BAG              0x00001000L
  58.  
  59.  
  60.        // styles of dependent
  61.        #define TYPE_DEPENDENT_INHERITANCE 0x00000001L
  62.        #define TYPE_DEPENDENT_AGREGACE    0x00000002L
  63.        #define TYPE_DEPENDENT_KOMPOZICE   0x00000004L
  64.        #define TYPE_DEPENDENT_ASOCIACE    0x00000008L
  65.        #define TYPE_DEPENDENT_MESSAGE     0x00000010L
  66.  
  67. */