/****************************************************************************
* *
* W popdial . h XGAP source Frank Celler
* *
* *
* Y Copyright 1995 - 1997 , Lehrstuhl D fuer Mathematik , RWTH Aachen , Germany
* Y Copyright 1997 , Frank Celler , Huerth , Germany
* *
* * This file contains functions for popping up dialogs .
*/
#ifndef _popdial_h
#define _popdial_h
#include "utils.h" /* utility functions */
/****************************************************************************
* *
* D PD_YES . . . . . . . . . . . . . . . . . . . . . . . . exit button " yes "
* D PD_NO . . . . . . . . . . . . . . . . . . . . . . . . exit button " no "
* D PD_OK . . . . . . . . . . . . . . . . . . . . . . . . exit button " OK "
* D PD_CANCEL . . . . . . . . . . . . . . . . . . . . exit button " cancel "
* D PD_ABORT . . . . . . . . . . . . . . . . . . . . . . exit button " abort "
* D PD_RETRY . . . . . . . . . . . . . . . . . . . . . . exit button " retry "
* D PD_APPEND . . . . . . . . . . . . . . . . . . . . exit button " append "
* D PD_OVERWRITE . . . . . . . . . . . . . . . . . . exit button " overwrite "
*/
#define PD_YES 0 x0001
#define PD_NO 0 x0002
#define PD_OK 0 x0004
#define PD_CANCEL 0 x0008
#define PD_ABORT 0 x0010
#define PD_RETRY 0 x0020
#define PD_APPEND 0 x0040
#define PD_OVERWRITE 0 x0080
#define PD_LAST PD_OVERWRITE
/****************************************************************************
* *
* T TypePopupDialog . . . . . . . . . . . . . . . pointer to dialog structure
*/
typedef struct _popup_dialog
{
Widget topLevel;
Widget popupShell;
Widget dialog;
XtAppContext context;
Int result;
Int button;
Int defaultButton;
Widget buttons[PD_LAST+1 ];
}
* TypePopupDialog;
/****************************************************************************
* *
* P Prototypes . . . . . . . . . . . prototypes of public gap text functions
*/
extern TypePopupDialog CreatePopupDialog(
XtAppContext,
Widget,
String,
Int ,
Int ,
Pixmap );
extern Int PopupDialog(
TypePopupDialog,
String,
String,
String* );
extern void PopupDialogBrokenWM(
void );
#endif
/****************************************************************************
* *
* E popdial . h . . . . . . . . . . . . . . . . . . . . . . . . . . . ends here
*/
Messung V0.5 in Prozent C=98 H=91 G=94
¤ Dauer der Verarbeitung: 0.13 Sekunden
(vorverarbeitet am 2026-06-28)
¤
*© Formatika GbR, Deutschland