![]() | InDesign SDK 20.5 |
#include <DVErasablePanelView.h>

Public Member Functions | |
| DVErasablePanelView (IPMUnknown *boss) | |
| virtual void | ReadWrite (IPMStream *s, ImplementationID prop) |
| virtual void | DV_Draw (dvaui::drawbot::Drawbot *drawbotP) const |
Public Member Functions inherited from DVPanelView | |
| DVPanelView (IPMUnknown *boss) | |
| virtual void | DoPostCreate () |
Public Member Functions inherited from DVBasePanelView | |
| DVBasePanelView (IPMUnknown *boss) | |
| virtual void | Show (bool16 doShow=kTrue) |
| virtual void | Hide () |
| virtual void | ParentsVisibleStateChanged (bool16 visible) |
| virtual void | WindowActivated () |
| virtual void | WindowDeactivated () |
| virtual void | Hilite (bool16 doHilite=kTrue) |
| virtual void | Unhilite () |
| virtual void | WindowShown () |
| virtual void | WindowHidden () |
| virtual void | WindowChanged () |
| virtual void | WindowClosed () |
| virtual void | ParentPurged () |
| virtual void | InvalidateTransform () |
| virtual void | SetWantsMouseEventBeforeChildren () |
Public Member Functions inherited from DVAbstractControlView | |
| DVAbstractControlView (IPMUnknown *boss) | |
Public Member Functions inherited from DVHostedWidgetView | |
| DVHostedWidgetView (IPMUnknown *boss) | |
| virtual void | SetFrame (const PMRect &newFrame, bool16 invalidate=kTrue) |
| virtual const PMRect & | GetFrame () const |
| virtual const PMRect | GetLocalFrame () const |
| virtual PMRect | GetInnerContentFrame () const |
| virtual void | Resize (const PMPoint &newDimensions, bool16 invalidate=kTrue) |
| virtual void | MoveTo (const PMPoint &where, bool16 invalidate=kTrue) |
| virtual void | SetFrameBinding (const FrameBinding &binding) |
| virtual FrameBinding | GetFrameBinding () const |
| virtual void | AdaptToParentsSize (const PMPoint &dimensions) |
| virtual void | AdaptToChildsGeometry (const PMPoint &delta, const FrameBinding &childsBinding, bool16 invalidate=kFalse) |
| virtual SysRgn | GetDrawRegion () |
| virtual bool16 | DrawRegionEncompassesChildRegions () const |
| virtual void | DeleteDrawRegion () |
| virtual int32 | HitTest (const SysPoint &where) |
| virtual void | ForceRedraw (SysRgn invalidRgn, bool16 forceRedraw) |
| virtual void | Invalidate (PMRect *bbox=nil) |
| virtual void | Validate (PMRect *bbox=nil) |
| virtual bool16 | IsHilited () const |
| virtual bool16 | IsRolledOver () const |
| virtual bool16 | GetVisibleState () const |
| virtual bool16 | IsVisible (bool16 requireVisibleWindow=kFalse) const |
| virtual void | Enable (bool16 doEnable, bool16 invalidate) |
| virtual void | Disable (bool16 invalidate) |
| virtual bool16 | GetEnableState () const |
| virtual bool16 | IsEnabled () const |
| virtual void | ParentsEnableStateChanged (bool16 enable, bool16 invalidate) |
| virtual void | Init (const WidgetID &widgetId=kDefaultWidgetId, const PMRect &bbox=kZeroRect, RsrcID rsrcID=0) |
| virtual void | DoAutoDetach () |
| virtual PMRect | GlobalToView (const PMRect &convertRect) const |
| virtual PMPoint | GlobalToView (const PMPoint &convertPoint) const |
| virtual PMRect | GlobalToWindow (const PMRect &convertRect) const |
| virtual PMPoint | GlobalToWindow (const PMPoint &convertPoint) const |
| virtual PMRect | ViewToGlobal (const PMRect &convertRect) const |
| virtual PMPoint | ViewToGlobal (const PMPoint &convertPoint) const |
| virtual PMRect | WindowToGlobal (const PMRect &convertRect) const |
| virtual PMPoint | WindowToGlobal (const PMPoint &convertPoint) const |
| virtual void | SetClipToSelfEnabled (bool16 clipChildren) const |
| bool16 | IsWidgetConstructionFinished () const |
| void | WidgetConstructionFinished (const bool16 bFlag) |
| void | MarkDisabledByNonSuppressedUIIfRequired (const bool16 bFlag) |
| void | MarkHiddenByNonSuppressedUIIfRequired (const bool16 bFlag) |
| bool16 | IsDisabledBySuppressedUI () const |
| void | DisableBySuppressedUI (const bool16 bFlag) |
| bool16 | IsHiddenBySuppressedUI () const |
| void | HideBySuppressedUI (const bool16 bFlag) |
Public Member Functions inherited from AbstractControlView | |
| AbstractControlView (IPMUnknown *boss) | |
| virtual RsrcID | GetRsrcID () const |
| virtual void | SetRsrcID (const RsrcID &id) |
| virtual PluginID | GetRsrcPluginID () const |
| virtual void | SetRsrcPluginID (const PluginID &id) |
| virtual WidgetID | GetWidgetID () const |
| virtual void | SetWidgetID (const WidgetID &id) |
| virtual PMPoint | ConstrainDimensions (const PMPoint &dimensions) const |
| virtual SysRect | GetBBox () const |
| virtual PMMatrix * | GetContentToWindowTransform () const |
| virtual void | ContentToWindowTransform (PMPoint *point) const |
| virtual void | ContentToWindowTransform (PMRect *rect) const |
| virtual void | ContentToWindowTransform (PMPolygon4 *poly) const |
| virtual void | WindowToContentTransform (PMPoint *point) const |
| virtual void | WindowToContentTransform (PMRect *rect) const |
| virtual void | WindowToContentTransform (PMPolygon4 *poly) const |
| virtual PMMatrix | GetContentToWindowMatrix () const |
| virtual PMMatrix | GetWindowToContentMatrix () const |
| virtual PMRect | GetContentBounds_ () const |
| virtual void | DoAutoAttach () |
Public Member Functions inherited from IControlView | |
| void | ShowView (bool16 doShow=kTrue) |
| void | HideView () |
Public Member Functions inherited from IPMUnknown | |
| virtual IPMUnknown * | QueryInterface (PMIID interfaceID) const =0 |
| virtual void | AddRef () const =0 |
| virtual void | Release () const =0 |
Protected Attributes | |
| bool16 | fEraseBeforeDraw |
| int32 | fEraseToInterfaceColor |
Additional Inherited Members | |
Public Types inherited from IControlView | |
| enum | { kDefaultIID = IID_ICONTROLVIEW } |
Static Public Member Functions inherited from DVAbstractControlView | |
| static void | PreDraw (IViewPort *viewPort, IControlView *iView, int32 &setupFlagsOut, ICMSProofing *cmsProof) |
| static void | PostDraw (IViewPort *viewPort, IControlView *iView, int32 setupFlagsIn, ICMSProofing *cmsProof) |
Protected Member Functions inherited from DVBasePanelView | |
| void | SetWantsToDrawWithAGM (bool drawWithAGM=true) |
DVErasablePanelView is a ControlView container class that optionally erases (background fills) itself before drawing it's content and children.
The member fEraseBeforeDraw, which defaults to kFalse, determines whether the view erases before drawing. Subclasses can change the value of fEraseBeforeDraw. This flag is usually set from the view resource description file. The member fEraseToInterfaceColor, which defaults to kInterfacePaletteFill, determines what background color is drawn. This flag is set from the view resource description file. In addition the drawing code checks for the presence of an IID_IDYNAMICERASEBEFOREDRAWFLAG (IBoolData) interface on the widget boss, if present both it and fEraseBeforeDraw must be set to kTrue for the erase/fill to take place.
| virtual |
override of DVHostedWidgetView::DV_Draw, the droverized ControlView drawing method. Intended for internal use only, but a few simple drawing primitives are available in DVPublicUtilities.h. This implementation sets up an offscreen graphics port and calls the traditional Draw method.
Reimplemented from DVBasePanelView.
Reimplemented in DVPalettePanelView.