gCAD3D 2.40
xa_ui_gr.h
Go to the documentation of this file.
1 // xa_ui_gr.h
2 
4 #define UI_CK_HIDE_VIEW (((UI_stat_hide==0)||(UI_stat_view==0))?1:0)
5 
6 
7 // OpenGL interface app2GL
8 void UI_GR_DrawInit ();
9 void UI_GR_DrawExit ();
10 
11 int UI_GL_draw__ (MemObj *mo, void **data);
12 int UI_GL_move__ (MemObj *mo, void **data);
13 int UI_GL_mouse__ (MemObj *mo, void **data);
14 int UI_GL_keys__ (MemObj *mo, void **data);
15 
16 void UI_GR_view_set_func ();
17 void UI_GR_view_set_Z (long objInd);
18 void UI_GR_view_set_Z1 (double zVal);
19 int UI_ChangeCursor (int newCur);
20 int UI_ResetCursor ();
21 int UI_GR_Select1 (int mode, long *dlInd);
22 int UI_GR_Select2 (int typ, long dbi, long dli);
23 int UI_GR_Select3 (long objInd);
24 int UI_GR_Select_work1 (long objInd);
25 // int UI_GR_Select_work2 (int typ, long ind, char* buf);
26 int UI_GR_Select_work2 (int typ, long ind, char* buf, long dli);
27 int UI_GR_GetdlInd (long *ind);
28 int UI_GR_Indicate();
29 // int UI_GR_view (void *parent, void *data);
30 // void UI_GR_Redraw (void *parent, void *data);
31 // void UI_GR_Redraw ();
32 
33  int UI_undo (void *parent, void *data);
34  int EX_OpGetList (int *anz, char ***buf);
35 
36  int UI_CB_hide (MemObj *mo, void **data);
37  int UI_CB_view (MemObj *mo, void **data);
38 
39  int AP_Mousemove2dx (double *dv, int dx, int dy);
40 
41  // void* UI_GR_Init (int width, int height);
42  // void* UI_GR_WinInit (int width, int height, int border);
43 
44 // int UI_GR_GLInit (void *widget);
45 // int UI_GR_Draw (void *widget, void *event);
46 // int UI_GR_Reshape (void *widget, void *event);
47 // int UI_GR_test1 (void *widget, void *event);
48 // int UI_GR_MotionNotify (void *widget, void *event);
49 
50 // int UI_GR_idle_GL1_CB (void *data);
51 // int UI_GR_idle_GL2_CB (void *data);
52 // int UI_GR_idle_GL3_CB (void *data);
53 
54 // int UI_GR_ButtonPress (void *widget, void *data);
55 // int UI_GR_ButtonRelease (void *widget, void *data);
56 
57 
58 // int UI_GR_Enter (void *widget, void *data);
59 int UI_GR_Leave (void *widget, void *data);
60 int UI_GR_KeyPress (void *widget, void *data);
61 int UI_GR_KeyRelease (void *widget, void *data);
62 // int UI_GR_Destroy (void *widget);
63 
64 int UI_viewCB (MemObj *mo, void **data);
65 
66 int UI_Do_Main (void *parent, void *data);
67 
68 
69 int CI_Mouse (int buttNr,int KeyStatShift,int KeyStatCtrl,int KeyStatAlt,
70  int x,int y);
71 int CI_Key (char ltxt, int KeyStatShift,int KeyStatCtrl,int KeyStatAlt);
72 int CI_FKey (int key, int KeyStatShift,int KeyStatCtrl,int KeyStatAlt);
73 
74 // int UI_GR_setKeyFocus ();
75 
76 int UI_GR_get_actPos_ (char**);
77 
78 int UI_KeyFieldWri ();
79 
80 
82 
83 
84 
85 /*======================== EOF ============================*/
86 
int typ
Definition: xa_tra.c:151
int UI_GR_Select_work2(int typ, long dbi, char *buf, long dli)
Definition: xa_ui_gr.c:6525
int UI_GL_mouse__(MemObj *mo, void **data)
Definition: xa_ui_gr.c:587
int UI_CB_view(MemObj *mo, void **data)
Definition: xa_ui.c:3840
void UI_GR_view_set_func()
int UI_ChangeCursor(int newCur)
Definition: xa_ui_gr.c:5230
Definition: ut_umem.h:119
long objInd
Definition: ut_gr.c:302
int UI_KeyFieldWri()
Definition: xa_ui_gr.c:6817
int UI_GR_GetdlInd(long *ind)
char mode
Definition: xa_tra.c:152
int UI_CB_hide(MemObj *mo, void **data)
Definition: xa_ui_gr.c:2236
int CI_FKey(int key, int KeyStatShift, int KeyStatCtrl, int KeyStatAlt)
int UI_viewCB(MemObj *mo, void **data)
Definition: xa_ui_gr.c:2378
int UI_GR_Select2(int typ, long dbi, long dli)
Definition: xa_ui_gr.c:4221
double dv
Definition: NC_apt.c:342
int EX_OpGetList(int *anz, char ***buf)
void UI_GR_view_set_Z1(double zVal)
Definition: xa_ui_gr.c:5435
int UI_GR_KeyPress(void *widget, void *data)
int UI_GL_move__(MemObj *mo, void **data)
Definition: xa_ui_gr.c:425
int CI_Key(char ltxt, int KeyStatShift, int KeyStatCtrl, int KeyStatAlt)
int UI_Do_Main(void *parent, void *data)
int CI_Mouse(int buttNr, int KeyStatShift, int KeyStatCtrl, int KeyStatAlt, int x, int y)
int AP_UserSelection_reset()
Definition: xa_ui_gr.c:6416
void UI_GR_DrawInit()
Definition: GL_C-KIT.c:91
int KeyStatAlt
Definition: xa_ui.c:367
int UI_GR_Select3(long objInd)
Definition: xa_ui_gr.c:4301
int UI_GR_get_actPos_()
Definition: xa_batch.c:349
int UI_GR_Indicate()
Definition: xa_ui_gr.c:5921
void UI_GR_view_set_Z(long objInd)
Definition: xa_ui_gr.c:5338
int UI_GR_Select_work1(long objInd)
Definition: xa_ui_gr.c:6071
int KeyStatCtrl
Definition: xa_ui.c:366
int UI_GR_KeyRelease(void *widget, void *data)
int UI_GL_draw__(MemObj *mo, void **data)
Definition: xa_ui_gr.c:300
int UI_GL_keys__(MemObj *mo, void **data)
Definition: xa_ui_gr.c:1309
long dli
Definition: xa_tra.c:150
void UI_GR_DrawExit()
Definition: GL_C-KIT.c:113
int AP_Mousemove2dx(double *dv, int dx, int dy)
Definition: xa_ui_gr.c:5761
int UI_undo(void *parent, void *data)
int UI_ResetCursor()
Definition: xa_ui_gr.c:5210
int UI_GR_Select1(int mode, long *dlInd)
Definition: xa_ui_gr.c:3456
int KeyStatShift
Definition: xa_ui.c:365
int UI_GR_Leave(void *widget, void *data)
int ind
Definition: xa_tra.c:151