rename parent to m_parent and add floating panel class

This commit is contained in:
2019-03-20 22:28:44 +01:00
parent e635ad00a8
commit 929e80a218
14 changed files with 151 additions and 42 deletions

View File

@@ -1270,6 +1270,20 @@ Here's a list of what's available in this release.
</border>
</border>
</layout>
<!-- DIALOG FLOATING -->
<layout id="tpl-panel-floating">
<border thickness="1" border-color=".2" pad="3" max-width="650" dir="col" mouse-capture="true">
<border height="30" pad="0 0 0 0" color=".4" align="center" justify="center" dir="row">
<button id="button-minimize" width="30" height="20" text="--" margin="0 0 0 5"/>
<node align="center" pad="0 30 0 30" justify="center" height="100%" grow="1">
<text text="Floating Panel"/>
</node>
</border>
<border id="container" height="400" color="0 0 0 .9" pad="10" dir="col">
</border>
</border>
</layout>
<!-- MENU POPUP -->
<layout id="popup-menu">
@@ -1447,8 +1461,8 @@ Here's a list of what's available in this release.
</popup-menu>
</layout>
<!-- MENU EXPERIMENTAL -->
<layout id="experimental-menu">
<!-- MENU EXPERIMENTAL -->
<layout id="experimental-menu">
<popup-menu positioning="absolute" position="100 100" width="150" thickness="1" border-color=".1" color=".4 .4 .4 .8" dir="col">
<node dir="row">
<button-custom id="experimental-timelapse" height="40" align="center" color=".2" pad="0 0 0 10" dir="row" grow="1">
@@ -1469,7 +1483,6 @@ Here's a list of what's available in this release.
</popup-menu>
</layout>
<!-- MENU TIMELAPSE -->
<layout id="timelapse-menu">
<popup-menu positioning="absolute" position="100 100" width="150" thickness="1" border-color=".1" color=".4 .4 .4 .8" dir="col">