~ubuntu-branches/ubuntu/maverick/ncbi-tools6/maverick

« back to all changes in this revision

Viewing changes to vibrant/picture.h

  • Committer: Bazaar Package Importer
  • Author(s): Aaron M. Ucko
  • Date: 2005-03-27 12:00:15 UTC
  • mfrom: (2.1.2 hoary)
  • Revision ID: james.westby@ubuntu.com-20050327120015-embhesp32nj73p9r
Tags: 6.1.20041020-3
* Fix FTBFS under GCC 4.0 caused by inconsistent use of "static" on
  functions.  (Closes: #295110.)
* Add a watch file, now that we can.  (Upstream's layout needs version=3.)

Show diffs side-by-side

added added

removed removed

Lines of Context:
29
29
*
30
30
* Version Creation Date:   10/23/92
31
31
*
32
 
* $Revision: 6.11 $
 
32
* $Revision: 6.15 $
33
33
*
34
34
* File Description: 
35
35
*
36
36
* Modifications:  
37
37
* --------------------------------------------------------------------------
38
38
* $Log: picture.h,v $
 
39
* Revision 6.15  2004/02/17 19:22:54  johnson
 
40
* make segment ID consistly unsigned
 
41
*
 
42
* Revision 6.14  2003/03/18 17:00:10  kans
 
43
* Nlm_AddSilentSegRect does not absorb clicks, SegRect reverted to absorb clicks, so desktop click responsiveness is maintained
 
44
*
 
45
* Revision 6.13  2002/08/07 18:13:42  kans
 
46
* G/SetPrimitiveIDs, itemID is Uint4
 
47
*
 
48
* Revision 6.12  2002/03/07 15:53:45  kans
 
49
* added SetSegmentVisibleFlag to set/clear the visible flag before attaching to a viewer
 
50
*
39
51
* Revision 6.11  1999/10/13 17:45:46  kans
40
52
* added entityID, itemID, and itemtype to primitive internal structure, added Get and Set functions
41
53
*
331
343
extern Nlm_SegmenT   Nlm_DeleteSegment  PROTO((Nlm_SegmenT segment));
332
344
 
333
345
extern Nlm_SegmenT   Nlm_ParentSegment  PROTO((Nlm_SegmenT segment));
334
 
extern Nlm_Int2      Nlm_SegmentID      PROTO((Nlm_SegmenT segment));
 
346
extern Nlm_Uint2     Nlm_SegmentID      PROTO((Nlm_SegmenT segment));
335
347
extern Nlm_Boolean   Nlm_SegmentVisible PROTO((Nlm_SegmenT segment));
336
348
extern Nlm_Int1      Nlm_SegmentStyle   PROTO((Nlm_SegmenT segment));
337
349
extern void          Nlm_SegmentBox     PROTO((Nlm_SegmenT segment, 
360
372
 
361
373
extern Nlm_PrimitivE Nlm_AddSegRect     PROTO((Nlm_SegmenT parent, 
362
374
Nlm_Boolean fill, Nlm_Uint2 primID));
 
375
extern Nlm_PrimitivE Nlm_AddSilentSegRect PROTO((Nlm_SegmenT parent, 
 
376
Nlm_Boolean fill, Nlm_Uint2 primID));
363
377
extern Nlm_PrimitivE Nlm_AddLine        PROTO((Nlm_SegmenT parent, 
364
378
Nlm_Int4 pnt1X, Nlm_Int4 pnt1Y, Nlm_Int4 pnt2X, Nlm_Int4 pnt2Y, 
365
379
Nlm_Boolean arrow, Nlm_Uint2 primID));
407
421
extern void          Nlm_ExploreSegment     PROTO((Nlm_SegmenT segment, 
408
422
Nlm_VoidPtr userdata, Nlm_SegmentExploreProc callback));
409
423
 
 
424
/* SetSegmentVisibleFlag does not change the display in the viewer - use ShowSegment and HideSegment */
 
425
extern void          Nlm_SetSegmentVisibleFlag (Nlm_SegmenT segment, Nlm_Boolean visible);
 
426
 
410
427
/*Working with primitive */
411
428
 
412
429
extern Nlm_PrimitivE Nlm_GetPrimitive PROTO((Nlm_SegmenT segment, Nlm_Uint2 primCt));
413
 
extern void Nlm_SetPrimitiveIDs PROTO((Nlm_PrimitivE prim, Nlm_Uint2 entityID, Nlm_Uint2 itemID, Nlm_Uint2 itemtype, Nlm_Uint2 primID));
414
 
extern void Nlm_GetPrimitiveIDs PROTO((Nlm_PrimitivE prim, Nlm_Uint2Ptr entityIDPtr, Nlm_Uint2Ptr itemIDPtr, Nlm_Uint2Ptr itemtypePtr, Nlm_Uint2Ptr primIDPtr));
 
430
extern void Nlm_SetPrimitiveIDs PROTO((Nlm_PrimitivE prim, Nlm_Uint2 entityID, Nlm_Uint4 itemID, Nlm_Uint2 itemtype, Nlm_Uint2 primID));
 
431
extern void Nlm_GetPrimitiveIDs PROTO((Nlm_PrimitivE prim, Nlm_Uint2Ptr entityIDPtr, Nlm_Uint4Ptr itemIDPtr, Nlm_Uint2Ptr itemtypePtr, Nlm_Uint2Ptr primIDPtr));
415
432
extern void Nlm_GetPrimDrawAttribute PROTO((Nlm_PrimitivE prim, 
416
433
Nlm_Uint1Ptr color, Nlm_Int1Ptr plinestyle, Nlm_Int1Ptr pshading, 
417
434
Nlm_Int1Ptr ppenwidth, Nlm_Int1Ptr pmode, Nlm_Int1Ptr phighlight));
487
504
#define SegmentVisible Nlm_SegmentVisible
488
505
#define SegmentStyle Nlm_SegmentStyle
489
506
#define SegmentBox Nlm_SegmentBox
 
507
#define SetSegmentVisibleFlag Nlm_SetSegmentVisibleFlag
490
508
#define AddAttribute Nlm_AddAttribute
491
509
#define AddPrimitive Nlm_AddPrimitive
492
510
#define AddInvFrame Nlm_AddInvFrame
493
511
#define AddRectangle Nlm_AddRectangle
494
512
#define AddRoundedRectangle Nlm_AddRoundedRectangle
495
513
#define AddSegRect Nlm_AddSegRect
 
514
#define AddSilentSegRect Nlm_AddSilentSegRect
496
515
#define AddLine Nlm_AddLine
497
516
#define AddSymbol Nlm_AddSymbol
498
517
#define AddBitmap Nlm_AddBitmap