7#ifndef __HDI_CORE_TOOL__
8#define __HDI_CORE_TOOL__
10#if defined(HDI_CORE_AIP_MODE)
37 typedef std::vector<ArtboardPoint> ArtboardPointVector;
45 TracksCursorOption = 1 << 0,
46 DoesntAutoScrollOption = 1 << 1,
47 BufferedDraggingOption = 1 << 2,
48 MaintainsEditContextOption = 1 << 3,
49 WantsToEditTextOption = 1 << 4,
50 WantsToChangeDiameterOption = 1 << 5,
51 WantsAlternateSelectionOption = 1 << 6,
52 HiddenOption = 1 << 7,
53 DoesntAllowSoftSelectionOption = 1 << 8,
54 DefaultOptions = (TracksCursorOption | WantsToChangeDiameterOption)
106 const Tool& sameGroupAs_,
107 const Tool*
const sameSetAs_,
108 const std::string& title_,
109 const std::string& tip_,
111 const int16_t lightIconID_,
112 const int16_t darkIconID_,
113 const Options options_ = DefaultOptions
146 const std::string& title_,
147 const std::string& tip_,
149 const int16_t lightIconID_,
150 const int16_t darkIconID_,
151 const Options options_ = DefaultOptions
183 const int16_t sameGroupAs_,
184 const int16_t sameSetAs_,
185 const std::string& title_,
186 const std::string& tip_,
188 const int16_t lightIconID_,
189 const int16_t darkIconID_,
190 const Options options_ = DefaultOptions
335 virtual std::string
tip()
const;
344 virtual void setTip(
const std::string& tip_);
443 const uint32_t index_,
445 const double tolerance_ = 2.0
459 const uint32_t index_,
461 const double tolerance_ = 2.0
475 const double tolerance_ = 2.0
807 friend aip::BaseTool* __accessImpl(
const Tool&);
808 friend Tool __accessCtorTool(
const void*);
820 void* __impl()
const;
830 typedef std::unique_ptr<Tool> ToolUP;
831 typedef std::shared_ptr<Tool> ToolSP;
832 typedef std::weak_ptr<Tool> ToolWP;
834 extern aip::BaseTool* __accessImpl(
const Tool&);
835 extern Tool __accessCtorTool(
const void*);
Describes a point on the Illustrator artboard.
Definition: hdicoreArtboardPoint.h:31
Base class for templated __Callback class.
Definition: hdicoreCallback.h:68
Used to create and display a modal dialog to the user, blocking input to other UI elements.
Definition: hdicoreModalDialog.h:25
Header file for geometric point manipulation on the Illustrator artboard.
Header file for a wide variety of necessary typedefs, enums, and forwards declarations.
IconResourceType
Indicates which type of resource is related to a given icon (for passing to Adobe's SDK)
Definition: hdicoreTypes.h:782
HitRequest
Describes the types of hit tests that can be performed (AKA a hit request)
Definition: hdicoreTypes.h:348