add grids panel
This commit is contained in:
@@ -240,6 +240,47 @@
|
||||
</node>
|
||||
</layout>
|
||||
|
||||
<!--grids panel-->
|
||||
<layout id="tpl-panel-grid">
|
||||
<node width="220" margin="0 0 10 0" rtl="ltr">
|
||||
<border height="30" color=".5" align="center" justify="center">
|
||||
<text text="Grids" font-face="arial" font-size="11" color="1 1 1 1"/>
|
||||
</border>
|
||||
<border color=".3" pad="5" dir="col" width="100%">
|
||||
<border color=".2" height="20" justify="center" align="center"><text text="Ground" font-face="arial" font-size="11"/></border>
|
||||
<node dir="row">
|
||||
<node width="30%" dir="col">
|
||||
<node height="20" justify="center"><text text="Opacity" font-face="arial" font-size="11"/></node>
|
||||
<node height="20" justify="center"><text text="Scale" font-face="arial" font-size="11"/></node>
|
||||
<node height="20" justify="center"><text text="Value" font-face="arial" font-size="11"/></node>
|
||||
<node height="20" justify="center"><text text="Height" font-face="arial" font-size="11"/></node>
|
||||
</node>
|
||||
<border dir="col" align="center" grow="1" width="1" flood-events="1">
|
||||
<node height="20" pad="1" width="100%"><slider-h id="grid-ground-opacity"/></node>
|
||||
<node height="20" pad="1" width="100%"><slider-h id="grid-ground-scale" value="0.5"/></node>
|
||||
<node height="20" pad="1" width="100%"><slider-h id="grid-ground-value" value="0.5"/></node>
|
||||
<node height="20" pad="1" width="100%"><slider-h id="grid-ground-height" value="0.5"/></node>
|
||||
</border>
|
||||
</node>
|
||||
<border color=".2" height="20" justify="center" align="center"><text text="Box" font-face="arial" font-size="11"/></border>
|
||||
<node dir="row">
|
||||
<node width="30%" dir="col">
|
||||
<node height="20" justify="center"><text text="Opacity" font-face="arial" font-size="11"/></node>
|
||||
<node height="20" justify="center"><text text="Width" font-face="arial" font-size="11"/></node>
|
||||
<node height="20" justify="center"><text text="Height" font-face="arial" font-size="11"/></node>
|
||||
<node height="20" justify="center"><text text="Depth" font-face="arial" font-size="11"/></node>
|
||||
</node>
|
||||
<border dir="col" align="center" grow="1" width="1" flood-events="1">
|
||||
<node height="20" pad="1" width="100%"><slider-h id="grid-box-opacity"/></node>
|
||||
<node height="20" pad="1" width="100%"><slider-h id="grid-box-width" value="0.5"/></node>
|
||||
<node height="20" pad="1" width="100%"><slider-h id="grid-box-height" value="0.5"/></node>
|
||||
<node height="20" pad="1" width="100%"><slider-h id="grid-box-depth" value="0.5"/></node>
|
||||
</border>
|
||||
</node>
|
||||
</border>
|
||||
</node>
|
||||
</layout>
|
||||
|
||||
<layout id="message-box">
|
||||
<border positioning="absolute" position="0 0" color=".4 .4 .4 .8" width="100%" height="100%" align="center" justify="center">
|
||||
<border thickness="1" border-color=".2" pad="3">
|
||||
@@ -769,6 +810,9 @@
|
||||
<button-custom id="btn-layer" width="50" height="50" margin="0 0 5 0" thickness="1" border-color=".1" pad="2">
|
||||
<image path="data/ui/layers.png" width="100%" height="100%" align="center" justify="flex-end"/>
|
||||
</button-custom>
|
||||
<button-custom id="btn-grids-panel" width="50" height="50" margin="0 0 5 0" thickness="1" border-color=".1" pad="2">
|
||||
<image path="data/ui/grid.png" width="100%" height="100%" align="center" justify="flex-end" mips="true"/>
|
||||
</button-custom>
|
||||
</border>
|
||||
<!-- side bar -->
|
||||
<node height="100%" dir="row" shrink="1">
|
||||
@@ -781,10 +825,13 @@
|
||||
<!--<panel-layer id="panel-layer"/>-->
|
||||
<!--Colors-->
|
||||
<!--<panel-color id="panel-color"/>-->
|
||||
<!--Grids-->
|
||||
<!--<panel-grid/>-->
|
||||
</scroll>
|
||||
</node>
|
||||
<!-- timeline -->
|
||||
<!--<node height="100%" width="1" grow="1" dir="col" justify="flex-start" rtl="ltr">
|
||||
<!--
|
||||
<node height="100%" width="1" grow="1" dir="col" justify="flex-start" rtl="ltr">
|
||||
<border color=".3 .3 .3 .4" height="50" width="100%" pad="10" dir="row">
|
||||
<text text="Timeline: " font-face="arial" font-size="11" margin="8 10 0 0"/>
|
||||
<slider-h id="frames-slider" width="1" grow="1" margin="0 10 0 0"></slider-h>
|
||||
@@ -792,7 +839,31 @@
|
||||
<text id="timeline-frame" text="00" font-face="arial" font-size="30"/>
|
||||
</node>
|
||||
</border>
|
||||
</node>
|
||||
-->
|
||||
|
||||
<!--<node height="100%" width="1" grow="1" dir="col" align="center" justify="flex-start" rtl="ltr">
|
||||
<border border-color="0 0 0 0" thickness="2" color=".2 .2 .2 .6" pad="10" dir="row" margin="2 0 0 0">
|
||||
<node dir="col">
|
||||
<node dir="row" align="center" margin="0 0 2 0">
|
||||
<slider-h id="pitch-slider" value="0.5" width="200" height="15"></slider-h>
|
||||
<text text="Pitch" font-face="arial" font-size="11" margin="0 0 0 10"/>
|
||||
</node>
|
||||
<node dir="row" align="center" margin="0 0 2 0">
|
||||
<slider-h id="yaw-slider" value="0.5" width="200" height="15"></slider-h>
|
||||
<text text="Yaw" font-face="arial" font-size="11" margin="0 0 0 10"/>
|
||||
</node>
|
||||
<node dir="row" align="center">
|
||||
<slider-h id="roll-slider" value="0.5" width="200" height="15"></slider-h>
|
||||
<text text="Roll" font-face="arial" font-size="11" margin="0 0 0 10"/>
|
||||
</node>
|
||||
</node>
|
||||
<button-custom margin="0 0 0 10" thickness="1" border-color=".1" pad="5" justify="center">
|
||||
<text text="Apply" font-face="arial" font-size="11"/>
|
||||
</button-custom>
|
||||
</border>
|
||||
</node>-->
|
||||
|
||||
</node>
|
||||
<!-- status bar -->
|
||||
<!--<border height="30" width="100%" color=".15" border-color=".3" dir="row" pad="0 0 0 10" align="center">
|
||||
|
||||
Reference in New Issue
Block a user