}
-void CBglCompMouseUp(glCompObj *obj, GLfloat x, GLfloat y, glMouseButtonType t)
+static void CBglCompMouseUp(glCompObj *obj, GLfloat x, GLfloat y, glMouseButtonType t)
{
/* glCompMouse* m=&((glCompSet*)obj)->mouse; */
sel->common.visible = 0;
}
-void CBglCompMouseRightClick(glCompObj *obj, GLfloat x, GLfloat y,
+static void CBglCompMouseRightClick(glCompObj *obj, GLfloat x, GLfloat y,
glMouseButtonType t)
{
if (t == glMouseRightButton)
}
}
-void attrList(glCompObj *obj, GLfloat x, GLfloat y, glMouseButtonType t)
+static void attrList(glCompObj *obj, GLfloat x, GLfloat y, glMouseButtonType t)
{
showAttrsWidget(view->Topview);
}
-
-
-
-void glCompMouseMove(glCompObj *obj, GLfloat x, GLfloat y)
+static void glCompMouseMove(glCompObj *obj, GLfloat x, GLfloat y)
{
glCompMouse *m = &((glCompSet *) obj)->mouse;
glexpose();
}
}
-void selectedges(glCompObj *obj, GLfloat x, GLfloat y)
+static void selectedges(glCompObj *obj, GLfloat x, GLfloat y)
{
if(view->Topview->sel.selectEdges==0)
view->Topview->sel.selectEdges=1;
view->Topview->sel.selectEdges=0;
}
-void selectnodes(glCompObj *obj, GLfloat x, GLfloat y)
+static void selectnodes(glCompObj *obj, GLfloat x, GLfloat y)
{
if(view->Topview->sel.selectNodes==0)
view->Topview->sel.selectNodes=1;
view->Topview->sel.selectNodes=0;
}
+#if 0
void testContainer(glCompSet *s)
{
glCompPanel* p;
p->common.anchor.top=10;
p->common.anchor.right=10;
}
-
+#endif
glCompSet *glcreate_gl_topview_menu(void)
}
+#if 0
int getIconsDirectory(char *bf)
{
#ifdef WIN32
return 1;
}
+#endif
#endif
extern glCompSet *glcreate_gl_topview_menu(void);
+ extern void switch2D3D(glCompObj *obj, GLfloat x, GLfloat y, glMouseButtonType t);
+ extern void menu_click_center(glCompObj *obj, GLfloat x, GLfloat y, glMouseButtonType t);
+ extern void menu_click_zoom_minus(glCompObj *obj, GLfloat x, GLfloat y, glMouseButtonType t);
+ extern void menu_click_zoom_plus(glCompObj *obj, GLfloat x, GLfloat y, glMouseButtonType t);
+ extern void menu_click_pan(glCompObj *obj, GLfloat x, GLfloat y, glMouseButtonType t);
#ifdef __cplusplus
} /* end extern "C" */