Source code of Windows XP (NT5)
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

  1. #ifndef CALLBACKS_H
  2. #define CALLBACKS_H
  3. extern int cb_demo_mode;
  4. void intToggleCB(Widget w, XtPointer client_data, XtPointer call_data);
  5. void initCB(Widget w);
  6. void exposeCB(Widget w);
  7. void resizeCB(Widget w, XtPointer client_data, XtPointer call);
  8. void inputCB(Widget w, XtPointer client_data, XtPointer call_data);
  9. #ifdef X11
  10. Boolean drawWP(XtPointer data);
  11. #else
  12. BOOL drawWP(HWND hWnd);
  13. #endif
  14. void weatherCB(Widget w, XtPointer client_data, XtPointer call_data);
  15. void currentTimeCB(Widget w);
  16. void time10amCB(Widget w);
  17. void time12pmCB(Widget w);
  18. void time4pmCB(Widget w);
  19. /* This sets how fast time in the demo moves as opposed to
  20. * real time -- client_data is secretly an int */
  21. void timeSpeedCB(Widget w, XtPointer client_data, XtPointer call_data);
  22. void demo_modeCB(Widget w, XtPointer client_data, XtPointer call_data);
  23. void resetViewerCB(Widget w, XtPointer client_data, XtPointer call_data);
  24. void exitCB(Widget w, XtPointer client_data, XtPointer call_data);
  25. #endif