Implement mouse-capture attribute on ui system
This commit is contained in:
@@ -307,7 +307,7 @@
|
||||
</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 positioning="absolute" position="0 0" color=".4 .4 .4 .8" width="100%" height="100%" align="center" justify="center" mouse-capture="true">
|
||||
<border thickness="1" border-color=".2" pad="3">
|
||||
<border width="400" height="30" color=".2 .2 .2 .9" dir="row" align="center" justify="center">
|
||||
<text id="title" text="Just a test message" font-face="arial" font-size="11"></text>
|
||||
@@ -324,7 +324,7 @@
|
||||
</layout>
|
||||
|
||||
<layout id="progress-bar">
|
||||
<border positioning="absolute" position="0 0" color=".4 .4 .4 .8" width="100%" height="100%" align="center" justify="center">
|
||||
<border positioning="absolute" position="0 0" color=".4 .4 .4 .8" width="100%" height="100%" align="center" justify="center" mouse-capture="true">
|
||||
<border thickness="1" border-color=".2" pad="3">
|
||||
<border width="400" height="30" color=".2 .2 .2 .9" dir="row" align="center" justify="center">
|
||||
<text id="title" text="Just a test message" font-face="arial" font-size="11"></text>
|
||||
@@ -391,7 +391,7 @@
|
||||
|
||||
<!-- Dialog Rename Layer -->
|
||||
<layout id="dialog-layer-rename">
|
||||
<border positioning="absolute" position="0 0" color=".4 .4 .4 .8" width="100%" height="100%" align="center" justify="center">
|
||||
<border positioning="absolute" position="0 0" color=".4 .4 .4 .8" width="100%" height="100%" align="center" justify="center" mouse-capture="true">
|
||||
<border thickness="1" border-color=".2" pad="3">
|
||||
<border width="400" height="30" color=".2 .2 .2 .9" dir="row" align="center" justify="center">
|
||||
<text text="Rename Layer" font-face="arial" font-size="11"></text>
|
||||
@@ -412,7 +412,7 @@
|
||||
|
||||
<!-- Dialog Resize -->
|
||||
<layout id="dialog-resize">
|
||||
<border positioning="absolute" position="0 0" color=".4 .4 .4 .8" width="100%" height="100%" align="center" justify="center">
|
||||
<border positioning="absolute" position="0 0" color=".4 .4 .4 .8" width="100%" height="100%" align="center" justify="center" mouse-capture="true">
|
||||
<border thickness="1" border-color=".2" pad="3">
|
||||
<border width="500" height="30" color=".2 .2 .2 .9" dir="row" align="center" justify="center">
|
||||
<text text="Resize Document Resolution" font-face="arial" font-size="11"></text>
|
||||
@@ -442,7 +442,7 @@
|
||||
</border>
|
||||
</layout>
|
||||
<layout id="dialog-browse">
|
||||
<border id="background" positioning="absolute" position="0 0" color=".4 .4 .4 .8" width="100%" height="100%" align="center" justify="center">
|
||||
<border id="background" positioning="absolute" position="0 0" color=".4 .4 .4 .8" width="100%" height="100%" align="center" justify="center" mouse-capture="true">
|
||||
<border id="form" thickness="1" border-color=".2" pad="3" width="90%" height="90%" dir="col">
|
||||
<border id="title-bar" width="100%" height="30" color=".2 .2 .2 .9" dir="row" align="center" justify="center">
|
||||
<text text="Browse PanoPainter Projects" font-face="arial" font-size="11"></text>
|
||||
@@ -474,7 +474,7 @@
|
||||
</layout>
|
||||
|
||||
<layout id="dialog-cloud">
|
||||
<border id="background" positioning="absolute" position="0 0" color=".4 .4 .4 .8" width="100%" height="100%" align="center" justify="center">
|
||||
<border id="background" positioning="absolute" position="0 0" color=".4 .4 .4 .8" width="100%" height="100%" align="center" justify="center" mouse-capture="true">
|
||||
<border id="form" thickness="1" border-color=".2" pad="3" width="90%" height="90%" dir="col">
|
||||
<border id="title-bar" width="100%" height="30" color=".2 .2 .2 .9" dir="row" align="center" justify="center">
|
||||
<text text="Browse PanoPainter Projects" font-face="arial" font-size="11"></text>
|
||||
@@ -501,7 +501,7 @@
|
||||
</border>
|
||||
</layout>
|
||||
<layout id="dialog-open">
|
||||
<border positioning="absolute" position="0 0" color=".4 .4 .4 .8" width="100%" height="100%" align="center" justify="center">
|
||||
<border positioning="absolute" position="0 0" color=".4 .4 .4 .8" width="100%" height="100%" align="center" justify="center" mouse-capture="true">
|
||||
<border thickness="1" border-color=".2" pad="3">
|
||||
<border width="400" height="30" color=".2 .2 .2 .9" dir="row" align="center" justify="center">
|
||||
<text text="Open PanoPainter Project" font-face="arial" font-size="11"></text>
|
||||
@@ -530,7 +530,7 @@
|
||||
|
||||
<!-- Save Dialog Popup -->
|
||||
<layout id="dialog-save">
|
||||
<border positioning="absolute" position="0 0" color=".4 .4 .4 .8" width="100%" height="100%" align="center" justify="center">
|
||||
<border positioning="absolute" position="0 0" color=".4 .4 .4 .8" width="100%" height="100%" align="center" justify="center" mouse-capture="true">
|
||||
<border thickness="1" border-color=".2" pad="3">
|
||||
<border width="400" height="30" color=".2 .2 .2 .9" dir="row" align="center" justify="center">
|
||||
<text text="Save Pano Project" font-face="arial" font-size="11"></text>
|
||||
@@ -553,7 +553,7 @@
|
||||
|
||||
<!-- NewDoc Dialog Popup -->
|
||||
<layout id="dialog-newdoc">
|
||||
<border positioning="absolute" position="0 0" color=".4 .4 .4 .8" width="100%" height="100%" align="center" justify="center">
|
||||
<border positioning="absolute" position="0 0" color=".4 .4 .4 .8" width="100%" height="100%" align="center" justify="center" mouse-capture="true">
|
||||
<border thickness="1" border-color=".2" pad="3">
|
||||
<border width="500" height="30" color=".2 .2 .2 .9" dir="row" align="center" justify="center">
|
||||
<text text="Create New Pano Project" font-face="arial" font-size="11"></text>
|
||||
@@ -578,7 +578,7 @@
|
||||
|
||||
<!--settings window-->
|
||||
<layout id="settings">
|
||||
<border positioning="absolute" position="0 0" color=".4 .4 .4 .8" width="100%" height="100%" align="center" justify="center">
|
||||
<border positioning="absolute" position="0 0" color=".4 .4 .4 .8" width="100%" height="100%" align="center" justify="center" mouse-capture="true">
|
||||
<border thickness="1" border-color=".2" pad="3" width="80%" min-width="400">
|
||||
<border width="100%" height="30" color=".2 .2 .2 .9" dir="row" align="center" justify="center">
|
||||
<text text="Global Settings" font-face="arial" font-size="11"></text>
|
||||
@@ -616,7 +616,7 @@
|
||||
|
||||
<!--About window-->
|
||||
<layout id="about">
|
||||
<border positioning="absolute" position="0 0" color=".4 .4 .4 .8" width="100%" height="100%" align="center" justify="center">
|
||||
<border positioning="absolute" position="0 0" color=".4 .4 .4 .8" width="100%" height="100%" align="center" justify="center" mouse-capture="1">
|
||||
<border thickness="1" border-color=".2" pad="3" max-width="650">
|
||||
<border width="100%" height="30" color=".2 .2 .2 .9" dir="row" align="center" justify="center">
|
||||
<text text="About PanoPainter" font-face="arial" font-size="11"></text>
|
||||
@@ -677,7 +677,7 @@ Roboto Font License:
|
||||
|
||||
<!--Changelog window-->
|
||||
<layout id="changelog">
|
||||
<border positioning="absolute" position="0 0" color=".4 .4 .4 .8" width="100%" height="100%" align="center" justify="center">
|
||||
<border positioning="absolute" position="0 0" color=".4 .4 .4 .8" width="100%" height="100%" align="center" justify="center" mouse-capture="true">
|
||||
<border thickness="1" border-color=".2" pad="3" max-width="650">
|
||||
<border width="100%" height="30" color=".2 .2 .2 .9" dir="row" align="center" justify="center">
|
||||
<text text="What's new in PanoPainter" font-face="arial" font-size="11"></text>
|
||||
@@ -753,7 +753,7 @@ Here's a list of what's available in this release.
|
||||
|
||||
<!--UserManual window-->
|
||||
<layout id="usermanual">
|
||||
<border positioning="absolute" position="0 0" color=".4 .4 .4 .8" width="100%" height="100%" align="center" justify="center">
|
||||
<border positioning="absolute" position="0 0" color=".4 .4 .4 .8" width="100%" height="100%" align="center" justify="center" mouse-capture="true">
|
||||
<border thickness="1" border-color=".2" pad="3" max-width="650">
|
||||
<border width="100%" height="30" color=".2 .2 .2 .9" dir="row" align="center" justify="center">
|
||||
<text text="PanoPainter User Manual" font-face="arial" font-size="11"></text>
|
||||
@@ -996,7 +996,7 @@ Here's a list of what's available in this release.
|
||||
<node dir="col" wrap="0" width="100%" height="100%" pad="0">
|
||||
<!-- content panel -->
|
||||
<!-- menu bar -->
|
||||
<border flood-events="1" margin="0 0 0 0" pad="0 0 0 0" color=".1" width="100%" height="30" dir="row" align="center">
|
||||
<border flood-events="1" margin="0 0 0 0" pad="0 0 0 0" color=".1" width="100%" height="30" dir="row" align="center" mouse-capture="true">
|
||||
<!--
|
||||
<button-custom id="menu-file" height="100%" margin="0 0 0 0" justify="center" align="center" pad="8" color=".1">
|
||||
<text text="File" font-face="arial" font-size="11"/>
|
||||
@@ -1019,7 +1019,7 @@ Here's a list of what's available in this release.
|
||||
</node>
|
||||
</border>
|
||||
<!-- toolbar -->
|
||||
<border id="toolbar" height="60" width="100%" pad="5" dir="row" color=".2 .2 .2 .6">
|
||||
<border id="toolbar" height="60" width="100%" pad="5" dir="row" color=".2 .2 .2 .6" mouse-capture="true">
|
||||
<!--
|
||||
<button id="btn-open" width="50" height="100%" margin="0 5 0 0" text="Open"/>
|
||||
<button id="btn-save" width="50" height="100%" margin="0 5 0 0" text="Save"/>
|
||||
@@ -1093,7 +1093,7 @@ Here's a list of what's available in this release.
|
||||
</border>
|
||||
<!-- central row -->
|
||||
<node grow="1" dir="row" wrap="1" height="0" id="central-row">
|
||||
<border width="60" color=".2 .2 .2 .6" margin="0 0 0 0" dir="col" pad="4" flood-events="1" justify="center">
|
||||
<border width="60" color=".2 .2 .2 .6" margin="0 0 0 0" dir="col" pad="4" flood-events="1" justify="center" mouse-capture="true">
|
||||
<!--panel togglers-->
|
||||
<button-custom id="btn-stroke" width="50" height="50" margin="0 0 5 0" thickness="1" border-color=".1" pad="2">
|
||||
<image path="data/ui/stroke.png" width="100%" height="100%" align="center" justify="flex-end"/>
|
||||
|
||||
Reference in New Issue
Block a user