InDesign SDK
20.5
InDesign SDK
Documentation
Bosses
Sample plug-ins
Class Index
All
Classes
Namespaces
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Groups
Pages
DVBasePanelView.h
1
//========================================================================================
2
//
3
// $File$
4
//
5
// Owner: Dave Burnard
6
//
7
// $Author$
8
//
9
// $DateTime$
10
//
11
// $Revision$
12
//
13
// $Change$
14
//
15
// ADOBE CONFIDENTIAL
16
//
17
// Copyright 1997-2009 Adobe Systems Incorporated. All rights reserved.
18
//
19
// NOTICE: All information contained herein is, and remains
20
// the property of Adobe Systems Incorporated and its suppliers,
21
// if any. The intellectual and technical concepts contained
22
// herein are proprietary to Adobe Systems Incorporated and its
23
// suppliers and may be covered by U.S. and Foreign Patents,
24
// patents in process, and are protected by trade secret or copyright law.
25
// Dissemination of this information or reproduction of this material
26
// is strictly forbidden unless prior written permission is obtained
27
// from Adobe Systems Incorporated.
28
//
29
//========================================================================================
30
31
#ifndef __DVBasePanelView__
32
#define __DVBasePanelView__
33
34
#include "DVAbstractControlView.h"
35
36
#ifdef DV_WIDGET_BUILD
37
#endif
38
41
/* If you want to restrict the drawing of the child to a specified bounds . Do something similar to that is done in DVTreeScrollerWidgetView*/
42
43
class
DV_
DVBasePanelView
:
public
DVAbstractControlView
44
{
45
typedef
DVAbstractControlView
inherited
;
46
public
:
47
DVBasePanelView
(
IPMUnknown
*boss);
48
virtual
~
DVBasePanelView
();
49
50
virtual
void
Show
(bool16 doShow = kTrue);
51
virtual
void
Hide
();
52
virtual
void
ParentsVisibleStateChanged
(bool16 visible);
53
virtual
void
WindowActivated
();
54
virtual
void
WindowDeactivated
();
55
virtual
void
Hilite
(bool16 doHilite = kTrue);
56
virtual
void
Unhilite
();
57
virtual
void
WindowShown
();
58
virtual
void
WindowHidden
();
59
virtual
void
WindowChanged
();
60
virtual
void
WindowClosed
();
61
virtual
void
DoPostCreate
();
62
virtual
void
ParentPurged
();
63
virtual
void
InvalidateTransform
();
64
65
/* The parent is send the mouse event before the primary recipient is determined.
66
When UI_DoMouseEvent is called, the primary_recipient is NULL in this case.
67
The parent will be called again once the primary recipient has been found,
68
if no child has handled the event.
69
Such events are sent to the event handler on the IID_IPRECHILDEVENTHANDLER interface
70
*/
71
virtual
void
SetWantsMouseEventBeforeChildren();
72
73
virtual
void
DV_Draw
(dvaui::drawbot::Drawbot* drawbotP)
const
;
74
75
protected
:
76
/*
77
DVBasePanelView supports drawing in DV_Draw() via drawbot, but can optionally support drawing in Draw() via AGM. If you want to use AGM based drawing, you must call this method during the initialization of your widget.
78
*/
79
void
SetWantsToDrawWithAGM(
bool
drawWithAGM =
true
);
80
81
private
:
82
bool
fDrawPanelWithAGM;
83
};
84
85
86
#endif
87
tmpdoxygeninput
DVBasePanelView.h
Generated on Sat Jul 19 2025 02:54:12 for InDesign SDK by
1.8.3.1