gCAD3D 2.35
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 #define UI_view__(txt) UI_viewCB(NULL, GUI_SETDAT_ES(TYP_EventEnter,txt));
21 
22 // 0=OFF, 1=ON Interactiviy is ON or OFF
23 #define INTACT_IS_ON ((AP_stat.iActStat)&&(UI_InpMode==UI_MODE_VWR))
24 
25 
26 
27 // Application-Functions for UI_func_stat_set__ UI_func_stat_set_tab
28 enum { APF_EndTab, // 0 = end of list
29  APF_TB_CAD, // Toolbar CAD
30  APF_MEN0, // gesamter oberer Menubar, von File bis Help !
31  APF_MEN_FIL, // Menu-File
32  APF_MEN_SM, // Menu-subModels
33  APF_MEN_MDF, // Menu-Modify
34  APF_MEN_INS, // Insert im oberen Menubar
35  APF_MEN_SEL, // Select im oberen Menubar
36  APF_MEN_CAT, // Catalog im oberen Menubar
37  APF_MEN_APP, // Menu-Applications
38  APF_WIN_B_E, // Browser-window & Editor-window
39  APF_HIDE, // HIDE & VIEW - Box
40  APF_VWCADMAN, // Box VWR / CAD / MAN
41  APF_VWR, // Mainfunc VWR
42  APF_CAD, // Mainfunc CAD
43  APF_MAN, // Mainfunc MAN
44  APF_BUT_GSE, // Buttons GO STEP END
48  APF_PLUGINS, // Plugins (userPrograms)
49  APF_UNDO, // Undo/Redo
50  APF_MEASEA, // Box Measure / Search/Name
51  APF_MEN_PRC, // Menu-Process
52  APF_MEN_RPC, // Menu-Remote
53  APF___ // terminates list
54 };
55 
56 
57 
58 //========= Prototypen: ============================
59  int UI_butCB (MemObj *mo, void **data);
60  int UI_menCB (MemObj *mo, void **data);
61 
62  void UI_AP (int func, int widgetID, void* data);
63  // int UI_upd_Refs ();
64  // void UI_mBars_off ();
65 
66  int UI_win_main (MemObj *mo, void **data);
67 
68  void UI_Ed_sel (long l_start, long l_end);
69  void UI_Ed_ins (int cpos, char *txt, int cNr);
70  void UI_Ed_del (int l_start, int l_end);
71  int UI_Ed_hili (int mode);
72  int UI_EdKeyCR ();
73  // int UI_disp_vec1 (int typ, void *data, Point *pos);
74 
75 
76  int UI_open__ (char *fnam,char *dirNam);
77  // int UI_openCB (GtkWidget *parent, void *data);
78 // int UI_WinIgeImp (GtkWidget *parent, void *data);
79 // int UI_WinDxfImp (GtkWidget *parent, void *data);
80  int UI_WinAppr (MemObj *mo, void **data);
81  // int UI_WinInfo1 (MemObj *mo, void **data);
82  // int UI_WinPrint1 (MemObj *mo, void **data);
83  int UI_WinToler (MemObj *mo, void **data);
84  // int UI_creObjHdr (GtkWidget *parent, void *data);
85  // int UI_sur_Z_CB (GtkWidget *widget, GdkEventKey *event);
86  double UI_vwz__ (int mode, long ind);
87 
88  // int UI_CAD_activate ();
89  int UI_wireCB (MemObj *mo, void **data);
90  // int UI_impDxfCB (GtkWidget *parent, void *data);
91  // int UI_impIgeCB (GtkWidget *parent, void *data);
92  // int UI_expDxfCB (GtkWidget *parent, void *data);
93  // int UI_expIgeCB (GtkWidget *parent, void *data);
94  int UI_save_ ();
95 
96  int UI_askExit (MemObj *mo, void **data);
97  int UI_askEscape ();
98  int UI_file_sensi (int mode);
99 
100 
101  int UI_hili_actLn ();
102 
103  int UI_func_stat_set__ (int i0, ...);
104  int UI_func_stat_set_tab (short *sTab);
105 
106 //============ EOF =============
int UI_hili_actLn()
int UI_func_stat_set_tab(short *sTab)
Definition: xa_ui.c:776
void UI_Ed_sel(long l_start, long l_end)
Definition: xa_ui.c:10677
Definition: ut_umem.h:122
int UI_butCB(MemObj *mo, void **data)
Definition: xa_ui.c:5874
int UI_menCB(MemObj *mo, void **data)
Definition: xa_ui.c:6662
Definition: xa_ui.h:33
char mode
Definition: xa_tra.c:152
Definition: xa_ui.h:38
int UI_save_()
Definition: xa_ui.h:47
Definition: xa_ui.h:52
Definition: xa_ui.h:49
Definition: xa_ui.h:50
Definition: xa_ui.h:39
Definition: xa_ui.h:31
void UI_AP(int func, int widgetID, void *data)
Definition: xa_ui.c:10765
int UI_WinToler(MemObj *mo, void **data)
Definition: xa_ui.c:10387
int UI_EdKeyCR()
Definition: xa_ui.h:32
Definition: xa_ui.h:36
int UI_win_main(MemObj *mo, void **data)
Definition: xa_ui.c:8177
Definition: xa_ui.h:46
int UI_wireCB(MemObj *mo, void **data)
Definition: xa_ui.c:1213
Definition: xa_ui.h:28
Definition: xa_ui.h:48
int UI_file_sensi(int mode)
Definition: xa_ui.h:41
Definition: xa_ui.h:35
Definition: xa_ui.h:37
Definition: xa_ui.h:53
Definition: xa_ui.h:30
Definition: xa_ui.h:43
void UI_Ed_del(int l_start, int l_end)
Definition: xa_ui.c:10621
int UI_WinAppr(MemObj *mo, void **data)
Definition: xa_ui.c:10146
int UI_func_stat_set__(int i0,...)
Definition: xa_ui.c:742
int UI_open__(char *fnam, char *dirNam)
Definition: xa_ui.c:4234
Definition: xa_ui.h:51
int UI_Ed_hili(int mode)
Definition: xa_ui.c:10631
int UI_askEscape()
Definition: xa_batch.c:285
Definition: xa_ui.h:34
Definition: xa_ui.h:44
double UI_vwz__(int mode, long ind)
Definition: xa_ui.c:3722
Definition: xa_ui.h:40
int ind
Definition: xa_tra.c:151
Definition: xa_ui.h:29
Definition: xa_ui.h:45
void UI_Ed_ins(int cpos, char *txt, int cNr)
Definition: xa_ui.c:10656
Definition: xa_ui.h:42
int UI_askExit(MemObj *mo, void **data)
Definition: xa_ui.c:1160