Plugin "Design Editor" for krpano. Without a flush, only XML.
- For work, you do not need to open the XML file and edit the code.
- The ability to visually change the tone, saturation, brightness and transparency of the control panel, curb, shadows.
- The ability to visually control the result during changes.
- The original system for changing parameters, there is no accumulation of buttons.
- Ability to enter parameters from the keyboard, numbers, percent 16th code for color.
- Changes are saved to a XML file.
The editor is a panel with inside buttons for changing parameters. For convenience, the panel is moved by the mouse inside the viewport.
By clicking on the top of the panel (with a triangle), it collapses.
Inside the panel, there are blocks in which the adjustments of color parameters, curb widths, radius of the corners of the corners are grouped, working with the shadow.
Bottom button - save changes to the XML file.
To change, click on the button, it will display the editing mode.
Buttons for changing color settings. There are risks that show the relative value of the parameter.
1. Changing the color (tone).
2. Changing the saturation. The shift to the left changes the saturation to 0, i.e. the color becomes gray (R = G = B). By default, the output from gray occurs by decreasing the value of R, the values of G and B remain unchanged. After the appearance of the difference between R and G, B, it becomes possible to change the color (tone).
3. Change the brightness. From 0 to the maximum. At zero brightness (000000) it is necessary to lift it to the right, the resulting gray color can be output in color by raising the saturation.
4. Changing the transparency.
Clicking on the corresponding button selects the editing element (background, border, shadow), after selection you can adjust the parameters of the element (color, saturation, brightness, transparency).
Moving to the left - to the right, respectively, increases or decreases the frame around the thumbnail.
An example of connecting a plugin in the main xml:
<krpano .... > <include url="edit_skin/edit_skin.xml" /> <include url="edit_layer/skin_set.xml" /> . . </krpano>
How to edit.
Parameter changes occur by pressing the left mouse button on the button and shifting to the left to the left (decrease the parameter), to the right (increase the parameter). The further the mouse is removed from the point of pressing, the faster the parameter changes.
Changes are immediately applied to the layer and you can visually control the result.
Inside the editing panel, there are 4 blocks - the color editor, the curb width editor, the corners round editor, the shadow editor.
Clicking on the parameter setting button highlights it with a green border and then input of the parameter from the keyboard (the numbers on the right side of the keyboard). All digits, percent (button "5" of the top row of the keyboard) and a hex code for entering color parameters are available. After typing the parameter for input, press "Enter", if an input error is entered, the "Delete" key clears the button.
The Explorer window opens, in which you need to specify the "edit_skin" folder to save the file "skin_set.xml".
We select the file "skin_set.xml" in the window, click "save" and confirm "replace the file".
Reboot! browser window - changes accepted.
Download the demo version of the editor with an example. The difference from the full only is that the button "Save settings XML" is not turned on
<include url="edit_skin/edit_skin.xml" />
If you liked the editor, you can get a working version with saving to an XML file by making a donation through PayPal (Pay Nov button)
in the amount from 9 euros.
Do not forget to provide an email address. After payment, I will send the full version of the editor to this address within one day.
Plugin is provided "As Is" without warranty of any kind, either express or implied, including any warranty of quality, merchantability, or fitness for a particular purpose. In no event will author of plugin be liable for loss of data, costs of procurement of substitute goods or services or any special, consequential or incidental damages, under any cause of action and regardless of whether or not plugin author have been advised of possibility of such damage. This limitation will apply notwithstanding any failure of essential purpose of any limited remedy provided herein. In any event plugin author will have no liability arising out of this agreement.