Medical Imaging Interaction Toolkit  2018.4.99-389bf124
Medical Imaging Interaction Toolkit
Annotation.h
Go to the documentation of this file.
1 /*============================================================================
2 
3  Copyright (c) German Cancer Research Center (DKFZ)
4  All rights reserved.
5 
6  Redistribution and use in source and binary forms, with or without
7  modification, are permitted provided that the following conditions are met:
8 
9  - Redistributions of source code must retain the above copyright notice, this
10  list of conditions and the following disclaimer.
11 
12  - Redistributions in binary form must reproduce the above copyright notice,
13  this list of conditions and the following disclaimer in the documentation
14  and/or other materials provided with the distribution.
15 
16  - All advertising materials mentioning features or use of this software must
17  display the following acknowledgement:
18 
19  "This product includes software developed by the German Cancer Research
20  Center (DKFZ)."
21 
22  - Neither the name of the German Cancer Research Center (DKFZ) nor the names
23  of its contributors may be used to endorse or promote products derived from
24  this software without specific prior written permission.
25 
26  THIS SOFTWARE IS PROVIDED BY THE GERMAN CANCER RESEARCH CENTER (DKFZ) AND
27  CONTRIBUTORS ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING,
28  BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
29  FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE GERMAN
30  CANCER RESEARCH CENTER (DKFZ) OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
31  INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
32  (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
33  SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
34  CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
35  LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
36  OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
37  DAMAGE.
38 
39 ============================================================================*/
40 
41 /*
42  * Annotation.h
43  *---------------------------------------------------------------
44  * DESCRIPTION
45  * public header for the annotation widget
46  *
47  * Author
48  * a.schroeter
49  *
50  *---------------------------------------------------------------
51  *
52  */
53 
54 #ifndef _XipAnnotationWidget_h
55 #define _XipAnnotationWidget_h
56 
57 extern WidgetClass xipAnnotationWidgetClass;
58 
61 
62 #ifndef XipIsAnnotation
63 #define XipIsAnnotation(w) XtIsSubclass(w, xipAnnotationWidgetClass)
64 #endif
65 
66 /*
67 ** resource strings
68 */
69 #define XipNactivateCallback XmNactivateCallback
70 
71 #define XipCActivateCallback XmCActivateCallback
72 
73 /*
74 ** new data types
75 */
76 
77 
78 #endif /* _XipAnnotationWidget_h */
79 /* DON'T ADD ANYTHING AFTER THIS #endif */
struct _XipAnnotationRec * XipAnnotationWidget
Definition: Annotation.h:60
struct _XipAnnotationClassRec * XipAnnotationWidgetClass
Definition: Annotation.h:59
WidgetClass xipAnnotationWidgetClass