change node children from unique to shared ptr, rename Canvas2D to StrokePreview, add panel toolbar with icon buttons to toggle

This commit is contained in:
2017-03-25 17:28:57 +00:00
parent 4da0c3696a
commit a1e3fd4ecf
15 changed files with 216 additions and 65 deletions

1
data/ui/palette.svg Normal file
View File

@@ -0,0 +1 @@
<svg fill="#000000" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" x="0px" y="0px" viewBox="0 0 100 100" style="enable-background:new 0 0 100 100;" xml:space="preserve"><path d="M50.7,15c-9.3-0.2-18.1,3.4-24.9,10C18.9,31.8,15,41.1,15,50.7V51c0,4.4,3.6,8,8,8s8-3.6,8-8c0-2.8,2.2-5,5-5 c1,0,2,0.3,2.8,0.9c1.6,1.1,2.4,3.3,1.9,5.4l-0.1,0.3c-0.5,1.9-1.8,3.4-3.8,4.2c-3.5,1.5-5.8,4.9-5.8,8.8c0,10.6,8.5,19.2,19,19.5 l0.5,0v0C69.6,84.7,85,69.1,85,50C85,31.1,69.6,15.4,50.7,15z M49,32c-3.3,0-6-2.7-6-6s2.7-6,6-6s6,2.7,6,6S52.3,32,49,32z M58,33 c0-3.3,2.7-6,6-6s6,2.7,6,6s-2.7,6-6,6S58,36.3,58,33z M67,72c-3.3,0-6-2.7-6-6s2.7-6,6-6s6,2.7,6,6S70.3,72,67,72z M72,55 c-3.3,0-6-2.7-6-6s2.7-6,6-6s6,2.7,6,6S75.3,55,72,55z"/></svg>

After

Width:  |  Height:  |  Size: 765 B