LICENSE at the root; the 103 files new in ext/src/mcde (none was in the CDE import) carry the CNCL line instead of the LGPL notice. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
33 lines
1.2 KiB
C
33 lines
1.2 KiB
C
/*
|
|
* dtbar.h -- dtbar: what dtbar.c, about.c and forcequit.c share
|
|
*
|
|
* License: CNCL 1.0 (Could Not Care Less), see LICENSE at the top of the tree.
|
|
*/
|
|
|
|
#ifndef _dtbar_h
|
|
#define _dtbar_h
|
|
|
|
#include <X11/Intrinsic.h>
|
|
|
|
/* the bar's shell: the parent of its windows */
|
|
extern Widget barShell;
|
|
|
|
/* About This Computer (about.c) */
|
|
extern void ShowAbout(void);
|
|
/* Force Quit Applications (forcequit.c) */
|
|
extern void ShowForceQuit(void);
|
|
/* a message for the user in a small window: an error or an information */
|
|
extern void ShowMessage(const char *title, const char *text, int error);
|
|
/* a dialog of the bar in the middle of the screen, not under the bar (Motif
|
|
* would centre it over its parent, which is the bar) */
|
|
extern void Centre(Widget dialog);
|
|
/* volume, Bluetooth and network, left of the clock (status.c) */
|
|
extern Widget MakeStatus(Widget parent);
|
|
extern void StartStatus(XtAppContext app);
|
|
/* a slider that a Motif menu takes as an entry (menuscale.c) */
|
|
extern Widget MenuScale(Widget menu, const char *name, Arg *args, Cardinal n);
|
|
/* run a shell command line, in a session of its own, without waiting */
|
|
extern void RunCommand(const char *command);
|
|
|
|
#endif /* _dtbar_h */
|