Using a widget for 'the cursor'

LiveCode Builder is a language for extending LiveCode's capabilities, creating new object types as Widgets, and libraries that access lower-level APIs in OSes, applications, and DLLs.

Moderators: LCMark, LCfraser

Post Reply
trevordevore
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 1005
Joined: Sat Apr 08, 2006 3:06 pm
Location: Overland Park, Kansas
Contact:

Using a widget for 'the cursor'

Post by trevordevore » Wed Apr 22, 2015 5:56 pm

I would love to be able to assign a widget as 'the cursor'. Feasible?
Trevor DeVore
ScreenSteps - https://www.screensteps.com

LiveCode Repos - https://github.com/search?q=user%3Atrevordevore+topic:livecode
LiveCode Builder Repos - https://github.com/search?q=user%3Atrevordevore+topic:livecode-builder

LCMark
Livecode Staff Member
Livecode Staff Member
Posts: 1207
Joined: Thu Apr 11, 2013 11:27 am

Re: Using a widget for 'the cursor'

Post by LCMark » Thu Apr 23, 2015 8:13 am

That depends on what you'd expect such a thing to do ;)

As far as I'm aware no platform allows an arbitrary window or similar object to be used as a cursor - usually your just allowed images. If you want a cursor which only appears within a LiveCode window, then that is potentially feasiable but I'm not sure making it work outside of the context would be possible.

trevordevore
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 1005
Joined: Sat Apr 08, 2006 3:06 pm
Location: Overland Park, Kansas
Contact:

Re: Using a widget for 'the cursor'

Post by trevordevore » Thu Apr 23, 2015 11:20 am

What I'm looking for is an easy way to define a hi-res mouse cursor without having to export multiple images. A widget displaying a path could be resized and the raster image could be used. This, of course, can all be done by the developer manually. It was just a thought.

Of course, we still have the problem of cursors not supporting a hi-res version as reported in #11984. It would be great to get that resolved.
Trevor DeVore
ScreenSteps - https://www.screensteps.com

LiveCode Repos - https://github.com/search?q=user%3Atrevordevore+topic:livecode
LiveCode Builder Repos - https://github.com/search?q=user%3Atrevordevore+topic:livecode-builder

Post Reply

Return to “LiveCode Builder”