mirror of https://github.com/tongzx/nt5src
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
35 lines
988 B
35 lines
988 B
#ifndef CALLBACKS_H
|
|
#define CALLBACKS_H
|
|
|
|
extern int cb_demo_mode;
|
|
|
|
void intToggleCB(Widget w, XtPointer client_data, XtPointer call_data);
|
|
|
|
void initCB(Widget w);
|
|
void exposeCB(Widget w);
|
|
void resizeCB(Widget w, XtPointer client_data, XtPointer call);
|
|
void inputCB(Widget w, XtPointer client_data, XtPointer call_data);
|
|
|
|
#ifdef X11
|
|
Boolean drawWP(XtPointer data);
|
|
#else
|
|
BOOL drawWP(HWND hWnd);
|
|
#endif
|
|
|
|
void weatherCB(Widget w, XtPointer client_data, XtPointer call_data);
|
|
|
|
void currentTimeCB(Widget w);
|
|
void time10amCB(Widget w);
|
|
void time12pmCB(Widget w);
|
|
void time4pmCB(Widget w);
|
|
|
|
/* This sets how fast time in the demo moves as opposed to
|
|
* real time -- client_data is secretly an int */
|
|
void timeSpeedCB(Widget w, XtPointer client_data, XtPointer call_data);
|
|
|
|
void demo_modeCB(Widget w, XtPointer client_data, XtPointer call_data);
|
|
void resetViewerCB(Widget w, XtPointer client_data, XtPointer call_data);
|
|
|
|
void exitCB(Widget w, XtPointer client_data, XtPointer call_data);
|
|
|
|
#endif
|