#include <draginfo.h>
Inheritance diagram for DragInformation:

Public Member Functions | |
| virtual void | OnClick (INT32 flags, CNativePoint Point) |
| this can be overridden to provide click functionality if the drag didn't materialise | |
| virtual UINT32 | GetCursorID () |
| virtual BOOL | GetStatusLineText (String_256 *TheText) |
| virtual BOOL | OnDrawSolidDrag (CNativePoint Origin, CNativeDC *TheDC) |
| virtual UINT32 | GetCursorID (DragTarget *pDragTarget) |
| virtual BOOL | GetStatusLineText (String_256 *TheText, DragTarget *pDragTarget) |
| virtual BOOL | OnDrawSolidDrag (CNativePoint Origin, CNativeDC *TheDC, DragTarget *pDragTarget) |
| BOOL | IsAnAdjustDrag () |
| virtual INT32 | GetDragTransparency () |
| virtual KernelBitmap * | GetSolidDragMask () |
| virtual BOOL | HasTransparentMask () |
| virtual wxBitmap * | GetTransparentMask () |
| virtual BOOL | CanDropOnPage () |
| virtual BOOL | OnPageDrop (ViewDragTarget *) |
| virtual BOOL | OnMouseMove (wxPoint p) |
| virtual BOOL | OnButtonUp (wxPoint p) |
Protected Member Functions | |
| DragInformation (BOOL IsAdjustDrag=FALSE) | |
| default constructor | |
Protected Attributes | |
| BOOL | DoesSolidDrag |
| CNativePoint | SolidDragOffset |
| CNativeSize | SolidDragSize |
| BOOL | IsAdjustDrag |
Static Protected Attributes | |
| static Cursor * | MyCursor = NULL |
Friends | |
| class | DragManagerOp |
| class | CaptureHandler |
Definition at line 125 of file draginfo.h.
|
|
default constructor
Definition at line 134 of file draginfo.cpp. 00135 { 00136 // default no solid drag 00137 DoesSolidDrag = FALSE; 00138 IsAdjustDrag = AdjustDrag; 00139 SolidDragOffset.x = SolidDragOffset.y = 0; 00140 SolidDragSize.x = SolidDragSize.y = 0; 00141 }
|
|
|
Reimplemented in SGNameDrag, GalleryBitmapDragInfo, GalleryClipartDragInfo, GalleryFillsDragInfo, GalleryNameDragInfo, ColourDragInformation, GalleryFontsDragInfo, GalleryLibFontsDragInfo, and GalleryLineDragInfo. Definition at line 157 of file draginfo.h. 00157 { return FALSE; }
|
|
|
Reimplemented in SGNameDrag, GalleryBitmapDragInfo, GalleryClipartDragInfo, GalleryFillsDragInfo, GalleryNameDragInfo, BitmapDragInformation, ColourDragInformation, ColourPickerDragInformation, GalleryFontsDragInfo, GalleryLibFontsDragInfo, and GalleryLineDragInfo. Definition at line 225 of file draginfo.cpp. 00226 { 00227 return _R(IDC_DRAGGING) ; 00228 }
|
|
|
Reimplemented in SGScrollDragInfo, SGListDragInfo, BitmapDragInformation, ColourDragInformation, and ColourPickerDragInformation. Definition at line 175 of file draginfo.cpp. 00176 { 00177 return _R(IDC_DRAGGING) ; 00178 }
|
|
|
Reimplemented in SGNameDrag, GalleryNameDragInfo, BitmapDragInformation, ColourDragInformation, ColourPickerDragInformation, GalleryFontsDragInfo, GalleryLibFontsDragInfo, and GalleryLineDragInfo. Definition at line 151 of file draginfo.h.
|
|
|
Reimplemented in SGNameDrag, GalleryNameDragInfo, BitmapDragInformation, GalleryFontsDragInfo, GalleryLibFontsDragInfo, and GalleryLineDragInfo. Definition at line 152 of file draginfo.h. 00152 { return NULL; } // Not masked
|
|
||||||||||||
|
Reimplemented in SGNameDrag, GalleryBitmapDragInfo, GalleryClipartDragInfo, GalleryFillsDragInfo, GalleryNameDragInfo, BitmapDragInformation, ColourDragInformation, ColourPickerDragInformation, GalleryFontsDragInfo, GalleryLibFontsDragInfo, and GalleryLineDragInfo. Definition at line 239 of file draginfo.cpp. 00240 { 00241 ERROR2IF(TheText==NULL,FALSE,"NULL string in GetStatusLineText()"); 00242 * TheText = String_256(_R(IDS_DRAGSTATUSLINETEXT)); 00243 return TRUE; 00244 }
|
|
|
Reimplemented in SGScrollDragInfo, SGListDragInfo, BitmapDragInformation, ColourDragInformation, and ColourPickerDragInformation. Definition at line 189 of file draginfo.cpp. 00190 { 00191 ERROR2IF(TheText==NULL,FALSE,"NULL string in GetStatusLineText()"); 00192 * TheText = String_256(_R(IDS_DRAGSTATUSLINETEXT)); 00193 return TRUE; 00194 }
|
|
|
Reimplemented in BitmapDragInformation. Definition at line 154 of file draginfo.h. 00154 { return NULL; }
|
|
|
Reimplemented in BitmapDragInformation. Definition at line 153 of file draginfo.h. 00153 { return FALSE; }
|
|
|
Definition at line 148 of file draginfo.h. 00148 { return IsAdjustDrag; }
|
|
|
Definition at line 160 of file draginfo.h. 00160 { return FALSE; }
|
|
||||||||||||
|
this can be overridden to provide click functionality if the drag didn't materialise
Reimplemented in ColourDragInformation. Definition at line 158 of file draginfo.cpp.
|
|
||||||||||||||||
|
Reimplemented in BitmapDragInformation. Definition at line 257 of file draginfo.cpp. 00258 { 00259 return FALSE; 00260 }
|
|
||||||||||||
|
Reimplemented in SGNameDrag, BitmapDragInformation, ColourDragInformation, and ColourPickerDragInformation. Definition at line 207 of file draginfo.cpp. 00208 { 00209 return FALSE; 00210 }
|
|
|
Reimplemented in ColourPickerDragInformation. Definition at line 159 of file draginfo.h. 00159 { return FALSE; }
|
|
|
Reimplemented in SGNameDrag, GalleryBitmapDragInfo, GalleryClipartDragInfo, GalleryFillsDragInfo, GalleryNameDragInfo, ColourDragInformation, GalleryFontsDragInfo, GalleryLibFontsDragInfo, and GalleryLineDragInfo. Definition at line 158 of file draginfo.h. 00158 { return FALSE; }
|
|
|
Definition at line 128 of file draginfo.h. |
|
|
Definition at line 127 of file draginfo.h. |
|
|
Definition at line 165 of file draginfo.h. |
|
|
Definition at line 169 of file draginfo.h. |
|
|
Definition at line 163 of file draginfo.h. |
|
|
Definition at line 166 of file draginfo.h. |
|
|
Definition at line 167 of file draginfo.h. |
1.4.4