|
|
|
@ -35,7 +35,7 @@
|
|
|
|
|
<li data-pwCommand="selectionCut">Cut selection</li>
|
|
|
|
|
<li data-pwCommand="selectionCopy">Copy selection</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 class="paintweb_toolSeparator"> </li>
|
|
|
|
@ -44,7 +44,7 @@
|
|
|
|
|
.paintweb_tool_toolID and a generic class name .paintweb_tool. In this
|
|
|
|
|
case the class names will be .paintweb_tool_insertimg and
|
|
|
|
|
.paintweb_tool. -->
|
|
|
|
|
<li data-pwTool="text">Text</li>
|
|
|
|
|
<!--<li data-pwTool="text">Text</li>-->
|
|
|
|
|
<li data-pwTool="rectangle">Rectangle</li>
|
|
|
|
|
|
|
|
|
|
<li class="paintweb_toolSeparator"> </li>
|
|
|
|
@ -63,81 +63,87 @@
|
|
|
|
|
<!--<li data-pwTool="eraser">Eraser</li>-->
|
|
|
|
|
<li data-pwCommand="imageClear">Clear image</li>
|
|
|
|
|
<li data-pwCommand="imageSave">Save image</li>
|
|
|
|
|
|
|
|
|
|
<li class="paintweb_strokeFillStyles">
|
|
|
|
|
<p class="paintweb_opt_fillStyle">Fill
|
|
|
|
|
<span data-pwColorInput="fillStyle"> </span>
|
|
|
|
|
</p>
|
|
|
|
|
<p class="paintweb_opt_strokeStyle">Stroke
|
|
|
|
|
<span data-pwColorInput="strokeStyle"> </span>
|
|
|
|
|
</p>
|
|
|
|
|
</li>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</ul>
|
|
|
|
|
|
|
|
|
|
<div class="paintweb_strokeFillStyles">
|
|
|
|
|
<p class="paintweb_opt_fillStyle">Fill <span
|
|
|
|
|
data-pwColorInput="fillStyle"> </span>
|
|
|
|
|
</p>
|
|
|
|
|
<p class="paintweb_opt_strokeStyle">Stroke <span
|
|
|
|
|
data-pwColorInput="strokeStyle"> </span>
|
|
|
|
|
</p>
|
|
|
|
|
</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
|
|
|
|
|
only child. The locale string will be added as child of the anchor. Having
|
|
|
|
|
the anchors allows users to tab through the tools and commands - keyboard
|
|
|
|
|
accessibility. -->
|
|
|
|
|
|
|
|
|
|
<!-- .paintweb_main_line -->
|
|
|
|
|
<!-- FIXME : line 툴 사용시
|
|
|
|
|
<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_line_lineWidth. -->
|
|
|
|
|
.paintweb_cfg_line_lineWidth. –>
|
|
|
|
|
<p class="paintweb_opt_lineWidth"><label>Line width <input
|
|
|
|
|
data-pwConfig="line.lineWidth" type="number" min="1" value="1"
|
|
|
|
|
/></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
|
|
|
|
|
data-pwConfig="line.miterLimit" type="number" min="1" value="10"
|
|
|
|
|
/></label></p>
|
|
|
|
|
|
|
|
|
|
<!-- .paintweb_cfg_line_lineCap -->
|
|
|
|
|
<!– .paintweb_cfg_line_lineCap –>
|
|
|
|
|
<div data-pwConfig="line.lineCap">
|
|
|
|
|
<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
|
|
|
|
|
will be .paintweb_lineCap_butt -->
|
|
|
|
|
will be .paintweb_lineCap_butt –>
|
|
|
|
|
<div data-pwConfigValue="butt">Butt</div>
|
|
|
|
|
|
|
|
|
|
<!-- .paintweb_lineCap_square -->
|
|
|
|
|
<!– .paintweb_lineCap_square –>
|
|
|
|
|
<div data-pwConfigValue="square">Square</div>
|
|
|
|
|
<!-- .paintweb_lineCap_round -->
|
|
|
|
|
<!– .paintweb_lineCap_round –>
|
|
|
|
|
<div data-pwConfigValue="round">Round</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<!-- .paintweb_cfg_line_lineJoin -->
|
|
|
|
|
<!– .paintweb_cfg_line_lineJoin –>
|
|
|
|
|
<div data-pwConfig="line.lineJoin">
|
|
|
|
|
<p>Line join</p>
|
|
|
|
|
|
|
|
|
|
<!-- .paintweb_lineJoin_miter -->
|
|
|
|
|
<!– .paintweb_lineJoin_miter –>
|
|
|
|
|
<div data-pwConfigValue="miter">Miter</div>
|
|
|
|
|
<!-- .paintweb_lineJoin_round -->
|
|
|
|
|
<!– .paintweb_lineJoin_round –>
|
|
|
|
|
<div data-pwConfigValue="round">Round</div>
|
|
|
|
|
<!-- .paintweb_lineJoin_bevel -->
|
|
|
|
|
<!– .paintweb_lineJoin_bevel –>
|
|
|
|
|
<div data-pwConfigValue="bevel">Bevel</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<!-- .paintweb_cfg_shapeType -->
|
|
|
|
|
<!– .paintweb_cfg_shapeType –>
|
|
|
|
|
<div data-pwConfig="shapeType">
|
|
|
|
|
<p>Shape type</p>
|
|
|
|
|
|
|
|
|
|
<!-- .paintweb_shapeType_both -->
|
|
|
|
|
<!– .paintweb_shapeType_both –>
|
|
|
|
|
<div data-pwConfigValue="both">Both</div>
|
|
|
|
|
<!-- .paintweb_shapeType_fill -->
|
|
|
|
|
<!– .paintweb_shapeType_fill –>
|
|
|
|
|
<div data-pwConfigValue="fill">Fill</div>
|
|
|
|
|
<!-- .paintweb_shapeType_stroke -->
|
|
|
|
|
<!– .paintweb_shapeType_stroke –>
|
|
|
|
|
<div data-pwConfigValue="stroke">Stroke</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
|
|
|
|
|
element appended. -->
|
|
|
|
|
element appended. –>
|
|
|
|
|
</div>
|
|
|
|
|
-->
|
|
|
|
|
|
|
|
|
|
<!-- .paintweb_main_selection -->
|
|
|
|
|
<div data-pwTab="selection" data-pwTabHide="true">
|
|
|
|
@ -160,6 +166,7 @@
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<!-- .paintweb_main_text -->
|
|
|
|
|
<!-- FIXME : text 툴 사용시
|
|
|
|
|
<div data-pwTab="text" data-pwTabHide="true" class="paintweb_tab02">
|
|
|
|
|
<p class="paintweb_opt_fontFamily">
|
|
|
|
|
<label for="fontFamily">Font family:</label>
|
|
|
|
@ -181,8 +188,10 @@
|
|
|
|
|
<div data-pwConfigButton="text.right">Right</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
-->
|
|
|
|
|
|
|
|
|
|
<!-- .paintweb_main_shadow -->
|
|
|
|
|
<!-- FIXME : shadow 툴 사용시
|
|
|
|
|
<div data-pwTab="shadow">
|
|
|
|
|
<p class="paintweb_opt_shadowEnable"><label><input
|
|
|
|
|
data-pwConfig="shadow.enable" type="checkbox" value="1" /> Draw
|
|
|
|
@ -211,6 +220,7 @@
|
|
|
|
|
</label>
|
|
|
|
|
</p>
|
|
|
|
|
</div>
|
|
|
|
|
-->
|
|
|
|
|
|
|
|
|
|
<!-- <p data-pwCommand="about">About</p>-->
|
|
|
|
|
|
|
|
|
|