File: YHelp.h

package info (click to toggle)
rosegarden 2.1pl3-1
  • links: PTS
  • area: main
  • in suites: woody
  • size: 3,604 kB
  • ctags: 4,346
  • sloc: ansic: 42,763; sh: 1,730; makefile: 441; tcl: 320
file content (51 lines) | stat: -rw-r--r-- 1,479 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51

/*
   YHelp.h :  Widget Creation library Help system Header
   ------------------------------------------------------

   Functions as listed below, plus two actions (y-help-wm-quit and
   y-help-contextual).  More documentation in the top of YHelp.c.

   Chris Cannam, 1993-94
*/


#ifndef _Y_HELP_STUFF_
#define _Y_HELP_STUFF_

#include "Yawn.h"

extern int   YHelpSetTextFont(String);
extern int   YHelpSetXrefFont(String);
extern int   YHelpSetTitleFont(String);
extern int   YHelpSetVerbatimFont(String);

extern int   YHelpSetTextFontStruct(XFontStruct *);
extern int   YHelpSetXrefFontStruct(XFontStruct *);
extern int   YHelpSetTitleFontStruct(XFontStruct *);
extern int   YHelpSetVerbatimFontStruct(XFontStruct *);

extern int   YHelpInitialise(Widget, String, String (*)(void),
			     void (*)(void), String);

extern void  YHelpSetIdentifyingBitmap(Pixmap bitmap);
extern int   YHelpSetTopic(String topic);
extern int   YHelpInstallHelp(void);
extern void  YHelpClose(void);

extern int   YHelpSetHelpFile(String filename);
extern char *YHelpGetHelpFile(void);
extern int   YHelpCloseHelpFile(void);

extern void  YHelpDoneButtonAction(Widget, XEvent *, String *, Cardinal *);
extern void  YHelpContextHelpAction(Widget, XEvent *, String *, Cardinal *);

extern int   YHelpWriteIndexFile(void);

extern XFontStruct *yHelpTextFont;
extern XFontStruct *yHelpXrefFont;
extern XFontStruct *yHelpXmplFont;
extern XFontStruct *yHelpHeadFont;

#endif /* _Y_HELP_STUFF_ */