Public Member Functions | Protected Member Functions | Protected Attributes | Private Attributes

FV_Base Class Reference

Base class for (currently) FV_FrameEdit and FV_VisualInlineImage. More...

#include <fv_Base.h>

Inheritance diagram for FV_Base:
FV_FrameEdit FV_VisualInlineImage FV_UnixFrameEdit FV_UnixVisualInlineImage

List of all members.

Public Member Functions

 FV_Base (FV_View *pView)
virtual ~FV_Base ()
PD_DocumentgetDoc (void) const
FL_DocLayoutgetLayout (void) const
GR_GraphicsgetGraphics (void) const
FV_ViewgetView (void) const
UT_sint32 getGlobCount (void) const
void mouseDrag (UT_sint32 x, UT_sint32 y)
FV_DragWhat getDragWhat (void) const
void setDragWhat (FV_DragWhat iDragWhat)

Protected Member Functions

void _beginGlob ()
void _endGlob ()
virtual void _mouseDrag (UT_sint32 x, UT_sint32 y)=0
void _doMouseDrag (UT_sint32 x, UT_sint32 y, UT_sint32 &dx, UT_sint32 &dy, UT_Rect &expX, UT_Rect &expY)
void _checkDimensions ()

Protected Attributes

UT_sint32 m_iGlobCount
UT_Rect m_recCurFrame
bool m_bFirstDragDone
UT_sint32 m_iFirstEverX
UT_sint32 m_iFirstEverY
UT_sint32 m_xLastMouse
UT_sint32 m_yLastMouse

Private Attributes

FV_DragWhat m_iDraggingWhat

Detailed Description

Base class for (currently) FV_FrameEdit and FV_VisualInlineImage.

Constructor & Destructor Documentation

FV_Base::FV_Base ( FV_View pView  ) 
FV_Base::~FV_Base (  )  [virtual]

Member Function Documentation

virtual void FV_Base::_mouseDrag ( UT_sint32  x,
UT_sint32  y 
) [protected, pure virtual]

Implemented in FV_FrameEdit, and FV_VisualInlineImage.

Referenced by mouseDrag().

UT_sint32 FV_Base::getGlobCount ( void   )  const

References m_iGlobCount.

FL_DocLayout * FV_Base::getLayout ( void   )  const
void FV_Base::mouseDrag ( UT_sint32  x,
UT_sint32  y 

Member Data Documentation

The documentation for this class was generated from the following files: