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:
mallum
2005-02-08 12:18:05 +00:00
parent 028708167e
commit c373560111
4 changed files with 16 additions and 7 deletions

View File

@@ -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=$!

View File

@@ -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" />

View File

@@ -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))

View File

@@ -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=