NCBI C++ ToolKit
Public Types | Public Member Functions | List of all members
IMouseZoomHandlerHost Class Referenceabstract

Search Toolkit Book for IMouseZoomHandlerHost

Interface IMouseZoomHandlerHost represents a context in which CMouseZoomHandler functions. More...

#include <gui/widgets/gl/mouse_zoom_handler.hpp>

+ Inheritance diagram for IMouseZoomHandlerHost:

Public Types

enum  EScaleType { eMin , eCurrent , eMax }

Public Member Functions

virtual TModelUnit MZHH_GetScale (EScaleType type)=0
virtual void MZHH_SetScale (TModelUnit scale, const TModelPoint &point)=0
virtual void MZHH_ZoomPoint (const TModelPoint &point, TModelUnit factor)=0
virtual void MZHH_ZoomRect (const TModelRect &rc)=0
virtual void MZHH_Scroll (TModelUnit d_x, TModelUnit d_y)=0
virtual void MZHH_EndOp ()=0
virtual TVPUnit MZHH_GetVPPosByY (int y) const =0
 converts window coord to Viewport coord More...
virtual ~IMouseZoomHandlerHost ()

Detailed Description

Interface IMouseZoomHandlerHost represents a context in which CMouseZoomHandler functions.

Definition at line 47 of file mouse_zoom_handler.hpp.

Member Enumeration Documentation

◆ EScaleType


minimal scale


current scale

maximal scale

Definition at line 51 of file mouse_zoom_handler.hpp.

Constructor & Destructor Documentation

◆ ~IMouseZoomHandlerHost()

virtual IMouseZoomHandlerHost::~IMouseZoomHandlerHost ( )

Definition at line 69 of file mouse_zoom_handler.hpp.

Member Function Documentation

◆ MZHH_EndOp()

virtual void IMouseZoomHandlerHost::MZHH_EndOp ( )
pure virtual

◆ MZHH_GetScale()

virtual TModelUnit IMouseZoomHandlerHost::MZHH_GetScale ( EScaleType  type)
pure virtual

◆ MZHH_GetVPPosByY()

virtual TVPUnit IMouseZoomHandlerHost::MZHH_GetVPPosByY ( int  y) const
pure virtual

◆ MZHH_Scroll()

virtual void IMouseZoomHandlerHost::MZHH_Scroll ( TModelUnit  d_x,
TModelUnit  d_y 
pure virtual

◆ MZHH_SetScale()

virtual void IMouseZoomHandlerHost::MZHH_SetScale ( TModelUnit  scale,
const TModelPoint point 
pure virtual

◆ MZHH_ZoomPoint()

virtual void IMouseZoomHandlerHost::MZHH_ZoomPoint ( const TModelPoint point,
TModelUnit  factor 
pure virtual

◆ MZHH_ZoomRect()

virtual void IMouseZoomHandlerHost::MZHH_ZoomRect ( const TModelRect rc)
pure virtual

The documentation for this class was generated from the following file:
Modified on Tue May 28 05:51:36 2024 by rev. 669887