Initial release of Maemo 5 port of gnuplot
[gnuplot] / src / os2 / pm_msgs.h
1 /*
2  * $Id: pm_msgs.h,v 1.4 2005/10/05 08:05:41 mikulik Exp $
3  */
4
5 /* GNUPLOT - pm_msgs.h */
6
7 /*[
8  * Copyright 1992, 1993, 1998, 2004   Roger Fearick
9  *
10  * Permission to use, copy, and distribute this software and its
11  * documentation for any purpose with or without fee is hereby granted,
12  * provided that the above copyright notice appear in all copies and
13  * that both that copyright notice and this permission notice appear
14  * in supporting documentation.
15  *
16  * Permission to modify the software is granted, but not the right to
17  * distribute the complete modified source code.  Modifications are to
18  * be distributed as patches to the released version.  Permission to
19  * distribute binaries produced by compiling modified sources is granted,
20  * provided you
21  *   1. distribute the corresponding source modifications from the
22  *    released version in the form of a patch file along with the binaries,
23  *   2. add special version identification to distinguish your version
24  *    in addition to the base release version number,
25  *   3. provide your name and address as the primary contact for the
26  *    support of your modified version, and
27  *   4. retain our contact information in regard to use of the base
28  *    software.
29  * Permission to distribute the released version of the source code along
30  * with corresponding source modifications in the form of a patch file is
31  * granted with same provisions 2 through 4 for binary distributions.
32  *
33  * This software is provided "as is" without express or implied warranty
34  * to the extent permitted by applicable law.
35 ]*/
36
37 /*
38  * Message codes for communication between pm.trm (gnuplot) and gclient.c
39  * (gnupmdrv).
40  */
41
42 #ifndef PM_CMDS_H
43 #define PM_CMDS_H
44
45 /* graphics commands */
46 #define SET_GRAPHICS    'G'
47 #define SET_TEXT        'E'
48 #define SET_LINE        'L'
49 #define SET_FILLBOX     'B'
50 #define SET_LINEWIDTH   'W'
51 #define SET_ANGLE       'A'
52 #define SET_JUSTIFY     'J'
53 #define SET_POINTMODE   'D'
54 #define SET_FONT        'F'
55 #define GR_QUERY_FONT   'g'
56 #define SET_OPTIONS     'O'
57 #define SET_SPECIAL     'o'  /* used for special options */
58 #define SET_MENU        '#'
59 #define GR_QUERY        'Q'
60 #define GR_SUSPEND      'E'     /*'s' */
61 #define GR_RESUME       'r'
62 #define GR_MOVE         'M'
63 #define GR_DRAW         'V'
64 #define GR_RESET        'R'
65 #define GR_TEXT         'T'
66 #define GR_ENH_TEXT     'x'
67 #define GR_PAUSE        'P'
68 #define GR_HELP         'H'
69 #define GR_MOUSECAPABLE 'm' /* PM: say gnupmdrv we are mouseable */
70 #define PUT_TMPTEXT     't'
71 #define SET_RULER       'u'
72 #define SET_CURSOR      'c'
73 #define SET_CLIPBOARD   'l'
74 #define GR_MAKE_PALETTE         'p'
75 #define GR_RELEASE_PALETTE      'e'
76 #define GR_SET_COLOR            'C'
77 #define GR_SET_RGBCOLOR         'b'
78 #define GR_FILLED_POLYGON       'f'
79 #define GR_IMAGE                'i'
80 #define GR_RGB_IMAGE    'I'
81
82 #endif
83