41
41
* Date Name Description of modification
42
42
* ------- ---------- -----------------------------------------------------
45
* $Log: vibincld.h,v $
46
* Revision 6.5 2002/06/13 16:15:13 kans
47
* fix includes for OS_UNIX_DARWIN with WIN_MAC (EN) - still bug in vibutils.c file dialog
49
* Revision 6.4 2000/07/08 20:44:14 vakatov
50
* Get all "#include" out of the 'extern "C" { }' scope; other cleanup...
52
* Revision 6.3 1999/06/22 15:14:54 lewisg
53
* fix image library so that works on linux with > 8 bits
55
* Revision 6.2 1999/04/06 14:23:25 lewisg
56
* add opengl replacement for viewer3d
58
* Revision 6.1 1998/07/14 16:44:27 vakatov
59
* Added VibrantIsGUI() and <internal> Nlm_VibrantSetGUI()
61
* Revision 6.0 1997/08/25 18:57:08 madden
62
* Revision changed to 6.0
64
* Revision 5.9 1997/07/23 19:36:12 vakatov
65
* [WIN_MSWIN] +Nlm_GetPicWinHDC proto
67
* Revision 5.8 1997/07/10 21:49:30 vakatov
68
* [WIN_X] Now able to manage windows having different depths(and
69
* different visuals and GC).
71
* Revision 5.7 1997/06/09 18:07:39 vakatov
72
* Removed "Nlm_fontList" declaration(it's now static in "ncbidraw.c")
73
* [WIN_MOTIF] Added Nlm_XAllocColor() prototype
75
* Revision 5.6 1997/04/25 16:09:33 vakatov
76
* [WIN_MOTIF,WIN_MSWIN] Added functions to catch, convert(to Mac keycodes)
77
* and process navigation and special keys
79
* Revision 5.5 1997/04/17 16:17:50 kans
80
* InitForms and FreeForms added
82
* Revision 5.4 1997/02/13 21:34:37 vakatov
83
* [WIN_MOTIF] #define NLM_MOTIF_CASCADEB_BUG -- workaround the Motif bug
85
* Revision 5.3 1997/01/28 22:03:51 kans
86
* changed <GestaltEqu.h> to <Gestalt.h> for CodeWarrior
88
* Revision 5.2 1996/10/28 19:31:19 vakatov
89
* [WIN_MOTIF] Added prototypes for functions Nlm_VibrantDefaultColormap()
90
* and Nlm_XrmGetResource()
92
* Revision 5.1 1996/08/27 20:52:53 vakatov
93
* Added Nlm_HorizScrollBar4() and Nlm_VertScrollBar4() prototypes -- to
94
* create Int4-range scrollbars
96
* Revision 5.0 1996/05/28 13:45:08 ostell
99
* Revision 4.2 1996/03/12 22:34:37 epstein
100
* add shellapi for Drag-And-Drop support
102
* Revision 4.1 1996/02/13 17:24:07 kans
103
* accelerated set position prior to realization (Denis Vakatov)
105
* Revision 4.0 1995/07/26 13:51:04 ostell
106
* force revision to 4.0
108
* Revision 2.21 1995/07/17 22:02:19 kans
109
* Motif clipboard cut and paste supported (AS)
111
* Revision 2.20 1995/05/31 18:00:58 kans
114
* Revision 2.19 1995/05/17 15:15:14 kans
118
44
* ==========================================================================
218
#if defined(WIN_MAC_QUARTZ)
219
#define Nlm_WindowTool WindowPtr
220
#define Nlm_PortTool CGContextRef
221
#define Nlm_ShellTool Nlm_Handle
222
#define Nlm_MainTool Nlm_Handle
223
#define Nlm_ColorMTool PaletteHandle
286
225
#define Nlm_WindowTool WindowPtr
287
226
#define Nlm_PortTool GrafPtr
288
227
#define Nlm_ShellTool Nlm_Handle
289
228
#define Nlm_MainTool Nlm_Handle
290
229
#define Nlm_ColorMTool PaletteHandle
294
234
#define Nlm_WindowTool HWND
521
461
void Nlm_VibrantSetGUI PROTO((void));
463
#if defined(WIN_MAC) && defined(WIN_MAC_QUARTZ)
464
CGRect Nlm_RecTToCGRect(Nlm_RecT r);
465
Nlm_RecT Nlm_CGRectToRecT(CGRect cgr);
466
CGRect Nlm_RectQDToCG(Rect r);
467
Rect Nlm_RectCGToQD(CGRect r);
468
CGPoint Nlm_PoinTToCGPoint(Nlm_PoinT np);
469
Nlm_PoinT Nlm_CGPointToPoinT(CGPoint qp);
524
473
extern Nlm_Boolean Nlm_VibrantDisabled PROTO((void));
525
474
extern HDC Nlm_GetPicWinHDC PROTO((void));