ImageEn for Delphi and C++ Builder ImageEn for Delphi and C++ Builder

 

ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 MouseInteract and miRotateLayers

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

View 
UserName:
Password:
Format  Bold Italicized Underline  Align Left Centered Align Right  Horizontal Rule  Insert Hyperlink   Browse for an image to attach to your post Browse for a zip to attach to your post Insert Code  Insert Quote Insert List
   
Message 

 

Emoji
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Black Eye [B)]
Frown [:(] Shocked [:0] Angry [:(!] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

T O P I C    R E V I E W
yogiyang Posted - May 01 2019 : 02:23:16
Hello,

I am setting MouseInteract to [miMoveLayers, miResizeLayers, miRotateLayers]

After this when a user selects a Layer and moves the mouse cursor out of the selected Layer the mouse cursor shape changes to a rotation arrow irrespective of the fact as to how far the mouse is from the area of selected layer.

For better understanding please check attached image.




The exact code that I am using is:

  ieViewMain.MouseInteract := [];
  ieViewMain.MouseInteract := [miMoveLayers, miResizeLayers, miRotateLayers];
  ieViewMain.Cursor := crIESizeAll;


How to solve this problem so that when the mouse cursor is further then a give set of pixels it should change to what is set in code?

TIA


Yogi Yang
3   L A T E S T    R E P L I E S    (Newest First)
xequte Posted - May 01 2019 : 18:20:34
Hi

In 8.5.1, you can use:

IEGlobalSettings().LayerRotationGripMaxDist := 50;

Please email me for a pre-release.

Nigel
Xequte Software
www.imageen.com
yogiyang Posted - May 01 2019 : 09:19:10
Hell

Thanks for the input.

Actually it should not be that hard to fix as they have to just check proximity of mouse cursor from currently selected layer for changing the cursor.


Yogi Yang
zerob Posted - May 01 2019 : 08:32:25
It isn't possible at the moment.
I've asked exactly the same question before as it is confusing and also makes some interactions harder and more error prone. Maybe they add this some day.