49 CItemMenu pmenu2_Properties;
50 CItemMenu pmenu2_Move;
51 CItemMenu pmenu2_Rotate;
52 CItemMenu pmenu2_Delete;
53 CItemMenu pmenu2_Help;
54 CItemMenu pmenu2_About;
56 CItemMenu menu1_File_Newconfiguration;
57 CItemMenu menu1_File_Saveconfiguration;
58 CItemMenu menu1_File_Loadconfiguration;
59 CItemMenu menu1_File_Savepinalias;
60 CItemMenu menu1_File_Loadpinalias;
62 CItemMenu menu1_Edit_Clearpinalias;
63 CItemMenu menu1_Edit_Togglepinalias;
64 CItemMenu menu1_Edit_Editpinalias;
65 CItemMenu menu1_Edit_Reloadpinalias;
66 CItemMenu menu1_Edit_Zoomin;
67 CItemMenu menu1_Edit_Zoomout;
69 CItemMenu menu1_Help_Contents;
70 CItemMenu menu1_Help_About;
71 CFileDialog filedialog1;
72 CStatusbar statusbar1;
74 void _EvOnCreate(CControl* control);
75 void _EvOnShow(CControl* control);
76 void _EvOnHide(CControl* control);
77 void draw1_EvMouseMove(CControl* control,
const unsigned int button,
const unsigned int x,
const unsigned int y,
78 const unsigned int state);
79 void draw1_EvMouseButtonPress(CControl* control,
const unsigned int button,
const unsigned int x,
80 const unsigned int y,
const unsigned int state);
81 void draw1_EvMouseButtonRelease(CControl* control,
const unsigned int button,
const unsigned int x,
82 const unsigned int y,
const unsigned int state);
83 void draw1_EvKeyboardPress(CControl* control,
const unsigned int key,
const unsigned int hkey,
84 const unsigned int mask);
85 void draw1_EvKeyboardRelease(CControl* control,
const unsigned int key,
const unsigned int hkey,
86 const unsigned int mask);
87 void draw1_EvMouseWheel(CControl* control,
const int rotation);
88 void pmenu2_Properties_EvMenuActive(CControl* control);
89 void timer1_EvOnTime(CControl* control);
90 void menu1_File_Newconfiguration_EvMenuActive(CControl* control);
91 void menu1_File_Saveconfiguration_EvMenuActive(CControl* control);
92 void menu1_File_Loadconfiguration_EvMenuActive(CControl* control);
93 void menu1_File_Loadpinalias_EvMenuActive(CControl* control);
94 void menu1_File_Savepinalias_EvMenuActive(CControl* control);
95 void menu1_Edit_Clearpinalias_EvMenuActive(CControl* control);
96 void menu1_Edit_Togglepinalias_EvMenuActive(CControl* control);
97 void menu1_Edit_Editpinalias_EvMenuActive(CControl* control);
98 void menu1_Edit_Reloadpinalias_EvMenuActive(CControl* control);
99 void menu1_Edit_Zoomin_EvMenuActive(CControl* control);
100 void menu1_Edit_Zoomout_EvMenuActive(CControl* control);
101 void pmenu2_Move_EvMenuActive(CControl* control);
102 void pmenu2_Rotate_EvMenuActive(CControl* control);
103 void pmenu2_Delete_EvMenuActive(CControl* control);
104 void pmenu2_Help_EvMenuActive(CControl* control);
105 void pmenu2_About_EvMenuActive(CControl* control);
106 void menu1_Help_Contents_EvMenuActive(CControl* control);
107 void menu1_Help_About_EvMenuActive(CControl* control);
108 void filedialog1_EvOnClose(
const int retId);
114 void menu1_EvMenuActive(CControl* control);
116 void PropButtonRelease(CControl* control,
unsigned int button,
unsigned int x,
unsigned int y,
unsigned int state);
117 void PropComboChange(CCombo* control);
118 void PropSpinChange(CSpin* control);
119 void PropClose(
int tag);
120 void PartButtonEvent(CControl* control,
unsigned int button,
unsigned int x,
unsigned int y,
unsigned int state);
121 void PartKeyEvent(CControl* control,
unsigned int keysm,
unsigned int ukeysym,
unsigned int state);
122 void PartEvent(CControl* control);
123 void DeleteParts(
void);
126 static int OnWindowCmd(
const int id,
const char* ControlName,
const PICSimLabWindowAction action,
const char* Value,
129 CCanvas Canvas[MAX_PARTS];
130 lxBitmap* Bitmaps[MAX_PARTS * 2];
131 CPWindow* Windows[MAX_PARTS];
134 CItemMenu MParts[MAX_PARTS];
135 std::string PartToCreate;