// // LTZMV.H - LEAD Zoom View module header file // Copyright (c) 1991-2000 LEAD Technologies, Inc. // All Rights Reserved. #ifndef LTZMV_H #define LTZMV_H #include "ltkrn.h" #include "ltdis.h" #include "LTANN.h" #define _HEADER_ENTRY_ #include "ltpck.h" // enums and defines //////////////////////////////////////////////////// #define ZOOMVIEWBORDERSTYLE_NONE 0x0000 /* no border */ #define ZOOMVIEWBORDERSTYLE_SIMPLE 0x0001 /* simple, single-pixel border */ #define ZOOMVIEWBORDERSTYLE_3D 0x0002 /* 3-D look */ #define ZOOMVIEWBORDERSTYLE_TEAROUT 0x0004 /* torn out look */ #define ZOOMVIEWBORDERSTYLE_ROUNDED 0x0008 /* rectangle with rounded corners */ #define SOURCEBORDERSTYLE_SIMPLE 0x0000 /* simple, single-pixel border */ #define SOURCEBORDERSTYLE_3D 0x0001 /* 3-D look*/ // structures //////////////////////////////////////////////////// typedef struct tagZOOMVIEWPROPS { L_UINT uStructSize; L_UINT uIndex; RECT rcSrc; RECT rcDst; RECT rcView; L_INT nZoom; L_BOOL bForceDst; L_BOOL bEnabled; L_UINT32 uZoomViewBorderStyle; COLORREF crZoomViewBorder; L_INT nZoomViewPenStyle; HRGN hBorderRgn; L_UINT32 uSrcBorderStyle; COLORREF crSrcBorder; L_INT nSrcPenStyle; L_BOOL bCallouts; COLORREF crCallout; L_INT nCalloutPenStyle; HANNOBJECT hAnnContainer; } ZOOMVIEWPROPS, L_FAR * pZOOMVIEWPROPS; //Functions L_BOOL EXT_FUNCTION L_WindowHasZoomView(HWND hWnd); L_INT EXT_FUNCTION L_CreateZoomView(HWND hWnd, pBITMAPHANDLE pBitmap, pZOOMVIEWPROPS pZoomViewProps); L_INT EXT_FUNCTION L_GetZoomViewProps(HWND hWnd, pZOOMVIEWPROPS pZoomViewProps, L_UINT32 uStructSize); L_INT EXT_FUNCTION L_UpdateZoomView(HWND hWnd, pZOOMVIEWPROPS pZoomViewProps); L_INT EXT_FUNCTION L_DestroyZoomView(HWND hWnd, L_UINT uIndex); L_INT EXT_FUNCTION L_GetZoomViewsCount(HWND hWnd, L_UINT *puCount); L_INT EXT_FUNCTION L_RenderZoomView(HDC hDC, HWND hWnd); #undef _HEADER_ENTRY_ #include "ltpck.h" #endif //LTZMV_H