1 /*   vibdefns.h
2 * ===========================================================================
3 *
4 *                            PUBLIC DOMAIN NOTICE
5 *            National Center for Biotechnology Information (NCBI)
6 *
7 *  This software/database is a "United States Government Work" under the
8 *  terms of the United States Copyright Act.  It was written as part of
9 *  the author's official duties as a United States Government employee and
10 *  thus cannot be copyrighted.  This software/database is freely available
11 *  to the public for use. The National Library of Medicine and the U.S.
12 *  Government do not place any restriction on its use or reproduction.
13 *  We would, however, appreciate having the NCBI and the author cited in
14 *  any work or product based on this material
15 *
16 *  Although all reasonable efforts have been taken to ensure the accuracy
17 *  and reliability of the software and data, the NLM and the U.S.
18 *  Government do not and cannot warrant the performance or results that
19 *  may be obtained by using this software or data. The NLM and the U.S.
20 *  Government disclaim all warranties, express or implied, including
21 *  warranties of performance, merchantability or fitness for any particular
22 *  purpose.
23 *
24 * ===========================================================================
25 *
26 * File Name:  vibdefns.h
27 *
28 * Author:  Jonathan Kans
29 *
30 * Version Creation Date:   7/1/91
31 *
32 * $Revision: 6.21 $
33 *
34 * File Description:
35 *       Vibrant alias definitions
36 *
37 * Modifications:
38 * --------------------------------------------------------------------------
39 * $Log: vibdefns.h,v $
40 * Revision 6.21  2016/10/20 15:13:34  choi
41 * JIRA SM-99
42 * Added new function Nlm_ResizableModalWindow.
43 *
44 * Revision 6.20  2016/10/20 14:58:38  choi
45 * JIRA SM-99
46 * Added new function Nlm_PopupListEx that takes a font parameter.
47 *
48 * Revision 6.19  2016/10/19 17:17:01  choi
49 * JIRA SM-99
50 * Checked in new funtions for buttons that take a font parameter
51 * 1) PushButtonEx
52 * 2) DefaultButtonEx
53 * 3) CheckBoxEx
54 * 4) RadioButtonEx
55 *
56 * Revision 6.18  2013/05/31 23:26:17  kans
57 * added hooks for menu and button action
58 *
59 * Revision 6.17  2011/09/20 18:38:55  choi
60 * Added DialogTextWithFont and SpecialTextWithFont which are versions of
61 * DialogText and SpecialText that take a font parameter.  It should be
62 * straightforward to re-implement DialogText and SpecialText in terms of
63 * DialogTextWithFont and SpecialTextWithFont by passing in Nlm_systemFont
64 * as the parameter.
65 *
66 * Revision 6.16  2008/04/29 13:53:40  kans
67 * fixes for warnings caught by mingw cross-compiler
68 *
69 * Revision 6.15  2005/01/24 15:01:25  kans
70 * prototype UsePrimaryMonitor
71 *
72 * Revision 6.14  2004/02/05 16:25:06  kans
73 * revert to Nlm_GetTextVScrollBar and Nlm_GetTextHScrollBar being static, implement setOffset and getOffset for scroll text, since Windows scroll text has its own scroll bar
74 *
75 * Revision 6.13  2004/02/04 15:21:02  kans
76 * make GetTextVScrollBar and GetTextHScrollBar extern, to add search function to general text viewer
77 *
78 * Revision 6.12  2004/01/05 17:11:20  kans
79 * added defines for functions to control dual monitor usage
80 *
81 * Revision 6.11  2003/10/30 17:32:16  kans
82 * removed define for SetTextColor, which was conflicting with Win32 symbol
83 *
84 * Revision 6.10  2003/10/29 19:10:00  bazhin
85 * Added function Nlm_SetTextColor(Nlm_TexT t, Nlm_Uint4 r, Nlm_Uint4 g,
86 *                                 Nlm_Uint4 b).
87 *
88 * Revision 6.9  2002/01/09 15:23:54  kans
89 * added HasAquaMenuLayout
90 *
91 * Revision 6.8  2001/09/10 17:34:21  bazhin
92 * Added function Nlm_SetTextCursorBlinkRate(Nlm_TexT t, Nlm_Int2 msec).
93 *
94 * Revision 6.7  1999/04/06 14:23:25  lewisg
95 * add opengl replacement for viewer3d
96 *
97 * Revision 6.6  1998/06/01 17:20:13  vakatov
98 * Added code to draw/fill 90-degree arc/pie (quadrants)
99 *
100 * Revision 6.5  1998/03/22 03:00:57  kans
101 * changed names to RegisterServiceProc and RegisterResultProc
102 *
103 * Revision 6.4  1998/03/22 02:33:15  kans
104 * added request proc, result proc, message handlers to support, and send open doc event, launch app now work with file names or signatures
105 *
106 * Revision 6.3  1997/11/12 20:56:06  kans
107 * added SetMouseMoveCallback and SetMouseMoveRegion, implemented first on Mac
108 *
109 * Revision 6.2  1997/10/18 23:30:24  kans
110 * implemented Nlm_GetTextCursorPos (DV)
111 *
112 * Revision 6.1  1997/09/16 20:25:48  vakatov
113 * +Nlm_FitStringWidth
114 *
115 * Revision 5.18  1997/08/04 14:15:09  vakatov
116 * Added Nlm_SetTextCursorPos() function
117 *
118 * Revision 5.17  1997/08/01 16:47:26  vakatov
119 * [WIN_MOTIF,WIN_MSWIN]  Added IconifyWindow() and IconicWindow()
120 *
121 * Revision 5.16  1997/07/23 19:38:21  vakatov
122 * +#def Nlm_PaintStringEx
123 *
124 * Revision 5.15  1997/07/16 19:52:38  vakatov
125 * + Nlm_StrngPrintable() #define
126 *
127 * Revision 5.14  1997/07/10 21:49:28  vakatov
128 * [WIN_X]  Now able to manage windows having different depths(and
129 * different visuals and GC).
130 *
131 * Revision 5.13  1997/06/23 21:18:44  vakatov
132 * Added Nlm_SetTextEditable() function to allow/prohibit text editing
133 *
134 * Revision 5.12  1997/05/27 21:50:53  vakatov
135 * Added Nlm_PopupParentWindow() to popup window w/o switching input focus
136 *
137 * Revision 5.11  1997/04/25 16:08:01  vakatov
138 * +SetSlatePolicy
139 *
140  * Revision 5.10  1997/03/19  15:55:20  vakatov
141  * Added:  #define QuittingProgram Nlm_QuittingProgram
142  *
143  * Revision 5.9  1996/12/12  23:11:10  kans
144  * added Nlm_ClipPrintingRect (DV)
145  *
146  * Revision 5.8  1996/09/30  19:58:57  vakatov
147  * + #define SetPenDash Nlm_SetPenDash
148  *
149  * Revision 5.7  1996/09/26  00:29:23  kans
150  * added SetWindowTimer
151  *
152  * Revision 5.6  1996/09/09  00:15:01  kans
153  * AutonomousPanel4 uses ScrollBar4 to have > 32K positions
154  *
155  * Revision 5.5  1996/08/27  20:43:40  vakatov
156  * Added defs of new scrollbar functions
157  *
158  * Revision 5.4  1996/07/25  18:49:54  vakatov
159  * Added "#define GetBarMax Nlm_GetBarMax"
160  *
161  * Revision 5.3  1996/06/19  20:31:53  vakatov
162  * #define GetListItem Nlm_GetListItem
163  *
164  * Revision 5.1  1996/05/31  20:12:39  vakatov
165  * Added Nlm_ExtendedList() function to set the list selection policy
166  * to EXTENDED_SELECTION -- as it was for Nlm_MultiList() since Revision 4.4.
167  *
168  * Revision 4.3  1996/03/11  20:39:09  epstein
169  * add support for Drag & Drop
170  *
171  * Revision 4.2  1995/11/08  23:30:31  kans
172  * removed edit block fields, which belong in the application
173  *
174  * Revision 2.48  1995/07/14  17:48:26  kans
175  * new CopyPixmap (AS)
176 *
177 * ==========================================================================
178 */
179 
180 #ifndef _VIBDEFNS_
181 #define _VIBDEFNS_
182 
183 #ifdef __cplusplus
184 extern "C" {
185 #endif
186 
187 /* Interface object types */
188 
189 #define GraphiC Nlm_GraphiC
190 
191 #define BaR Nlm_BaR
192 #define ButtoN Nlm_ButtoN
193 #define ChoicE Nlm_ChoicE
194 #define DisplaY Nlm_DisplaY
195 #define GrouP Nlm_GrouP
196 #define IcoN Nlm_IcoN
197 #define IteM Nlm_IteM
198 #define LisT Nlm_LisT
199 #define MenU Nlm_MenU
200 #define PaneL Nlm_PaneL
201 #define PopuP Nlm_PopuP
202 #define PrompT Nlm_PrompT
203 #define RepeaT Nlm_RepeaT
204 #define SlatE Nlm_SlatE
205 #define SwitcH Nlm_SwitcH
206 #define TexT Nlm_TexT
207 #define WindoW Nlm_WindoW
208 
209 /* Callback procedure types */
210 
211 #define VoidProc Nlm_VoidProc
212 #define KeyProc Nlm_KeyProc
213 #define ActnProc Nlm_ActnProc
214 #define ClckProc Nlm_ClckProc
215 #define CharProc Nlm_CharProc
216 #define ScrlProc4 Nlm_ScrlProc4
217 #define ScrlProc Nlm_ScrlProc
218 #define ChngProc Nlm_ChngProc
219 #define FreeProc Nlm_FreeProc
220 #define DropProc Nlm_DropProc
221 #define ServiceProc Nlm_ServiceProc
222 #define ResultProc Nlm_ResultProc
223 
224 #define BtnActnProc Nlm_BtnActnProc
225 #define ChsActnProc Nlm_ChsActnProc
226 #define GrpActnProc Nlm_GrpActnProc
227 #define IcnActnProc Nlm_IcnActnProc
228 #define ItmActnProc Nlm_ItmActnProc
229 #define LstActnProc Nlm_LstActnProc
230 #define MnuActnProc Nlm_MnuActnProc
231 #define PnlActnProc Nlm_PnlActnProc
232 #define PupActnProc Nlm_PupActnProc
233 #define RptActnProc Nlm_RptActnProc
234 #define TxtActnProc Nlm_TxtActnProc
235 #define WndActnProc Nlm_WndActnProc
236 #define WndFreeProc Nlm_WndFreeProc
237 
238 #define PnlClckProc Nlm_PnlClckProc
239 #define RptClckProc Nlm_RptClckProc
240 #define IcnClckProc Nlm_IcnClckProc
241 
242 #define BarScrlProc4 Nlm_BarScrlProc4
243 #define BarScrlProc Nlm_BarScrlProc
244 #define SltScrlProc4 Nlm_SltScrlProc4
245 #define SltScrlProc Nlm_SltScrlProc
246 
247 #define IcnChngProc Nlm_IcnChngProc
248 #define SwtChngProc Nlm_SwtChngProc
249 
250 #define SltCharProc Nlm_SltCharProc
251 
252 /* Global variables */
253 
254 #define fileDone Nlm_fileDone
255 #define fileError Nlm_fileError
256 #define termCH Nlm_termCH
257 
258 #define currentKey Nlm_currentKey
259 
260 #define cmmdKey Nlm_cmmdKey
261 #define ctrlKey Nlm_ctrlKey
262 #define optKey Nlm_optKey
263 #define shftKey Nlm_shftKey
264 #define dblClick Nlm_dblClick
265 
266 #define screenRect Nlm_screenRect
267 
268 #define hScrollBarHeight Nlm_hScrollBarHeight
269 #define vScrollBarWidth Nlm_vScrollBarWidth
270 
271 #define dialogTextHeight Nlm_dialogTextHeight
272 #define popupMenuHeight Nlm_popupMenuHeight
273 
274 /* Interface object manipulation procedures */
275 
276 #define RestrictMotifColorsTo Nlm_RestrictMotifColorsTo
277 
278 #define SetColorCell          Nlm_SetColorCell
279 
280 #define DocumentWindow Nlm_DocumentWindow
281 #define FixedWindow Nlm_FixedWindow
282 #define FrozenWindow Nlm_FrozenWindow
283 #define RoundWindow Nlm_RoundWindow
284 #define AlertWindow Nlm_AlertWindow
285 #define ModalWindow Nlm_ModalWindow
286 #define FloatingWindow Nlm_FloatingWindow
287 #define ShadowWindow Nlm_ShadowWindow
288 #define PlainWindow Nlm_PlainWindow
289 
290 #define ResizableModalWindow Nlm_ResizableModalWindow
291 
292 /* esl++ */
293 #define MovableModalWindow Nlm_MovableModalWindow
294 #define SetModalWindowOwner Nlm_SetModalWindowOwner
295 #define IsWindowModal Nlm_IsWindowModal
296 
297 #define SetClose Nlm_SetClose
298 #define SetActivate Nlm_SetActivate
299 #define SetDeactivate Nlm_SetDeactivate
300 #define SetResize Nlm_SetResize
301 #define SetColorMap Nlm_SetColorMap
302 #define SetWindowExtra Nlm_SetWindowExtra
303 #define GetWindowExtra Nlm_GetWindowExtra
304 
305 #define HasDualScreen Nlm_HasDualScreen
306 #define UseFullScreen Nlm_UseFullScreen
307 #define UseLeftScreen Nlm_UseLeftScreen
308 #define UseRightScreen Nlm_UseRightScreen
309 #define UsePrimaryMonitor Nlm_UsePrimaryMonitor
310 
311 #define NormalGroup Nlm_NormalGroup
312 #define HiddenGroup Nlm_HiddenGroup
313 #define SetGroupMargins Nlm_SetGroupMargins
314 #define SetGroupSpacing Nlm_SetGroupSpacing
315 
316 #define PushButton Nlm_PushButton
317 #define DefaultButton Nlm_DefaultButton
318 #define CheckBox Nlm_CheckBox
319 #define RadioButton Nlm_RadioButton
320 
321 #define PushButtonEx Nlm_PushButtonEx
322 #define DefaultButtonEx Nlm_DefaultButtonEx
323 #define CheckBoxEx Nlm_CheckBoxEx
324 #define RadioButtonEx Nlm_RadioButtonEx
325 
326 #define SingleList Nlm_SingleList
327 #define MultiList Nlm_MultiList
328 #define ExtendedList Nlm_ExtendedList
329 #define ListItem Nlm_ListItem
330 #define GetListItem Nlm_GetListItem
331 
332 #define PulldownMenu Nlm_PulldownMenu
333 #define AppleMenu Nlm_AppleMenu
334 #define PopupMenu Nlm_PopupMenu
335 #define SubMenu Nlm_SubMenu
336 #define CommandItem Nlm_CommandItem
337 #define StatusItem Nlm_StatusItem
338 #define ChoiceGroup Nlm_ChoiceGroup
339 #define ChoiceItem Nlm_ChoiceItem
340 #define PopupList Nlm_PopupList
341 #define PopupListEx Nlm_PopupListEx
342 #define PopupItem Nlm_PopupItem
343 #define PopupItems Nlm_PopupItems
344 #define DeskAccGroup Nlm_DeskAccGroup
345 #define FontGroup Nlm_FontGroup
346 #define SeparatorItem Nlm_SeparatorItem
347 #define HasAquaMenuLayout Nlm_HasAquaMenuLayout
348 
349 #define ScrollBar4 Nlm_ScrollBar4
350 #define ScrollBar Nlm_ScrollBar
351 #define SetBarValue Nlm_SetBarValue
352 #define CorrectBarValue Nlm_CorrectBarValue
353 #define GetBarValue Nlm_GetBarValue
354 #define SetBarMax Nlm_SetBarMax
355 #define CorrectBarMax Nlm_CorrectBarMax
356 #define GetBarMax Nlm_GetBarMax
357 #define CorrectBarPage Nlm_CorrectBarPage
358 
359 #define RepeatButton Nlm_RepeatButton
360 
361 #define IconButton Nlm_IconButton
362 
363 #define UpDownSwitch Nlm_UpDownSwitch
364 #define LeftRightSwitch Nlm_LeftRightSwitch
365 #define SetSwitchMax Nlm_SetSwitchMax
366 #define GetSwitchMax Nlm_GetSwitchMax
367 #define SetSwitchParams Nlm_SetSwitchParams
368 
369 #define DialogText Nlm_DialogText
370 #define DialogTextWithFont Nlm_DialogTextWithFont
371 #define HiddenText Nlm_HiddenText
372 #define SpecialText Nlm_SpecialText
373 #define SpecialTextWithFont Nlm_SpecialTextWithFont
374 #define PasswordText Nlm_PasswordText
375 #define ScrollText Nlm_ScrollText
376 #define SetTextSelect Nlm_SetTextSelect
377 #define CurrentText Nlm_CurrentText
378 #define TextSelectionRange Nlm_TextSelectionRange
379 #define CutText Nlm_CutText
380 #define CopyText Nlm_CopyText
381 #define PasteText Nlm_PasteText
382 #define ClearText Nlm_ClearText
383 #define TextLength Nlm_TextLength
384 #define SelectText Nlm_SelectText
385 #define SetTextEditable Nlm_SetTextEditable
386 #define SetTextCursorPos Nlm_SetTextCursorPos
387 #define GetTextCursorPos Nlm_GetTextCursorPos
388 #define SetTextCursorBlinkRate Nlm_SetTextCursorBlinkRate
389 
390 #define StaticPrompt Nlm_StaticPrompt
391 
392 #define NormalDisplay Nlm_NormalDisplay
393 #define ScrollDisplay Nlm_ScrollDisplay
394 
395 #define SimplePanel Nlm_SimplePanel
396 #define AutonomousPanel4 Nlm_AutonomousPanel4
397 #define AutonomousPanel Nlm_AutonomousPanel
398 #ifdef _OPENGL
399 #define Autonomous3DPanel Nlm_Autonomous3DPanel
400 #endif /* _OPENGL */
401 #define SetPanelClick Nlm_SetPanelClick
402 #define SetPanelExtra Nlm_SetPanelExtra
403 #define GetPanelExtra Nlm_GetPanelExtra
404 
405 #define ScrollSlate Nlm_ScrollSlate
406 #define NormalSlate Nlm_NormalSlate
407 #define HiddenSlate Nlm_HiddenSlate
408 #define GeneralSlate Nlm_GeneralSlate
409 #define VirtualSlate Nlm_VirtualSlate
410 #define RegisterRow Nlm_RegisterRow
411 #define RegisterColumn Nlm_RegisterColumn
412 #define GetSlateVScrollBar Nlm_GetSlateVScrollBar
413 #define GetSlateHScrollBar Nlm_GetSlateHScrollBar
414 
415 #define CustomPanel Nlm_CustomPanel
416 #define GeneralPanel Nlm_GeneralPanel
417 #define RegisterRect Nlm_RegisterRect
418 
419 #define SetSlateChar Nlm_SetSlateChar
420 #define CaptureSlateFocus Nlm_CaptureSlateFocus
421 #define SetSlatePolicy Nlm_SetSlatePolicy
422 
423 #define KeyboardView Nlm_KeyboardView
424 
425 #define StartPrinting Nlm_StartPrinting
426 #define EndPrinting Nlm_EndPrinting
427 #define StartPage Nlm_StartPage
428 #define EndPage Nlm_EndPage
429 #define PrintingRect Nlm_PrintingRect
430 #define ClipPrintingRect Nlm_ClipPrintingRect
431 
432 #define StartPicture Nlm_StartPicture
433 #define EndPicture Nlm_EndPicture
434 
435 #define StringToClipboard Nlm_StringToClipboard
436 #define ClipboardToString Nlm_ClipboardToString
437 #define ClipboardHasString Nlm_ClipboardHasString
438 
439 #define GetInputFileName Nlm_GetInputFileName
440 #define GetOutputFileName Nlm_GetOutputFileName
441 
442 #define Metronome Nlm_Metronome
443 #define SetWindowTimer Nlm_SetWindowTimer
444 
445 #define SetMouseMoveCallback Nlm_SetMouseMoveCallback
446 #define SetMouseMoveRegion Nlm_SetMouseMoveRegion
447 
448 #define SetButtonAction Nlm_SetButtonAction
449 #define SetMenuAction Nlm_SetMenuAction
450 
451 #define ProcessEvents Nlm_ProcessEvents
452 #define QuitProgram Nlm_QuitProgram
453 #define QuittingProgram Nlm_QuittingProgram
454 #define RegisterDropProc Nlm_RegisterDropProc
455 #define RegisterServiceProc Nlm_RegisterServiceProc
456 #define RegisterResultProc Nlm_RegisterResultProc
457 
458 #define SetAction Nlm_SetAction
459 
460 #define Advance Nlm_Advance
461 #define Break Nlm_Break
462 #define SetNextPosition Nlm_SetNextPosition
463 #define GetNextPosition Nlm_GetNextPosition
464 
465 #define CountItems Nlm_CountItems
466 
467 #define Enabled Nlm_Enabled
468 #define Visible Nlm_Visible
469 #define ObjectRect Nlm_ObjectRect
470 #define InvalObject Nlm_InvalObject
471 
472 #define Show Nlm_Show
473 #define Hide Nlm_Hide
474 #define Enable Nlm_Enable
475 #define Disable Nlm_Disable
476 #define Select Nlm_Select
477 
478 #define SetTitle Nlm_SetTitle
479 #define GetTitle Nlm_GetTitle
480 #define SetValue Nlm_SetValue
481 #define GetValue Nlm_GetValue
482 #define SetStatus Nlm_SetStatus
483 #define GetStatus Nlm_GetStatus
484 #define SetOffset Nlm_SetOffset
485 #define GetOffset Nlm_GetOffset
486 #define SetPosition Nlm_SetPosition
487 #define GetPosition Nlm_GetPosition
488 #define SetRange Nlm_SetRange
489 #define AdjustPrnt Nlm_AdjustPrnt
490 
491 #define SetItemTitle Nlm_SetItemTitle
492 #define GetItemTitle Nlm_GetItemTitle
493 #define SetItemStatus Nlm_SetItemStatus
494 #define GetItemStatus Nlm_GetItemStatus
495 
496 #define GetNextItem Nlm_GetNextItem
497 
498 #define Reset Nlm_Reset
499 
500 #define Remove Nlm_Remove
501 
502 #define Parent Nlm_Parent
503 
504 #define RealizeWindow Nlm_RealizeWindow
505 #define IconifyWindow Nlm_IconifyWindow
506 #define IconicWindow  Nlm_IconicWindow
507 #define WhichWindow Nlm_WhichWindow
508 #define InWindow Nlm_InWindow
509 #define FrontWindow Nlm_FrontWindow
510 #define InFront Nlm_InFront
511 #define UseWindow Nlm_UseWindow
512 #define CurrentWindow Nlm_CurrentWindow
513 #define UsingWindow Nlm_UsingWindow
514 #define ActiveWindow Nlm_ActiveWindow
515 #define EraseWindow Nlm_EraseWindow
516 #define ParentWindow Nlm_ParentWindow
517 #define SavePort Nlm_SavePort
518 #define RestorePort Nlm_RestorePort
519 #define Update Nlm_Update
520 #define EventAvail Nlm_EventAvail
521 #define FlushEvents Nlm_FlushEvents
522 #define ProcessAnEvent Nlm_ProcessAnEvent
523 #define ProcessEventOrIdle Nlm_ProcessEventOrIdle
524 #define ProcessExternalEvent Nlm_ProcessExternalEvent
525 #define AllParentsEnabled Nlm_AllParentsEnabled
526 #define AllParentsVisible Nlm_AllParentsVisible
527 #define UnloadSegment Nlm_UnloadSegment
528 
529 #define SetObjectExtra Nlm_SetObjectExtra
530 #define GetObjectExtra Nlm_GetObjectExtra
531 #define ProcessUpdatesFirst Nlm_ProcessUpdatesFirst
532 #define PopupParentWindow Nlm_PopupParentWindow
533 
534 #define HANDLE Nlm_HANDLE
535 #define AlignObjects Nlm_AlignObjects
536 
537 #define CurrentVisibleText Nlm_CurrentVisibleText
538 #define StdCutTextProc Nlm_StdCutTextProc
539 #define StdCopyTextProc Nlm_StdCopyTextProc
540 #define StdPasteTextProc Nlm_StdPasteTextProc
541 #define StdDeleteTextProc Nlm_StdDeleteTextProc
542 
543 #define ReadText Nlm_ReadText
544 #define WriteText Nlm_WriteText
545 #define WriteLog Nlm_WriteLog
546 
547 #define ReadChar Nlm_ReadChar
548 #define ReadString Nlm_ReadString
549 #define ReadField Nlm_ReadField
550 #define ReadLine Nlm_ReadLine
551 #define ReadCard Nlm_ReadCard
552 #define ReadInt Nlm_ReadInt
553 #define ReadLong Nlm_ReadLong
554 #define ReadReal Nlm_ReadReal
555 #define ReadDouble Nlm_ReadDouble
556 #define WriteChar Nlm_WriteChar
557 #define WriteLn Nlm_WriteLn
558 #define WriteString Nlm_WriteString
559 #define WriteCard Nlm_WriteCard
560 #define WriteInt Nlm_WriteInt
561 #define WriteLong Nlm_WriteLong
562 #define WriteReal Nlm_WriteReal
563 #define WriteDouble Nlm_WriteDouble
564 
565 #define StrngPrintable Nlm_StrngPrintable
566 #define StrngLen Nlm_StrngLen
567 #define StrngCat Nlm_StrngCat
568 #define StrngCpy Nlm_StrngCpy
569 #define StrngPos Nlm_StrngPos
570 #define StrngSeg Nlm_StrngSeg
571 #define StrngRep Nlm_StrngRep
572 #define StrngEql Nlm_StrngEql
573 #define StrngCmp Nlm_StrngCmp
574 #define SymblCmp Nlm_SymblCmp
575 
576 #define StrToCard Nlm_StrToCard
577 #define StrToInt Nlm_StrToInt
578 #define StrToLong Nlm_StrToLong
579 #define StrToPtr Nlm_StrToPtr
580 #define StrToReal Nlm_StrToReal
581 #define StrToDouble Nlm_StrToDouble
582 #define CardToStr Nlm_CardToStr
583 #define IntToStr Nlm_IntToStr
584 #define LongToStr Nlm_LongToStr
585 #define PtrToStr Nlm_PtrToStr
586 #define RealToStr Nlm_RealToStr
587 #define DoubleToStr Nlm_DoubleToStr
588 
589 #define SetString Nlm_SetString
590 #define GetString Nlm_GetString
591 
592 #define ArrowCursor Nlm_ArrowCursor
593 #define CrossCursor Nlm_CrossCursor
594 #define IBeamCursor Nlm_IBeamCursor
595 #define PlusCursor Nlm_PlusCursor
596 #define WatchCursor Nlm_WatchCursor
597 
598 #define Version Nlm_Version
599 #define MousePosition Nlm_MousePosition
600 #define MouseButton Nlm_MouseButton
601 #define ComputerTime Nlm_ComputerTime
602 
603 #define ChooseColorDialog Nlm_ChooseColorDialog
604 
605 #define PoinT Nlm_PoinT
606 #define PointPtr Nlm_PointPtr
607 #define RecT Nlm_RecT
608 #define RectPtr Nlm_RectPtr
609 #define RegioN Nlm_RegioN
610 #define FonT Nlm_FonT
611 
612 #define updateRgn Nlm_updateRgn
613 #define updateRect Nlm_updateRect
614 
615 #define systemFont Nlm_systemFont
616 #define programFont Nlm_programFont
617 
618 #define stdAscent Nlm_stdAscent
619 #define stdDescent Nlm_stdDescent
620 #define stdLeading Nlm_stdLeading
621 #define stdFontHeight Nlm_stdFontHeight
622 #define stdLineHeight Nlm_stdLineHeight
623 #define stdCharWidth Nlm_stdCharWidth
624 
625 #ifndef WIN_X
626 #ifdef SetPort
627 #undef SetPort
628 #endif
629 #define SetPort Nlm_SetPort
630 #endif
631 
632 #define SetUpDrawingTools Nlm_SetUpDrawingTools
633 #define CleanUpDrawingTools Nlm_CleanUpDrawingTools
634 
635 #define ResetDrawingTools Nlm_ResetDrawingTools
636 
637 #define CopyMode Nlm_CopyMode
638 #define MergeMode Nlm_MergeMode
639 #define InvertMode Nlm_InvertMode
640 #define EraseMode Nlm_EraseMode
641 
642 #define Black Nlm_Black
643 #define Red Nlm_Red
644 #define Green Nlm_Green
645 #define Blue Nlm_Blue
646 #define Cyan Nlm_Cyan
647 #define Magenta Nlm_Magenta
648 #define Yellow Nlm_Yellow
649 #define White Nlm_White
650 #define Gray Nlm_Gray
651 #define LtGray Nlm_LtGray
652 #define DkGray Nlm_DkGray
653 #define SelectColor Nlm_SelectColor
654 #define GetColorRGB Nlm_GetColorRGB
655 #define GetColor Nlm_GetColor
656 #define SetColor Nlm_SetColor
657 #define InvertColors Nlm_InvertColors
658 #define DecodeColor Nlm_DecodeColor
659 
660 #define Solid Nlm_Solid
661 #define Dark Nlm_Dark
662 #define Medium Nlm_Medium
663 #define Light Nlm_Light
664 #define Empty Nlm_Empty
665 #define SetPenPattern Nlm_SetPenPattern
666 #define Dotted Nlm_Dotted
667 #define Dashed Nlm_Dashed
668 #define WidePen Nlm_WidePen
669 #define SetPenDash Nlm_SetPenDash
670 
671 #define GetFont Nlm_GetFont
672 #define ParseFont Nlm_ParseFont
673 #define SelectFont Nlm_SelectFont
674 #define AssignPrinterFont Nlm_AssignPrinterFont
675 
676 #define FontSpec Nlm_FontSpec
677 #define FontSpecPtr Nlm_FontSpecPtr
678 
679 #ifdef CreateFont
680 #undef CreateFont
681 #endif
682 #define CreateFont Nlm_CreateFont
683 #define GetResidentFont Nlm_GetResidentFont
684 #define CopyFont Nlm_CopyFont
685 #define DeleteFont Nlm_DeleteFont
686 #define FindNextResidentFont Nlm_FindNextResidentFont
687 #define GetFontSpec Nlm_GetFontSpec
688 #define EqualFontSpec Nlm_EqualFontSpec
689 
690 #ifdef ChooseFont
691 #undef ChooseFont
692 #endif
693 #define ChooseFont Nlm_ChooseFont
694 #define StrToFontSpec Nlm_StrToFontSpec
695 #define FontSpecToStr Nlm_FontSpecToStr
696 
697 #define Helvetica Nlm_Helvetica
698 #define Times Nlm_Times
699 #define Courier Nlm_Courier
700 #define Symbol Nlm_Symbol
701 
702 #define CharWidth Nlm_CharWidth
703 #define StringWidth Nlm_StringWidth
704 #define TextWidth Nlm_TextWidth
705 #define Ascent Nlm_Ascent
706 #define Descent Nlm_Descent
707 #define Leading Nlm_Leading
708 #define FontHeight Nlm_FontHeight
709 #define LineHeight Nlm_LineHeight
710 #define MaxCharWidth Nlm_MaxCharWidth
711 #define FitStringWidth Nlm_FitStringWidth
712 
713 #define SetPen Nlm_SetPen
714 #define GetPen Nlm_GetPen
715 
716 #define PaintChar Nlm_PaintChar
717 #define PaintString Nlm_PaintString
718 #define PaintStringEx Nlm_PaintStringEx
719 #define PaintText Nlm_PaintText
720 #define DrawString Nlm_DrawString
721 #ifdef DrawText
722 #undef DrawText
723 #endif
724 #define DrawText Nlm_DrawText
725 
726 #define MoveTo Nlm_MoveTo
727 #define LineTo Nlm_LineTo
728 #define DrawLine Nlm_DrawLine
729 
730 #define LoadPt Nlm_LoadPt
731 #define AddPt Nlm_AddPt
732 #define SubPt Nlm_SubPt
733 #define EqualPt Nlm_EqualPt
734 #define PtInRect Nlm_PtInRect
735 #define PtInRgn Nlm_PtInRgn
736 
737 #define LoadRect Nlm_LoadRect
738 #define UpsetRect Nlm_UpsetRect
739 #define OffsetRect Nlm_OffsetRect
740 #define InsetRect Nlm_InsetRect
741 #define SectRect Nlm_SectRect
742 #define UnionRect Nlm_UnionRect
743 #define EqualRect Nlm_EqualRect
744 #define EmptyRect Nlm_EmptyRect
745 #define RectInRect Nlm_RectInRect
746 #define RectInRgn Nlm_RectInRgn
747 
748 #define EraseRect Nlm_EraseRect
749 #define FrameRect Nlm_FrameRect
750 #define PaintRect Nlm_PaintRect
751 #define InvertRect Nlm_InvertRect
752 #define ScrollRect Nlm_ScrollRect
753 
754 #define EraseOval Nlm_EraseOval
755 #define FrameOval Nlm_FrameOval
756 #define PaintOval Nlm_PaintOval
757 #define InvertOval Nlm_InvertOval
758 
759 #define EraseRoundRect Nlm_EraseRoundRect
760 #define FrameRoundRect Nlm_FrameRoundRect
761 #define PaintRoundRect Nlm_PaintRoundRect
762 #define InvertRoundRect Nlm_InvertRoundRect
763 
764 #define EraseArc Nlm_EraseArc
765 #define FrameArc Nlm_FrameArc
766 #define PaintArc Nlm_PaintArc
767 #define InvertArc Nlm_InvertArc
768 
769 #define EraseQuadrant Nlm_EraseQuadrant
770 #define FrameQuadrant Nlm_FrameQuadrant
771 #define PaintQuadrant Nlm_PaintQuadrant
772 #define InvertQuadrant Nlm_InvertQuadrant
773 
774 #define ErasePoly Nlm_ErasePoly
775 #define FramePoly Nlm_FramePoly
776 #define PaintPoly Nlm_PaintPoly
777 #define InvertPoly Nlm_InvertPoly
778 
779 #define CreateRgn Nlm_CreateRgn
780 #define DestroyRgn Nlm_DestroyRgn
781 #define ClearRgn Nlm_ClearRgn
782 #define LoadRectRgn Nlm_LoadRectRgn
783 #define SectRgn Nlm_SectRgn
784 #define UnionRgn Nlm_UnionRgn
785 #define DiffRgn Nlm_DiffRgn
786 #define XorRgn Nlm_XorRgn
787 #define EqualRgn Nlm_EqualRgn
788 #define EmptyRgn Nlm_EmptyRgn
789 
790 #define EraseRgn Nlm_EraseRgn
791 #define FrameRgn Nlm_FrameRgn
792 #define PaintRgn Nlm_PaintRgn
793 #define InvertRgn Nlm_InvertRgn
794 
795 #define ClipRect Nlm_ClipRect
796 #define ClipRgn Nlm_ClipRgn
797 #define ResetClip Nlm_ResetClip
798 
799 #define ValidRect Nlm_ValidRect
800 #define InvalRect Nlm_InvalRect
801 #define ValidRgn Nlm_ValidRgn
802 #define InvalRgn Nlm_InvalRgn
803 #define CopyBits Nlm_CopyBits
804 #define CopyPixmap Nlm_CopyPixmap
805 #define RGBColoR Nlm_RGBColoR
806 #define RGBColoRPtr Nlm_RGBColoRPtr
807 
808 #ifdef __cplusplus
809 }
810 #endif
811 
812 #endif
813 
814 
815