add quick access panel
This commit is contained in:
@@ -1411,6 +1411,40 @@ Here's a list of what's available in this release.
|
||||
</popup-menu>
|
||||
</layout>
|
||||
|
||||
<!-- quick access -->
|
||||
<layout id="panel-quick">
|
||||
<border color="0 0 0 0.3" width="80" dir="col" pad="5" align="center" mouse-capture="true" shrink="1">
|
||||
<node dir="row" pad="5">
|
||||
<!--size-->
|
||||
<node dir="col" margin="0 4 0 0" align="center">
|
||||
<text text="Size" margin="0 0 10 0"/>
|
||||
<slider-v id="quick-size" height="150" width="30"/>
|
||||
</node>
|
||||
<!--flow-->
|
||||
<node dir="col" align="center">
|
||||
<text text="Flow" margin="0 0 10 0"/>
|
||||
<slider-v id="quick-flow" height="150" width="30"/>
|
||||
</node>
|
||||
</node>
|
||||
<!--color-->
|
||||
<text text="Colors" margin="10 0 5 0"/>
|
||||
<button-custom id="quick-color1" dir="row" pad="4" margin="0 0 1 0">
|
||||
<border color="1 0 0 1" width="60" height="30"/>
|
||||
</button-custom>
|
||||
<button-custom id="quick-color2" pad="4" margin="0 0 1 0">
|
||||
<border color="0 0 0 1" width="60" height="30"/>
|
||||
</button-custom>
|
||||
<button-custom id="quick-color3" pad="4" margin="0 0 1 0">
|
||||
<border color="1 1 1 1" width="60" height="30"/>
|
||||
</button-custom>
|
||||
<!--brushes-->
|
||||
<text text="Brushes" margin="20 0 10 0"/>
|
||||
<button-custom height="35" pad="4">
|
||||
<stroke-preview id="quick-brush1" width="60" height="100%"/>
|
||||
</button-custom>
|
||||
</border>
|
||||
</layout>
|
||||
|
||||
<!--main-->
|
||||
<layout id="main">
|
||||
<canvas id="paint-canvas" positioning="absolute" width="100%" height="100%" grow="1"/>
|
||||
@@ -1555,6 +1589,12 @@ Here's a list of what's available in this release.
|
||||
<!--<panel-grid/>-->
|
||||
</scroll>
|
||||
</node>
|
||||
|
||||
<!--quick bar-->
|
||||
<node justify="center" align="center">
|
||||
<panel-quick/>
|
||||
</node>
|
||||
|
||||
<!-- timeline -->
|
||||
<!--
|
||||
<node height="100%" width="1" grow="1" dir="col" justify="flex-start" rtl="ltr">
|
||||
|
||||
Reference in New Issue
Block a user