north widget

Moderators: LCMark, LCfraser

north widget

Postby bn » Wed Jul 12, 2017 3:24 pm

this is a widget that indicates north like a compass or direction indicator.

northWidget.png
northWidget.png (12.39 KiB) Viewed 206 times


Might be usefull if displaying a map to help in orientation.

It is optionally interactive (user can "dial" the needle), displays optionally letter "N" for North either at top or at the tip of the needle. Needle color and ellipse color and text font can be set via Properties Inspector.

It is tested with LC 8.1.5 and LC 9 DP 2 and DP7.

If you compiled and installed "north" using the "Extension Builder" for LC 8 series and want to use it in LC 9 DP you have to uninstall the widget (using Extension Manager) and recompile/reinstall the widget. The same applies the other way around, i.e. installed in LC 9 and you then want to use it in LC 8.

This is the .lcb file you use to compile the widget.

north_0_1_0.lcb.zip
(4.74 KiB) Downloaded 21 times


Kind regards
Bernd
bn
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
 
Posts: 3175
Joined: Sun Jan 07, 2007 9:12 pm
Location: Bochum, Germany

Re: north widget

Postby LiveCode_Panos » Wed Jul 12, 2017 5:10 pm

Very nice, thanks Bernd :)

Best,
Panos
--
LiveCode_Panos
 
Posts: 274
Joined: Fri Feb 06, 2015 4:03 pm


Return to LiveCode Builder

Who is online

Users browsing this forum: No registered users and 1 guest