shot - add 4 more draw tools - outline box and circle foot and silly walk

This commit is contained in:
Carsten Haitzler 2020-01-03 20:17:35 +00:00
parent 90fb244615
commit b34728858c
21 changed files with 2474 additions and 19 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 101 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 42 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.1 KiB

View File

@ -0,0 +1,72 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
width="800"
height="800"
viewBox="0 0 211.66667 211.66667"
version="1.1"
id="svg8"
inkscape:version="0.92.4 5da689c313, 2019-01-14"
sodipodi:docname="shotedit-outline-box.svg"
inkscape:export-filename="/home/raster/C/e/src/modules/shot/data/shotedit-outline-box.png"
inkscape:export-xdpi="96"
inkscape:export-ydpi="96">
<defs
id="defs2" />
<sodipodi:namedview
id="base"
pagecolor="#404040"
bordercolor="#666666"
borderopacity="1.0"
inkscape:pageopacity="0"
inkscape:pageshadow="2"
inkscape:zoom="1.50375"
inkscape:cx="269.65919"
inkscape:cy="399.6675"
inkscape:document-units="mm"
inkscape:current-layer="layer1"
showgrid="true"
units="px"
width="800px"
inkscape:window-width="2560"
inkscape:window-height="1377"
inkscape:window-x="2560"
inkscape:window-y="0"
inkscape:window-maximized="1">
<inkscape:grid
type="xygrid"
id="grid816"
empspacing="10" />
</sodipodi:namedview>
<metadata
id="metadata5">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<dc:title></dc:title>
</cc:Work>
</rdf:RDF>
</metadata>
<g
inkscape:label="Layer 1"
inkscape:groupmode="layer"
id="layer1"
transform="translate(0,-85.333333)">
<path
style="opacity:1;fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:15.99999905;stroke-linecap:square;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
d="M 40 40 L 40 760 L 760 760 L 760 40 L 40 40 z M 80 80 L 720 80 L 720 720 L 80 720 L 80 80 z "
transform="matrix(0.26458333,0,0,0.26458333,0,85.333333)"
id="rect818" />
</g>
</svg>

After

Width:  |  Height:  |  Size: 2.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 68 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 26 KiB

View File

@ -0,0 +1,72 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
width="800"
height="800"
viewBox="0 0 211.66667 211.66667"
version="1.1"
id="svg8"
inkscape:version="0.92.4 5da689c313, 2019-01-14"
sodipodi:docname="shotedit-outline-circle.svg"
inkscape:export-filename="/home/raster/C/e/src/modules/shot/data/shotedit-outline-circle.png"
inkscape:export-xdpi="96"
inkscape:export-ydpi="96">
<defs
id="defs2" />
<sodipodi:namedview
id="base"
pagecolor="#404040"
bordercolor="#666666"
borderopacity="1.0"
inkscape:pageopacity="0"
inkscape:pageshadow="2"
inkscape:zoom="1.50375"
inkscape:cx="269.65919"
inkscape:cy="399.6675"
inkscape:document-units="mm"
inkscape:current-layer="layer1"
showgrid="true"
units="px"
width="800px"
inkscape:window-width="2560"
inkscape:window-height="1377"
inkscape:window-x="2560"
inkscape:window-y="0"
inkscape:window-maximized="1">
<inkscape:grid
type="xygrid"
id="grid816"
empspacing="10" />
</sodipodi:namedview>
<metadata
id="metadata5">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<dc:title></dc:title>
</cc:Work>
</rdf:RDF>
</metadata>
<g
inkscape:label="Layer 1"
inkscape:groupmode="layer"
id="layer1"
transform="translate(0,-85.333333)">
<path
style="opacity:1;fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:15.99999905;stroke-linecap:square;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
d="M 398.08203 40.005859 A 360 360 0 0 0 40.001953 401.2793 A 360 360 0 0 0 400.63867 760 A 360 360 0 0 0 760 400 L 759.99023 397.44336 A 360 360 0 0 0 398.08203 40.005859 z M 398.29492 80.003906 A 319.99999 319.99999 0 0 1 719.99219 397.72656 L 720 400 A 319.99999 319.99999 0 0 1 400.56836 720 A 319.99999 319.99999 0 0 1 80.001953 401.13672 A 319.99999 319.99999 0 0 1 398.29492 80.003906 z "
transform="matrix(0.26458333,0,0,0.26458333,0,85.333333)"
id="path842" />
</g>
</svg>

