7 #ifndef __PVDISPLAYWND_H__ 8 #define __PVDISPLAYWND_H__ 21 PvRendererModeDefault = 0,
22 PvRendererModeAccelerated = 1,
23 PvRendererModeHardwareAccelerated = 2,
24 PvRendererModeUndefined = 999,
42 PvResult SetBackgroundColor( uint8_t aR, uint8_t aG, uint8_t aB );
47 PvRendererMode GetRendererMode();
48 PvResult SetRendererMode( PvRendererMode aMode );
51 static PvRendererMode GetHighestRendererMode();
53 static PvString GetRendererVersion();
58 void SetTextOverlay(
const PvString &aText );
59 void SetTextOverlayColor( uint8_t aR, uint8_t aG, uint8_t aB );
60 PvResult SetTextOverlaySize( int32_t aSize );
61 void SetTextOverlayOffsetX( uint32_t aX );
62 void SetTextOverlayOffsetY( uint32_t aY );
65 void GetTextOverlayColor( uint8_t &aR, uint8_t &aG, uint8_t &aB )
const;
66 int32_t GetTextOverlaySize()
const;
67 int32_t GetTextOverlayOffsetX()
const;
68 int32_t GetTextOverlayOffsetY()
const;
72 int GetHScrollPos()
const;
74 void GetHScrollRange(
int &aMin,
int &aMax )
const;
76 PvWindowHandle GetHScrollHandle();
79 int GetVScrollPos()
const;
81 void GetVScrollRange(
int &aMin,
int &aMax )
const;
83 PvWindowHandle GetVScrollHandle();
Used to convert a PvBuffer to another pixel type.
Definition: PvBufferConverter.h:28
String class.
Definition: PvString.h:21
Result information.
Definition: PvResult.h:13
Base class defining common functionality for all user interface classes.
Definition: PvWnd.h:19
Represents a block of GigE Vision or USB3 Vision data in memory.
Definition: PvBuffer.h:37
A user interface for displaying the contents of an image.
Definition: PvDisplayWnd.h:30