OpDragStoryPathIndent Class Reference

Base class for dragging indents for stories on a path. More...

#include <textops.h>

Inheritance diagram for OpDragStoryPathIndent:

OpDragStoryIndent OpTextUndoable SelOperation UndoableOperation Operation MessageHandler ListItem CCObject SimpleCCObject OpDragStoryPathLeftIndent OpDragStoryPathRightIndent List of all members.

Public Member Functions

 OpDragStoryPathIndent ()
 ~OpDragStoryPathIndent ()

Protected Member Functions

virtual BOOL SetCurrentPos (DocCoord MousePos, ClickModifiers ClickMods)
 Given a position works out the nearest position on the path to it, and sets mCurrentBlobPos to it.

Private Member Functions

 CC_DECLARE_DYNAMIC (OpDragStoryPathIndent)

Detailed Description

Base class for dragging indents for stories on a path.

Author:
Peter_Arnold (Xara Group Ltd) <camelotdev@xara.com>
Date:
19/8/96

Definition at line 837 of file textops.h.


Constructor & Destructor Documentation

OpDragStoryPathIndent::OpDragStoryPathIndent  )  [inline]
 

Definition at line 843 of file textops.h.

00843 {};

OpDragStoryPathIndent::~OpDragStoryPathIndent  )  [inline]
 

Definition at line 844 of file textops.h.

00844 {};


Member Function Documentation

OpDragStoryPathIndent::CC_DECLARE_DYNAMIC OpDragStoryPathIndent   )  [private]
 

BOOL OpDragStoryPathIndent::SetCurrentPos DocCoord  MousePos,
ClickModifiers  ClickMods
[protected, virtual]
 

Given a position works out the nearest position on the path to it, and sets mCurrentBlobPos to it.

Author:
Peter_Arnold (Xara Group Ltd) <camelotdev@xara.com>
Date:
19/8/96
Parameters:
MousePos - a coordinate [INPUTS] ClickMods - the current click modifiers
Member variable mCurrentBlobPos is set from MousePos [OUTPUTS]
Returns:
TRUE/FALSE for success failure

Implements OpDragStoryIndent.

Definition at line 5817 of file textops.cpp.

05818 {
05819     ERROR2IF(mpStoryPath==NULL, FALSE, "NULL story pointer");
05820 
05821     mCurrentBlobPos = InternalConstrain(MousePos, ClickMods);
05822 
05823     return TRUE;
05824 }


The documentation for this class was generated from the following files:
Generated on Sat Nov 10 03:58:02 2007 for Camelot by  doxygen 1.4.4