8 #define V_VImageView_h 1
26 #include "viaio/Vlib.h"
27 #include "viaio/VImage.h"
30 #include <X11/Intrinsic.h>
33 #include <X11/Xfuncproto.h>
86 #define VxNabsolute "absolute"
87 #define VxNband "band"
88 #define VxNcolumnCenter "columnCenter"
89 #define VxNcursor "cursor"
90 #define VxNexposeCallback "exposeCallback"
91 #define VxNforeground "foreground"
92 #define VxNimage "image"
93 #define VxNinputCallback "inputCallback"
94 #define VxNmoveZoomCenterCallback "moveZoomCenterCallback"
95 #define VxNproportion "proportion"
96 #define VxNresize "resize"
97 #define VxNrowCenter "rowCenter"
98 #define VxNusePixmap "usePixmap"
99 #define VxNvColormap "vColormap"
100 #define VxNzoomInCallback "zoomInCallback"
101 #define VxNzoomOutCallback "zoomOutCallback"
102 #define VxNzoomLevel "zoomLevel"
105 #define VxCAbsolute "Absolute"
106 #define VxCBand "Band"
107 #define VxCCallback "Callback"
108 #define VxCColumnCenter "ColumnCenter"
109 #define VxCCursor "Cursor"
110 #define VxCImage "Image"
111 #define VxCProportion "Proportion"
112 #define VxCResize "Resize"
113 #define VxCRowCenter "RowCenter"
114 #define VxCUsePixmap "UsePixmap"
115 #define VxCVColormap "VColormap"
116 #define VxCZoomLevel "ZoomLevel"
119 typedef struct V_ImageViewClassRec *VImageViewWidgetClass;
120 typedef struct V_ImageViewRec *VImageViewWidget;
123 extern WidgetClass vImageViewWidgetClass;
126 extern VBoolean VImageViewWindowToImage (
127 #
if NeedFunctionPrototypes
136 extern VBoolean VImageViewClipToImage (
137 #
if NeedFunctionPrototypes
146 extern VBoolean VImageViewImageToWindow (
147 #
if NeedFunctionPrototypes
156 extern VBoolean VImageViewPixelSize (
157 #
if NeedFunctionPrototypes
164 extern void VImageViewRedraw (
165 #
if NeedFunctionPrototypes