After

Width:  |  Height:  |  Size: 2.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 138 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

View File

@ -0,0 +1,93 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
width="40"
height="40"
viewBox="0 0 10.583333 10.583333"
version="1.1"
id="svg8"
sodipodi:docname="shotedit-tool-box-outline-box.svg"
inkscape:export-filename="/home/raster/C/e/src/modules/shot/shotedit-tool-box-outline-box.png"
inkscape:export-xdpi="384"
inkscape:export-ydpi="384"
inkscape:version="0.92.4 5da689c313, 2019-01-14">
<defs
id="defs2">
<filter
inkscape:collect="always"
style="color-interpolation-filters:sRGB"
id="filter1011"
x="-0.096"
width="1.192"
y="-0.096"
height="1.192">
<feGaussianBlur
inkscape:collect="always"
stdDeviation="1.28"
id="feGaussianBlur1013" />
</filter>
</defs>
<sodipodi:namedview
id="base"
pagecolor="#404040"
bordercolor="#202020"
borderopacity="1"
inkscape:pageopacity="0"
inkscape:pageshadow="2"
inkscape:zoom="30.55"
inkscape:cx="20"
inkscape:cy="20"
inkscape:document-units="mm"
inkscape:current-layer="layer1"
showgrid="true"
units="px"
width="40px"
inkscape:showpageshadow="false"
inkscape:window-width="2032"
inkscape:window-height="1372"
inkscape:window-x="3088"
inkscape:window-y="0"
inkscape:window-maximized="0"
inkscape:snap-global="true">
<inkscape:grid
type="xygrid"
id="grid4518"
empspacing="4" />
</sodipodi:namedview>
<metadata
id="metadata5">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<dc:title></dc:title>
</cc:Work>
</rdf:RDF>
</metadata>
<g
inkscape:label="Layer 1"
inkscape:groupmode="layer"
id="layer1"
transform="translate(0,-286.41667)">
<path
id="path981"
transform="matrix(0.26458333,0,0,0.26458333,0,286.41667)"
d="M 4 4 L 4 36 L 36 36 L 36 4 L 4 4 z M 8 8 L 32 8 L 32 32 L 8 32 L 8 8 z "
style="opacity:0.5;fill:#000000;fill-opacity:1;stroke:none;stroke-width:15.99999905;stroke-linecap:square;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;filter:url(#filter1011)" />
<path
style="opacity:1;fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:15.99999905;stroke-linecap:square;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
d="M 4 4 L 4 36 L 36 36 L 36 4 L 4 4 z M 8 8 L 32 8 L 32 32 L 8 32 L 8 8 z "
transform="matrix(0.26458333,0,0,0.26458333,0,286.41667)"
id="rect976" />
</g>
</svg>

After

Width:  |  Height:  |  Size: 3.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB

View File

