Annotation of OpenXM_contrib/gnuplot/win/wcommon.h, Revision 1.1.1.2
1.1 maekawa 1: /*
1.1.1.2 ! maekawa 2: * $Id: wcommon.h,v 1.2 1999/01/12 14:04:58 lhecking Exp $
1.1 maekawa 3: */
4:
5: /* GNUPLOT - wcommon.h */
6:
7: /*[
8: * Copyright 1992 - 1993, 1998 Maurice Castro, Russell Lang
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: * AUTHORS
39: *
40: * Maurice Castro
41: * Russell Lang
42: *
43: * Send your comments or suggestions to
44: * info-gnuplot@dartmouth.edu.
45: * This is a mailing list; to join it send a note to
46: * majordomo@dartmouth.edu.
47: * Send bug reports to
48: * bug-gnuplot@dartmouth.edu.
49: */
50:
51: #if WINVER >= 0x030a
52: #ifndef CYGWIN
53: #include <shellapi.h>
54: #endif
55: #endif
56: /* this file contains items that are internal to wgnuplot.dll */
57:
58:
59: /* wgnuplib.c */
60: extern HINSTANCE hdllInstance;
61: extern LPSTR szParentClass;
62: extern LPSTR szTextClass;
63: extern LPSTR szPauseClass;
64: extern LPSTR szGraphClass;
65: extern LPSTR szAboutClass;
66:
67: void NEAR * LocalAllocPtr(UINT flags, UINT size);
68: void LocalFreePtr(void NEAR *ptr);
69: LPSTR GetInt(LPSTR str, LPINT pval);
70:
71: /* wtext.c */
72: void UpdateText(LPTW, int);
73: void CreateTextClass(LPTW lptw);
74: void NewLine(LPTW);
75: void TextPutStr(LPTW lptw, LPSTR str);
76: void WriteTextIni(LPTW lptw);
77: void ReadTextIni(LPTW lptw);
78: #if WINVER >= 0x030a
79: void DragFunc(LPTW lptw, HDROP hdrop);
80: #endif
81:
82: /* wmenu.c - Menu */
83: void SendMacro(LPTW lptw, UINT m);
84: void LoadMacros(LPTW lptw);
85: void CloseMacros(LPTW lptw);
86:
87: /* wprinter.c - Printer setup and dump */
88: BOOL PrintSize(HDC printer, HWND hwnd, LPRECT lprect);
89: void PrintRegister(LPPRINT lpr);
90: void PrintUnregister(LPPRINT lpr);
91: #if WINVER >= 0x030a
92: BOOL CALLBACK WINEXPORT PrintAbortProc(HDC hdcPrn, int code);
93: BOOL CALLBACK WINEXPORT PrintDlgProc(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam);
94: #endif
95:
96: /* wgraph.c */
97:
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>