source: trunk/FACT++/dim/src/did/did.h@ 19779

Last change on this file since 19779 was 11071, checked in by tbretz, 14 years ago
Replaced v19r21 by a version extracted with 'unzip -a' to get proper unix text format.
File size: 2.4 KB
Line 
1#include <Mrm/MrmAppl.h> /* Motif Toolkit and MRM */
2#include <Xm/Xm.h>
3#include <Xm/RowColumn.h>
4#include <Xm/MainW.h>
5#include <Xm/Form.h>
6#include <Xm/Label.h>
7#include <Xm/ScrolledW.h>
8#include <Xm/Separator.h>
9#include <Xm/CascadeB.h>
10#include <Xm/PushB.h>
11#include <Xm/SelectioB.h>
12#include <Xm/FileSB.h>
13#include <Xm/MessageB.h>
14#include <Xm/Text.h>
15#include <Xm/List.h>
16#include <dui_colors.h>
17/* VUIT routines for the user to call */
18void s_error();
19/*
20#define LABEL_FONT "-*-NEW CENTURY SCHOOLBOOK-BOLD-R-*--*-140-*-*-*-*-ISO8859-1"
21#define DEFAULT_FONT "-*-TIMES-BOLD-R-*--*-120-*-*-*-*-ISO8859-1"
22
23#define MENU_FONT "-*-TIMES-BOLD-R-*--*-120-*-*-*-*-ISO8859-1"
24*/
25#define LABEL_FONT "-*-HELVETICA-BOLD-R-*--*-120-*-*-*-*-ISO8859-1"
26
27#define DEFAULT_FONT "-*-HELVETICA-BOLD-R-*--*-100-*-*-*-*-ISO8859-1"
28
29#define MENU_FONT "-*-COURIER-BOLD-R-*--*-100-*-*-*-*-ISO8859-1"
30
31#define SERVER_FONT "-*-TIMES-BOLD-R-*--*-100-*-*-*-*-ISO8859-1"
32
33typedef enum { DID_SERVICES, DID_CLIENTS, DID_SEL_NODE, DID_SEL_SERVICE,
34 DID_KILL_ALL, DID_SERVICE, DID_COMMAND, MAX_POP_UPS } POPUPS;
35
36/* Motif Global variables */
37Display *display; /* Display variable */
38XtAppContext app_context; /* application context */
39Widget toplevel_widget; /* Root widget ID of application */
40MrmHierarchy s_MrmHierarchy; /* MRM database hierarchy ID */
41
42typedef struct item{
43 struct item *next;
44 DNS_SERVER_INFO server;
45 DNS_SERVICE_INFO *service_ptr;
46 char name[132];
47 Widget button_id;
48 Widget pop_widget_id[2];
49 /*
50 int popping;
51 */
52 int busy;
53}SERVER;
54
55SERVER *Server_head = (SERVER *)0;
56
57Widget Matrix_id[2] = {0, 0};
58int Curr_matrix;
59Widget Label_id = 0;
60Widget Content_label_id = 0;
61Widget Window_id = 0;
62Widget pop_widget_id[MAX_POP_UPS] = {0,0,0,0,0,0,0};
63Widget No_link_button_id;
64
65XmString create_str();
66XmFontList util_get_font();
67
68Widget create_selection_dialog();
69Widget create_file_selection_dialog();
70Widget create_prompt_dialog();
71Widget create_question_dialog();
72Widget create_service_dialog();
73Widget create_server_dialog();
74Widget create_client_dialog();
75Widget create_node_selection();
76Widget create_service_selection();
77Widget create_kill_confirmation();
78Widget create_send_command();
79Widget create_push_button();
80Widget put_popup();
81Widget put_selection();
82
83Widget gui_toplevel();
84Widget gui_initialize();
85void gui_create_main_menu();
86void gui_create_main_window();
87
88
89
90
91
92
93
94
95
Note: See TracBrowser for help on using the repository browser.