@ -0,0 +1,93 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
width="40"
height="40"
viewBox="0 0 10.583333 10.583333"
version="1.1"
id="svg8"
sodipodi:docname="shotedit-tool-box-outline-circle.svg"
inkscape:export-filename="/home/raster/C/e/src/modules/shot/shotedit-tool-box-outline-circle.png"
inkscape:export-xdpi="384"
inkscape:export-ydpi="384"
inkscape:version="0.92.4 5da689c313, 2019-01-14">
<defs
id="defs2">
<filter
inkscape:collect="always"
style="color-interpolation-filters:sRGB"
id="filter1041"
x="-0.096000238"
width="1.1920005"
y="-0.095999762"
height="1.1919995">
<feGaussianBlur
inkscape:collect="always"
stdDeviation="1.2800072"
id="feGaussianBlur1043" />
</filter>
</defs>
<sodipodi:namedview
id="base"
pagecolor="#404040"
bordercolor="#202020"
borderopacity="1"
inkscape:pageopacity="0"
inkscape:pageshadow="2"
inkscape:zoom="30.55"
inkscape:cx="18.690671"
inkscape:cy="20"
inkscape:document-units="mm"
inkscape:current-layer="layer1"
showgrid="true"
units="px"
width="40px"
inkscape:showpageshadow="false"
inkscape:window-width="2032"
inkscape:window-height="1372"
inkscape:window-x="3088"
inkscape:window-y="0"
inkscape:window-maximized="0"
inkscape:snap-global="true">
<inkscape:grid
type="xygrid"
id="grid4518"
empspacing="4" />
</sodipodi:namedview>
<metadata
id="metadata5">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<dc:title></dc:title>
</cc:Work>
</rdf:RDF>
</metadata>
<g
inkscape:label="Layer 1"
inkscape:groupmode="layer"
id="layer1"
transform="translate(0,-286.41667)">
<path
id="path1039"
transform="matrix(0.26458333,0,0,0.26458333,0,286.41667)"
d="M 19.914062 4 A 15.999999 15.999999 0 0 0 4 20.056641 A 15.999999 15.999999 0 0 0 20.029297 36 A 15.999999 15.999999 0 0 0 36 20 L 36 19.886719 A 15.999999 15.999999 0 0 0 19.914062 4 z M 19.935547 8 A 12 12 0 0 1 32 19.914062 L 32 20 A 12 12 0 0 1 20.021484 32 A 12 12 0 0 1 8 20.042969 A 12 12 0 0 1 19.935547 8 z "
style="opacity:0.5;fill:#000000;fill-opacity:1;stroke:none;stroke-width:15.99999905;stroke-linecap:square;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;filter:url(#filter1041)" />
<path
style="opacity:1;fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:15.99999905;stroke-linecap:square;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
d="M 19.914062 4 A 15.999999 15.999999 0 0 0 4 20.056641 A 15.999999 15.999999 0 0 0 20.029297 36 A 15.999999 15.999999 0 0 0 36 20 L 36 19.886719 A 15.999999 15.999999 0 0 0 19.914062 4 z M 19.935547 8 A 12 12 0 0 1 32 19.914062 L 32 20 A 12 12 0 0 1 20.021484 32 A 12 12 0 0 1 8 20.042969 A 12 12 0 0 1 19.935547 8 z "
transform="matrix(0.26458333,0,0,0.26458333,0,286.41667)"
id="path1034" />
</g>
</svg>

After

Width:  |  Height:  |  Size: 3.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.5 KiB

File diff suppressed because it is too large Load Diff

After

Width:  |  Height:  |  Size: 136 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 72 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 27 KiB

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 17 KiB

View File

