Hi all,
It took some time, but here it is.
ToolBox V2 (Beta)
To learn and study I now made the ToolBox as a krpano js plugin.
100kb of convenience.
As I think it is quite stable now, I just 'finished' it for now though, I decided to release a first version of V2. Still quite basic I think.
I have about 4-5 more things I would like to add, perhaps some changes.. I need your help to evaluate this a bit...keep in mind it is not an 'editor'.
So.. there we go
Put the toolbox folder on the same level as the 'tour.xml' in your project and add the toolbox to your project as a plugin... like:
<plugin nam="toolbox" url="toolbox/toolboxV2.js" keep="true" preload="true" />
Load your project.
You can use keycodes to control your ToolBox:
T to show/hide the ToolBox
M to go back to the ToolBox menu
N to show the Numbers section
H to show the distorted hotspot editor
P to show the Polygonal hotspot editor
G to show/hide the Grid
J to show the Stickies
K to show the ColorPicker
I to show/hide the info panel
The above keycodes you can set to your personal tast in the plugin, among some other settings. These are all currently available settings:
<plugin name="toolbox" url="toolbox/toolboxV2.js" keep="true" preload="true"
poly_bgcolor="0x336699"
dot_color="0xffff00"
dot_size="12"
active_dot_color="0x00ff00"
active_dot_size="12"
keycode_to_home="77"
keycode_to_activate="84"
keycode_to_log="76"
keycode_to_numbers="78"
keycode_to_distorted="72"
keycode_to_poly="80"
keycode_to_grid="71"
keycode_to_stickies="74"
keycode_to_colorpicker="75"
keycode_to_info="73"
decimals_for_numbers="3"
decimals_for_dhe="2"
basecolor_for_colorpicker="0xff0000"
/>
The ToolBox V2 (beta) is dragable and has currently 6 sections.
More features are in the planning.
- Numbers
- Distorted hotspot editor
- Polygonal hotspot editor
- Grid
- Stickies
- Colorpicker
I hope you like my suggestion!
I could appreciate yours
https://bit.ly/3NnpynC
NOTE:
This is written as a Krpano js plugin, as a study project. It seems to work great although it can be that i made a mistake or two. For that it is in 'Beta' now. I plan to add more features on a short term during folowing updates. The code of the colorpicker is based on the colorpicker from San7 (Alexandr Mikhailov) and re-written to js by me.
This is a Share-Ware product © by Virtual Tuur | Arthur van den Enk.
Please use it and i hope it brings some convenience. If you find a problem or a bug, if you like it or have idea's.. please let me know in the forum thread.
Edit: 4 nov 2022 there was a small typo. Current download is fixed version.
Tuur