]> git.lyx.org Git - features.git/blobdiff - src/insets/Inset.h
Add virtual bool Inset::clickable(..) to be used to change the cursor.
[features.git] / src / insets / Inset.h
index baf58bf773d55d0b0bfc3475f348c2a2d8a260ea..d4a15940a376a635f1c10a1a3dfb19b973a89f1d 100644 (file)
@@ -335,6 +335,8 @@ public:
        /// FIXME: merge with editable()
        // true for InsetTabular & InsetText
        virtual bool isActive() const { return nargs() > 0; }
+       /// can we click at the specified position ?
+       virtual bool clickable(int x, int y) const { return false; }
 
        /// does this contain text that can be change track marked in DVI?
        virtual bool canTrackChanges() const { return false; }