@ -38,6 +38,10 @@ collections {
TOOL_ICON("box-demalloc")
TOOL_ICON("box-finger")
TOOL_ICON("box-logo")
TOOL_ICON("box-foot")
TOOL_ICON("box-walk")
TOOL_ICON("box-outline-box")
TOOL_ICON("box-outline-circle")
TOOL_ICON("box-text-empty")
TOOL_ICON("box-text-plain")
TOOL_ICON("box-text-cloud")
@ -527,6 +531,102 @@ collections {
}
}
}
group { name: "e/modules/shot/item/box/foot";
images.image: "shotedit-foot.png" COMP;
parts {
part { name: "box";
description { state: "default" 0.0;
image.normal: "shotedit-foot.png";
min: 45 55;
}
}
}
}
group { name: "e/modules/shot/item/box/foot/shadow";
parts {
}
}
group { name: "e/modules/shot/item/box/walk";
images.image: "shotedit-walk.png" COMP;
parts {
part { name: "box";
description { state: "default" 0.0;
min: 40 40;
color: 255 255 255 255;
color_class: "color";
image.normal: "shotedit-walk.png";
}
}
}
}
group { name: "e/modules/shot/item/box/walk/shadow";
data.item: "offset_x" "0";
data.item: "offset_y" "10";
images.image: "shotedit-walk-shadow.png" COMP;
parts {
part { name: "shadow";
description { state: "default" 0.0;
min: 50 50;
color: 0 0 0 128;
image.normal: "shotedit-walk-shadow.png";
}
}
}
}
group { name: "e/modules/shot/item/box/outline-box";
images.image: "shotedit-outline-box.png" COMP;
parts {
part { name: "box";
description { state: "default" 0.0;
min: 40 40;
color: 255 255 255 255;
color_class: "color";
image.normal: "shotedit-outline-box.png";
}
}
}
}
group { name: "e/modules/shot/item/box/outline-box/shadow";
data.item: "offset_x" "0";
data.item: "offset_y" "10";
images.image: "shotedit-outline-box-shadow.png" COMP;
parts {
part { name: "shadow";
description { state: "default" 0.0;
min: 50 50;
color: 0 0 0 128;
image.normal: "shotedit-outline-box-shadow.png";
}
}
}
}
group { name: "e/modules/shot/item/box/outline-circle";
images.image: "shotedit-outline-circle.png" COMP;
parts {
part { name: "box";
description { state: "default" 0.0;
min: 40 40;
color: 255 255 255 255;
color_class: "color";
image.normal: "shotedit-outline-circle.png";
}
}
}
}
group { name: "e/modules/shot/item/box/outline-circle/shadow";
data.item: "offset_x" "0";
data.item: "offset_y" "10";
images.image: "shotedit-outline-circle-shadow.png" COMP;
parts {
part { name: "shadow";
description { state: "default" 0.0;
min: 50 50;
color: 0 0 0 128;
image.normal: "shotedit-outline-circle-shadow.png";
}
}
}
}
group { name: "e/modules/shot/item/box/text/empty";
data.item: "entry_style" "DEFAULT='font=Sans style=outline outline_color=#0008 font_size=20 color=#fff align=center'";
parts {

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.1 MiB

View File

@ -1904,9 +1904,9 @@ ui_edit(Evas_Object *window, Evas_Object *o_bg, E_Zone *zone EINA_UNUSED,
_tool_info_count = 0;
radg
= ui_tool_add(win, tb2, NULL, 0, 0, "crop", "Select crop area", 40, NULL, TOOL_CROP);
o = ui_tool_add(win, tb2, radg, 1, 0, "modify", "Modify objects", 40, NULL, TOOL_MODIFY);
o = ui_tool_add(win, tb2, radg, 2, 0, "delete", "Delete objects", 40, NULL, TOOL_DELETE);
= ui_tool_add(win, tb2, NULL, 0, 0, "crop", "Select crop area", 40, NULL, TOOL_CROP);
o = ui_tool_add(win, tb2, radg, 1, 0, "modify", "Modify objects", 40, NULL, TOOL_MODIFY);
o = ui_tool_add(win, tb2, radg, 2, 0, "delete", "Delete objects", 40, NULL, TOOL_DELETE);
o = elm_separator_add(win);
evas_object_size_hint_weight_set(o, EVAS_HINT_EXPAND, 0.0);
@ -1915,25 +1915,30 @@ ui_edit(Evas_Object *window, Evas_Object *o_bg, E_Zone *zone EINA_UNUSED,
elm_table_pack(tb2, o, 0, 1, 4, 1);
evas_object_show(o);
o = ui_tool_add(win, tb2, radg, 0, 2, "line-arrow", "Single arrow line", 40, "arrow", TOOL_LINE);
o = ui_tool_add(win, tb2, radg, 1, 2, "line-arrow2", "Double arrow line", 40, "arrow2", TOOL_LINE);
o = ui_tool_add(win, tb2, radg, 2, 2, "line-arrow0", "Plain line", 40, "arrow0", TOOL_LINE);
o = ui_tool_add(win, tb2, radg, 3, 2, "box-solid", "Solid box", 40, "solid", TOOL_BOX);
o = ui_tool_add(win, tb2, radg, 0, 2, "line-arrow", "Single arrow line", 40, "arrow", TOOL_LINE);
o = ui_tool_add(win, tb2, radg, 1, 2, "line-arrow2", "Double arrow line", 40, "arrow2", TOOL_LINE);
o = ui_tool_add(win, tb2, radg, 2, 2, "line-arrow0", "Plain line", 40, "arrow0", TOOL_LINE);
o = ui_tool_add(win, tb2, radg, 3, 2, "box-solid", "Solid box", 40, "solid", TOOL_BOX);
o = ui_tool_add(win, tb2, radg, 0, 3, "box-malloc", "Malloc", 40, "malloc", TOOL_BOX);
o = ui_tool_add(win, tb2, radg, 1, 3, "box-demalloc", "Malloc (evil)", 40, "demalloc", TOOL_BOX);
o = ui_tool_add(win, tb2, radg, 2, 3, "box-finger", "Pointing finger", 40, "finger", TOOL_BOX);
o = ui_tool_add(win, tb2, radg, 3, 3, "box-logo", "Enlightenment logo", 40, "logo", TOOL_BOX);
o = ui_tool_add(win, tb2, radg, 0, 3, "box-malloc", "Malloc", 40, "malloc", TOOL_BOX);
o = ui_tool_add(win, tb2, radg, 1, 3, "box-demalloc", "Malloc (evil)", 40, "demalloc", TOOL_BOX);
o = ui_tool_add(win, tb2, radg, 2, 3, "box-finger", "Pointing finger", 40, "finger", TOOL_BOX);
o = ui_tool_add(win, tb2, radg, 3, 3, "box-logo", "Enlightenment logo", 40, "logo", TOOL_BOX);
o = ui_tool_add(win, tb2, radg, 0, 4, "box-text-empty", "Plain text", 40, "text/empty", TOOL_BOX);
o = ui_tool_add(win, tb2, radg, 1, 4, "box-text-plain", "Text box", 40, "text/plain", TOOL_BOX);
o = ui_tool_add(win, tb2, radg, 2, 4, "box-text-cloud", "Text thought bubble", 40, "text/cloud", TOOL_BOX);
o = ui_tool_add(win, tb2, radg, 3, 4, "box-text-cloud2", "Text thought bubble 2", 40, "text/cloud2", TOOL_BOX);
o = ui_tool_add(win, tb2, radg, 0, 4, "box-foot", "Foot", 40, "foot", TOOL_BOX);
o = ui_tool_add(win, tb2, radg, 1, 4, "box-walk", "Silly walk", 40, "walk", TOOL_BOX);
o = ui_tool_add(win, tb2, radg, 2, 4, "box-outline-box", "Box outline", 40, "outline-box", TOOL_BOX);
o = ui_tool_add(win, tb2, radg, 3, 4, "box-outline-circle", "Circle outline", 40, "outline-circle", TOOL_BOX);
o = ui_tool_add(win, tb2, radg, 0, 5, "box-text-speech", "Speech bubble", 40, "text/speech", TOOL_BOX);
o = ui_tool_add(win, tb2, radg, 1, 5, "box-text-speech2", "Speech bubble 2", 40, "text/speech2", TOOL_BOX);
o = ui_tool_add(win, tb2, radg, 2, 5, "box-text-kaboom", "Kaboom splat", 40, "text/kaboom", TOOL_BOX);
o = ui_tool_add(win, tb2, radg, 3, 5, "box-text-kapow", "Pow explode", 40, "text/kapow", TOOL_BOX);
o = ui_tool_add(win, tb2, radg, 0, 5, "box-text-empty", "Plain text", 40, "text/empty", TOOL_BOX);
o = ui_tool_add(win, tb2, radg, 1, 5, "box-text-plain", "Text box", 40, "text/plain", TOOL_BOX);
o = ui_tool_add(win, tb2, radg, 2, 5, "box-text-cloud", "Text thought bubble", 40, "text/cloud", TOOL_BOX);
o = ui_tool_add(win, tb2, radg, 3, 5, "box-text-cloud2", "Text thought bubble 2", 40, "text/cloud2", TOOL_BOX);
o = ui_tool_add(win, tb2, radg, 0, 6, "box-text-speech", "Speech bubble", 40, "text/speech", TOOL_BOX);
o = ui_tool_add(win, tb2, radg, 1, 6, "box-text-speech2", "Speech bubble 2", 40, "text/speech2", TOOL_BOX);
o = ui_tool_add(win, tb2, radg, 2, 6, "box-text-kaboom", "Kaboom splat", 40, "text/kaboom", TOOL_BOX);
o = ui_tool_add(win, tb2, radg, 3, 6, "box-text-kapow", "Pow explode", 40, "text/kapow", TOOL_BOX);
_cb_tool_changed(NULL, radg, NULL);