|
|
@ -35,7 +35,7 @@
|
|
|
|
<li data-pwCommand="selectionCut">Cut selection</li>
|
|
|
|
<li data-pwCommand="selectionCut">Cut selection</li>
|
|
|
|
<li data-pwCommand="selectionCopy">Copy selection</li>
|
|
|
|
<li data-pwCommand="selectionCopy">Copy selection</li>
|
|
|
|
<li data-pwCommand="clipboardPaste">Clipboard paste</li>
|
|
|
|
<li data-pwCommand="clipboardPaste">Clipboard paste</li>
|
|
|
|
<li data-pwTool="insertimg">Insert image</li>
|
|
|
|
<!--<li data-pwTool="insertimg">Insert image</li>-->
|
|
|
|
<li data-pwCommand="imageRotate">Rotate image</li>
|
|
|
|
<li data-pwCommand="imageRotate">Rotate image</li>
|
|
|
|
|
|
|
|
|
|
|
|
<li class="paintweb_toolSeparator"> </li>
|
|
|
|
<li class="paintweb_toolSeparator"> </li>
|
|
|
@ -44,7 +44,7 @@
|
|
|
|
.paintweb_tool_toolID and a generic class name .paintweb_tool. In this
|
|
|
|
.paintweb_tool_toolID and a generic class name .paintweb_tool. In this
|
|
|
|
case the class names will be .paintweb_tool_insertimg and
|
|
|
|
case the class names will be .paintweb_tool_insertimg and
|
|
|
|
.paintweb_tool. -->
|
|
|
|
.paintweb_tool. -->
|
|
|
|
<li data-pwTool="text">Text</li>
|
|
|
|
<!--<li data-pwTool="text">Text</li>-->
|
|
|
|
<li data-pwTool="rectangle">Rectangle</li>
|
|
|
|
<li data-pwTool="rectangle">Rectangle</li>
|
|
|
|
|
|
|
|
|
|
|
|
<li class="paintweb_toolSeparator"> </li>
|
|
|
|
<li class="paintweb_toolSeparator"> </li>
|
|
|
@ -63,16 +63,20 @@
|
|
|
|
<!--<li data-pwTool="eraser">Eraser</li>-->
|
|
|
|
<!--<li data-pwTool="eraser">Eraser</li>-->
|
|
|
|
<li data-pwCommand="imageClear">Clear image</li>
|
|
|
|
<li data-pwCommand="imageClear">Clear image</li>
|
|
|
|
<li data-pwCommand="imageSave">Save image</li>
|
|
|
|
<li data-pwCommand="imageSave">Save image</li>
|
|
|
|
</ul>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<div class="paintweb_strokeFillStyles">
|
|
|
|
<li class="paintweb_strokeFillStyles">
|
|
|
|
<p class="paintweb_opt_fillStyle">Fill <span
|
|
|
|
<p class="paintweb_opt_fillStyle">Fill
|
|
|
|
data-pwColorInput="fillStyle"> </span>
|
|
|
|
<span data-pwColorInput="fillStyle"> </span>
|
|
|
|
</p>
|
|
|
|
</p>
|
|
|
|
<p class="paintweb_opt_strokeStyle">Stroke <span
|
|
|
|
<p class="paintweb_opt_strokeStyle">Stroke
|
|
|
|
data-pwColorInput="strokeStyle"> </span>
|
|
|
|
<span data-pwColorInput="strokeStyle"> </span>
|
|
|
|
</p>
|
|
|
|
</p>
|
|
|
|
</div>
|
|
|
|
</li>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</ul>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
<!-- Note that all tool/command elements will have an anchor elements as the
|
|
|
|
<!-- Note that all tool/command elements will have an anchor elements as the
|
|
|
@ -81,63 +85,65 @@
|
|
|
|
accessibility. -->
|
|
|
|
accessibility. -->
|
|
|
|
|
|
|
|
|
|
|
|
<!-- .paintweb_main_line -->
|
|
|
|
<!-- .paintweb_main_line -->
|
|
|
|
|
|
|
|
<!-- FIXME : line 툴 사용시
|
|
|
|
<div data-pwTab="line" data-pwTabHide="true">
|
|
|
|
<div data-pwTab="line" data-pwTabHide="true">
|
|
|
|
|
|
|
|
|
|
|
|
<!-- Elements with data-pwConfig will have class names like
|
|
|
|
<!– Elements with data-pwConfig will have class names like
|
|
|
|
paintweb_cfg_configVariable. In this case the class name will be
|
|
|
|
paintweb_cfg_configVariable. In this case the class name will be
|
|
|
|
.paintweb_cfg_line_lineWidth. -->
|
|
|
|
.paintweb_cfg_line_lineWidth. –>
|
|
|
|
<p class="paintweb_opt_lineWidth"><label>Line width <input
|
|
|
|
<p class="paintweb_opt_lineWidth"><label>Line width <input
|
|
|
|
data-pwConfig="line.lineWidth" type="number" min="1" value="1"
|
|
|
|
data-pwConfig="line.lineWidth" type="number" min="1" value="1"
|
|
|
|
/></label></p>
|
|
|
|
/></label></p>
|
|
|
|
|
|
|
|
|
|
|
|
<!-- .paintweb_cfg_line_miterLimit (dot becomes underscore) -->
|
|
|
|
<!– .paintweb_cfg_line_miterLimit (dot becomes underscore) –>
|
|
|
|
<p class="paintweb_opt_miterLimit"><label>Miter limit <input
|
|
|
|
<p class="paintweb_opt_miterLimit"><label>Miter limit <input
|
|
|
|
data-pwConfig="line.miterLimit" type="number" min="1" value="10"
|
|
|
|
data-pwConfig="line.miterLimit" type="number" min="1" value="10"
|
|
|
|
/></label></p>
|
|
|
|
/></label></p>
|
|
|
|
|
|
|
|
|
|
|
|
<!-- .paintweb_cfg_line_lineCap -->
|
|
|
|
<!– .paintweb_cfg_line_lineCap –>
|
|
|
|
<div data-pwConfig="line.lineCap">
|
|
|
|
<div data-pwConfig="line.lineCap">
|
|
|
|
<p>Line cap</p>
|
|
|
|
<p>Line cap</p>
|
|
|
|
|
|
|
|
|
|
|
|
<!-- Elements with data-pwConfigValue will have the class name based on
|
|
|
|
<!– Elements with data-pwConfigValue will have the class name based on
|
|
|
|
the configuration property name and value. In this case the class name
|
|
|
|
the configuration property name and value. In this case the class name
|
|
|
|
will be .paintweb_lineCap_butt -->
|
|
|
|
will be .paintweb_lineCap_butt –>
|
|
|
|
<div data-pwConfigValue="butt">Butt</div>
|
|
|
|
<div data-pwConfigValue="butt">Butt</div>
|
|
|
|
|
|
|
|
|
|
|
|
<!-- .paintweb_lineCap_square -->
|
|
|
|
<!– .paintweb_lineCap_square –>
|
|
|
|
<div data-pwConfigValue="square">Square</div>
|
|
|
|
<div data-pwConfigValue="square">Square</div>
|
|
|
|
<!-- .paintweb_lineCap_round -->
|
|
|
|
<!– .paintweb_lineCap_round –>
|
|
|
|
<div data-pwConfigValue="round">Round</div>
|
|
|
|
<div data-pwConfigValue="round">Round</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
<!-- .paintweb_cfg_line_lineJoin -->
|
|
|
|
<!– .paintweb_cfg_line_lineJoin –>
|
|
|
|
<div data-pwConfig="line.lineJoin">
|
|
|
|
<div data-pwConfig="line.lineJoin">
|
|
|
|
<p>Line join</p>
|
|
|
|
<p>Line join</p>
|
|
|
|
|
|
|
|
|
|
|
|
<!-- .paintweb_lineJoin_miter -->
|
|
|
|
<!– .paintweb_lineJoin_miter –>
|
|
|
|
<div data-pwConfigValue="miter">Miter</div>
|
|
|
|
<div data-pwConfigValue="miter">Miter</div>
|
|
|
|
<!-- .paintweb_lineJoin_round -->
|
|
|
|
<!– .paintweb_lineJoin_round –>
|
|
|
|
<div data-pwConfigValue="round">Round</div>
|
|
|
|
<div data-pwConfigValue="round">Round</div>
|
|
|
|
<!-- .paintweb_lineJoin_bevel -->
|
|
|
|
<!– .paintweb_lineJoin_bevel –>
|
|
|
|
<div data-pwConfigValue="bevel">Bevel</div>
|
|
|
|
<div data-pwConfigValue="bevel">Bevel</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
<!-- .paintweb_cfg_shapeType -->
|
|
|
|
<!– .paintweb_cfg_shapeType –>
|
|
|
|
<div data-pwConfig="shapeType">
|
|
|
|
<div data-pwConfig="shapeType">
|
|
|
|
<p>Shape type</p>
|
|
|
|
<p>Shape type</p>
|
|
|
|
|
|
|
|
|
|
|
|
<!-- .paintweb_shapeType_both -->
|
|
|
|
<!– .paintweb_shapeType_both –>
|
|
|
|
<div data-pwConfigValue="both">Both</div>
|
|
|
|
<div data-pwConfigValue="both">Both</div>
|
|
|
|
<!-- .paintweb_shapeType_fill -->
|
|
|
|
<!– .paintweb_shapeType_fill –>
|
|
|
|
<div data-pwConfigValue="fill">Fill</div>
|
|
|
|
<div data-pwConfigValue="fill">Fill</div>
|
|
|
|
<!-- .paintweb_shapeType_stroke -->
|
|
|
|
<!– .paintweb_shapeType_stroke –>
|
|
|
|
<div data-pwConfigValue="stroke">Stroke</div>
|
|
|
|
<div data-pwConfigValue="stroke">Stroke</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
<!-- erm *cough* elements with data-pwConfigValue will be considered icons
|
|
|
|
<!– erm *cough* elements with data-pwConfigValue will be considered icons
|
|
|
|
(class name .paintweb_icon is added). They will also have an anchor
|
|
|
|
(class name .paintweb_icon is added). They will also have an anchor
|
|
|
|
element appended. -->
|
|
|
|
element appended. –>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
-->
|
|
|
|
|
|
|
|
|
|
|
|
<!-- .paintweb_main_selection -->
|
|
|
|
<!-- .paintweb_main_selection -->
|
|
|
|
<div data-pwTab="selection" data-pwTabHide="true">
|
|
|
|
<div data-pwTab="selection" data-pwTabHide="true">
|
|
|
@ -160,6 +166,7 @@
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
<!-- .paintweb_main_text -->
|
|
|
|
<!-- .paintweb_main_text -->
|
|
|
|
|
|
|
|
<!-- FIXME : text 툴 사용시
|
|
|
|
<div data-pwTab="text" data-pwTabHide="true" class="paintweb_tab02">
|
|
|
|
<div data-pwTab="text" data-pwTabHide="true" class="paintweb_tab02">
|
|
|
|
<p class="paintweb_opt_fontFamily">
|
|
|
|
<p class="paintweb_opt_fontFamily">
|
|
|
|
<label for="fontFamily">Font family:</label>
|
|
|
|
<label for="fontFamily">Font family:</label>
|
|
|
@ -181,8 +188,10 @@
|
|
|
|
<div data-pwConfigButton="text.right">Right</div>
|
|
|
|
<div data-pwConfigButton="text.right">Right</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
-->
|
|
|
|
|
|
|
|
|
|
|
|
<!-- .paintweb_main_shadow -->
|
|
|
|
<!-- .paintweb_main_shadow -->
|
|
|
|
|
|
|
|
<!-- FIXME : shadow 툴 사용시
|
|
|
|
<div data-pwTab="shadow">
|
|
|
|
<div data-pwTab="shadow">
|
|
|
|
<p class="paintweb_opt_shadowEnable"><label><input
|
|
|
|
<p class="paintweb_opt_shadowEnable"><label><input
|
|
|
|
data-pwConfig="shadow.enable" type="checkbox" value="1" /> Draw
|
|
|
|
data-pwConfig="shadow.enable" type="checkbox" value="1" /> Draw
|
|
|
@ -211,6 +220,7 @@
|
|
|
|
</label>
|
|
|
|
</label>
|
|
|
|
</p>
|
|
|
|
</p>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
-->
|
|
|
|
|
|
|
|
|
|
|
|
<!-- <p data-pwCommand="about">About</p>-->
|
|
|
|
<!-- <p data-pwCommand="about">About</p>-->
|
|
|
|
|
|
|
|
|
|
|
|