gCAD3D 2.40
xa_ui.h
Go to the documentation of this file.
1 /* ../xa/xa_ui.h
2 
3 #include "../xa/xa_ui.h" // APF_*
4 Needs
5 #include "../gui_gtk#/gtk_base.h" // GUI_SETDAT_ES
6 
7 
8 Modif:
9 2001-06-14 Neu zu. RF.
10 
11 */
12 
13 
14 #include "../xa/xa_uid.h" // UID_WinMain ...
15 #include "../gui/gui_types.h" // TYP_EventEnter
16 
17 
18 // #define UI_men__(txt) UI_menCB(NULL, GUI_SETDAT_ES(TYP_EventEnter,txt));
19 #define UI_but__(txt) UI_butCB(NULL, GUI_SETDAT_ES(TYP_EventEnter,txt));
20 
21 
22 #define UI_view__(txt) UI_viewCB(NULL, GUI_SETDAT_ES(TYP_EventEnter,txt));
23 
24 // 0=OFF, 1=ON Interactiviy is ON or OFF
25 #define INTACT_IS_ON ((AP_stat.iActStat)&&(UI_InpMode==UI_MODE_VWR))
26 
27 
28 
29 // Application-Functions for UI_func_stat_set__ UI_func_stat_set_tab
30 enum { APF_EndTab, // 0 = end of list
31  APF_TB_CAD, // Toolbar CAD
32  APF_MEN0, // gesamter oberer Menubar, von File bis Help !
33  APF_MEN_FIL, // Menu-File
34  APF_MEN_SM, // Menu-subModels
35  APF_MEN_MDF, // Menu-Modify
36  APF_MEN_INS, // Insert im oberen Menubar
37  APF_MEN_SEL, // Select im oberen Menubar
38  APF_MEN_CAT, // Catalog im oberen Menubar
39  APF_MEN_APP, // Menu-Applications
40  APF_WIN_B_E, // Browser-window & Editor-window
41  APF_HIDE, // HIDE & VIEW - Box
42  APF_VWCADMAN, // Box VWR / CAD / MAN
43  APF_VWR, // Mainfunc VWR
44  APF_CAD, // Mainfunc CAD
45  APF_MAN, // Mainfunc MAN
46  APF_BUT_GSE, // Buttons GO STEP END
50  APF_PLUGINS, // Plugins (userPrograms)
51  APF_UNDO, // Undo/Redo
52  APF_MEASEA, // Box Measure / Search/Name
53  APF_MEN_PRC, // Menu-Process
54  APF_MEN_RPC, // Menu-Remote
55  APF___ // terminates list
56 };
57 
58 
59 
60 //========= Prototypen: ============================
61  int UI_butCB (MemObj *mo, void **data);
62  int UI_menCB (MemObj *mo, void **data);
63 
64  void UI_AP (int func, int widgetID, void* data);
65  // int UI_upd_Refs ();
66  // void UI_mBars_off ();
67 
68  int UI_win_main (MemObj *mo, void **data);
69 
70  void UI_Ed_sel (long l_start, long l_end);
71  void UI_Ed_ins (int cpos, char *txt, int cNr);
72  void UI_Ed_del (int l_start, int l_end);
73  int UI_Ed_hili (int mode);
74  int UI_EdKeyCR ();
75  // int UI_disp_vec1 (int typ, void *data, Point *pos);
76 
77 
78  int UI_open__ (char *fnam,char *dirNam);
79  // int UI_openCB (GtkWidget *parent, void *data);
80 // int UI_WinIgeImp (GtkWidget *parent, void *data);
81 // int UI_WinDxfImp (GtkWidget *parent, void *data);
82  int UI_WinAppr (MemObj *mo, void **data);
83  // int UI_WinInfo1 (MemObj *mo, void **data);
84  // int UI_WinPrint1 (MemObj *mo, void **data);
85  int UI_WinToler (MemObj *mo, void **data);
86  // int UI_creObjHdr (GtkWidget *parent, void *data);
87  // int UI_sur_Z_CB (GtkWidget *widget, GdkEventKey *event);
88  double UI_vwz__ (int mode, long ind);
89 
90  // int UI_CAD_activate ();
91  int UI_wireCB (MemObj *mo, void **data);
92  // int UI_impDxfCB (GtkWidget *parent, void *data);
93  // int UI_impIgeCB (GtkWidget *parent, void *data);
94  // int UI_expDxfCB (GtkWidget *parent, void *data);
95  // int UI_expIgeCB (GtkWidget *parent, void *data);
96  int UI_save_ ();
97 
98  int UI_askExit (MemObj *mo, void **data);
99  int UI_askEscape ();
100  int UI_file_sensi (int mode);
101 
102 
103  int UI_hili_actLn ();
104 
105  int UI_func_stat_set__ (int i0, ...);
106  int UI_func_stat_set_tab (short *sTab);
107 
108 //============ EOF =============
int UI_hili_actLn()
void UI_open__()
Definition: xa_batch.c:271
Definition: ut_umem.h:119
int UI_func_stat_set_tab(short *sTab)
Definition: xa_ui.c:777
Definition: xa_ui.h:35
char mode
Definition: xa_tra.c:152
int UI_askExit(MemObj *mo, void **data)
Definition: xa_ui.c:1161
Definition: xa_ui.h:40
int UI_save_()
Definition: xa_ui.h:49
Definition: xa_ui.h:54
int UI_WinToler(MemObj *mo, void **data)
Definition: xa_ui.c:8814
Definition: xa_ui.h:51
Definition: xa_ui.h:52
Definition: xa_ui.h:41
Definition: xa_ui.h:33
void UI_menCB()
Definition: xa_batch.c:270
void UI_AP()
Definition: xa_batch.c:274
Definition: xa_ui.h:34
Definition: xa_ui.h:38
void UI_askEscape()
Definition: xa_batch.c:285
int UI_EdKeyCR(int iCall)
Definition: xa_ui.c:2088
Definition: xa_ui.h:48
int UI_wireCB(MemObj *mo, void **data)
Definition: xa_ui.c:1214
Definition: xa_ui.h:30
Definition: xa_ui.h:50
int UI_file_sensi(int mode)
Definition: xa_ui.h:43
Definition: xa_ui.h:37
void UI_Ed_sel()
Definition: xa_batch.c:278
int UI_Ed_hili(int mode)
Definition: xa_ui.c:9058
int UI_win_main()
Definition: xa_batch.c:267
Definition: xa_ui.h:39
Definition: xa_ui.h:55
Definition: xa_ui.h:32
Definition: xa_ui.h:45
double UI_vwz__(int mode, long ind)
Definition: xa_ui.c:2496
Definition: xa_ui.h:53
Definition: xa_ui.h:36
void UI_Ed_ins(int cpos, char *txt, int cNr)
Definition: xa_ui.c:9083
void UI_butCB()
Definition: xa_batch.c:290
Definition: xa_ui.h:46
void UI_Ed_del(int l_start, int l_end)
Definition: xa_ui.c:9048
int UI_WinAppr(MemObj *mo, void **data)
Definition: xa_ui.c:8573
Definition: xa_ui.h:42
int ind
Definition: xa_tra.c:151
int UI_func_stat_set__(int i0,...)
Definition: xa_ui.c:743
Definition: xa_ui.h:31
Definition: xa_ui.h:47
Definition: xa_ui.h:44