-
Notifications
You must be signed in to change notification settings - Fork 0
/
XButil.h
60 lines (45 loc) · 1.77 KB
/
XButil.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
/*
* XButil.h
* by Eugene Hodges, IV (ewhodges@eos.ncsu.edu)
*
* Copyright 1992, 1993 by Eugene Hodges
* All Rights Reserved
*
* Permission to use, copy, and distribute this software and text for
* non-commercial purposes and without fee is hereby granted, provided
* that this notice appears in all copies.
*
* The author disclaims all warranties with regard to the software or
* text including all implied warranties of merchantability and fitness.
*
* In no event shall the author or NCSU be liable for any special,
* indirect or cosequential damages or any damages whatsoever
* resulting from loss of use, data or profits, whether in an
* action of contract, negligence or other tortious action,
* arising out of or in connection with the use or performance
* of this software or text.
*
*/
#include <stdio.h>
#include <stdarg.h>
#include <X11/Intrinsic.h>
#include <X11/cursorfont.h>
#include <X11/StringDefs.h>
#include <Xm/Xm.h>
#include <Xm/BulletinB.h>
#include <Xm/SelectioB.h>
#include <Xm/MessageB.h>
#include <Xm/Form.h>
void XbCreateErrorDialog(Widget parent, char *title);
void XbError(char format[], ...);
void XbCreateInfoDialog(Widget parent, char *title);
void XbInfo(char format[], ...);
void XbCreateQuestionDialog(Widget parent, char *title);
void XbQuestion(char format[], ...);
Cursor XbCreateCursor(Widget w, char *cursor_bits, char *mask_bits, int width,
int height, int x_hot, int y_hot);
void XbChangeCursor(Widget w, int shape);
void XbWatchCursor(Widget w);
void XbNormalCursor(Widget w);
void XbDrawCircle(Widget w, Window drawable, GC gc, int center_x, int center_y, int radius);
Widget XbCreateDialog(Widget parent, char *class_name, char *title, Widget *form, Arg *al, int ac);