mirror of
https://git.yoctoproject.org/matchbox-tests
synced 2025-11-04 04:56:03 +08:00
Added custom no grab button to test theme
git-svn-id: https://svn.o-hand.com/repos/matchbox/trunk/matchbox-tests@1059 b067294f-1dea-0310-9683-c47a78595994
This commit is contained in:
@@ -22,7 +22,7 @@ rm -f ~/.matchbox/mbdock.session*123457
|
||||
|
||||
## panel in titlebar
|
||||
|
||||
$VALGRIND matchbox-panel --id 123457 --titlebar &
|
||||
matchbox-panel --id 123457 --titlebar &
|
||||
TITLEDOCKPID=$!
|
||||
|
||||
SYSTEM_TRAY_ID=123457 mb-applet-clock &
|
||||
@@ -30,7 +30,7 @@ TITLEAPPPID=$!
|
||||
|
||||
## now each standard panel
|
||||
|
||||
$VALGRIND matchbox-panel --id 123456 &
|
||||
matchbox-panel --id 123456 &
|
||||
DOCKPID=$!
|
||||
|
||||
sleep 5
|
||||
@@ -50,7 +50,7 @@ sleep 5
|
||||
kill $DOCKPID
|
||||
|
||||
# relaunch at top with session
|
||||
$VALGRIND matchbox-panel --orientation north --size 40 --id 123456 &
|
||||
matchbox-panel --orientation north --size 40 --id 123456 &
|
||||
|
||||
DOCKPID=$!
|
||||
|
||||
@@ -69,7 +69,7 @@ kill $DOCKPID
|
||||
## east panel
|
||||
|
||||
# relaunch at top with session
|
||||
$VALGRIND matchbox-panel --orientation east --size 60 --id 123456 &
|
||||
matchbox-panel --orientation east --size 60 --id 123456 &
|
||||
|
||||
DOCKPID=$!
|
||||
|
||||
|
||||
@@ -65,7 +65,7 @@
|
||||
type="gradient-horiz" startcol="black" endcol="red"/>
|
||||
|
||||
|
||||
<layer x="14" y="1" w="100%-60" h="20"
|
||||
<layer x="14" y="1" w="100%-80" h="20"
|
||||
type="label" color="black" justify="left" font="titlefont" />
|
||||
|
||||
|
||||
@@ -87,6 +87,11 @@
|
||||
<inactive pixmap="prev" />
|
||||
</button>
|
||||
|
||||
<button x="-70" y="0" w="8" h="16" action="custom" options="pressonly">
|
||||
<active pixmap="prev" blend="-80" />
|
||||
<inactive pixmap="prev" />
|
||||
</button>
|
||||
|
||||
<button x="-13" y="0" w="9" h="16" action="close" >
|
||||
<active pixmap="close" blend="-80"/>
|
||||
<inactive pixmap="close" />
|
||||
|
||||
@@ -77,6 +77,10 @@ echo; echo "$count. Fullscreen window with no-title dialog"; waitamo
|
||||
./winspew -t "Window",normal,,fullscreen -c "Dialog",300x200,no_title >> $LOG &
|
||||
TEST=$!; waitamo; kill $TEST; wait; count=$((count+1))
|
||||
|
||||
echo; echo "$count. Modal, transient for root dialog"; waitamo
|
||||
./winspew -t "Window",dialog,,modal >> $LOG &
|
||||
TEST=$!; waitamo; kill $TEST; wait; count=$((count+1))
|
||||
|
||||
echo; echo "$count. Normal window"; waitamo
|
||||
./winspew -t "Window",normal >> $LOG &
|
||||
TEST=$!; waitamo; kill $TEST; wait; count=$((count+1))
|
||||
|
||||
@@ -7,10 +7,10 @@ THEME=mbtest
|
||||
XNEST_GEOM=640x480
|
||||
|
||||
# Use valgrind y/n ?
|
||||
VALGRIND_USAGE=n
|
||||
VALGRIND_USAGE=y
|
||||
|
||||
# Optional Valgrind arguments.
|
||||
VALGRIND_ARGS="--error-limit=no --num-callers=32 --leak-check=yes"
|
||||
VALGRIND_ARGS="--error-limit=no --num-callers=32 --leak-check=yes --log-file=mbval"
|
||||
|
||||
# Matchbox arguments
|
||||
MATCHBOX_ARGS=
|
||||
|
||||
Reference in New Issue
Block a user