25 #include "viaio/Vlib.h"
26 #include "viaio/VEdges.h"
27 #include "viaio/VImage.h"
34 #if !defined(__STDC__) && !defined(_NO_PROTO)
37 #if defined(__STDC__) && defined(_NO_PROTO)
45 #include <X11/Xfuncproto.h>
52 #define VXNmessageAreaNLines "messageAreaNLines"
53 #define VXCMessageAreaNLines "MessageAreaNLines"
76 VXMctrl = ControlMask,
77 VXMbutton1 = Button1Mask,
78 VXMbutton2 = Button2Mask,
79 VXMbutton3 = Button3Mask,
80 VXMbutton4 = Button4Mask,
81 VXMbutton5 = Button5Mask,
94 VXInputType input_type;
104 VXModifierMask modifiers;
122 } VXInputDataRec, *VXInputData;
127 typedef void (*VXInputCallback)(
128 #if NeedFunctionPrototypes
137 typedef void (*VXMenuCallback)(
138 #if NeedFunctionPrototypes
157 #define VXWarning VWarning
166 extern void VXPopupMessageBox (
167 #
if NeedFunctionPrototypes
173 extern VString VXPopupInputBox (
174 #
if NeedFunctionPrototypes
181 extern VXAnswer VXPopupYesNoBox (
182 #
if NeedFunctionPrototypes
188 extern void VXPopupTextBox (
189 #
if NeedFunctionPrototypes
197 extern VString VXPopupFileBox (
198 #
if NeedFunctionPrototypes
205 extern VBoolean VXSetImage (
206 #
if NeedFunctionPrototypes
218 #
if NeedFunctionPrototypes
226 extern void VXAppMainLoop (
227 #
if NeedFunctionPrototypes
232 extern void VXReportValidOptions (
233 #
if NeedFunctionPrototypes
240 extern void VXAddInputCallback (
241 #
if NeedFunctionPrototypes
250 extern VBoolean VXSetLineColor (
251 #
if NeedFunctionPrototypes
256 extern void VXSetLineWidth (
257 #
if NeedFunctionPrototypes
262 extern void VXClearLines (
263 #
if NeedFunctionPrototypes
268 extern VBoolean VXDrawLine (
269 #
if NeedFunctionPrototypes
277 extern VBoolean VXDrawEdges (
278 #
if NeedFunctionPrototypes
285 extern void VXAddMenu (
286 #
if NeedVarargsPrototypes
294 extern void VXDisplayMessage (
295 #
if NeedVarargsPrototypes
302 extern void VXShowMessageArea (
303 #
if NeedFunctionPrototypes
308 extern void VXHideMessageArea (
309 #
if NeedFunctionPrototypes
314 extern Widget VXGetImageViewWidget (
315 #
if NeedFunctionPrototypes
320 extern Widget VXGetApplicationShell (
321 #
if NeedFunctionPrototypes
326 extern VBoolean VXIsColorDisplay (
327 #
if NeedFunctionPrototypes
334 extern void VXStoreOverlays (
335 #
if NeedFunctionPrototypes
340 extern void VXRestoreOverlays (
341 #
if NeedFunctionPrototypes
348 extern VBoolean VXSetTextFont (
349 #
if NeedFunctionPrototypes
354 extern VBoolean VXSetTextColor (
355 #
if NeedFunctionPrototypes
360 extern void VXClearTexts (
361 #
if NeedFunctionPrototypes
366 extern VBoolean VXDrawText (
367 #
if NeedFunctionPrototypes