Commit 5007d6b0 authored by Arnaud Bonatti's avatar Arnaud Bonatti

Initial commit. Hope all will work.

parents
Arnaud Bonatti <arnaud.bonatti@gmail.com>
This diff is collapsed.
numbers/*
* author: Arnaud Bonatti
* part of the program, same licence
cats/1-Jasmina.jpg :
* author: Ruskis on Wikimedia Commons
"origin" : https://commons.wikimedia.org/wiki/File:Jasmina.JPG
"licence" : Creative Commons Attribution-Share Alike 3.0 Unported
** summary: https://creativecommons.org/licenses/by-sa/3.0/deed.en
** complete: https://creativecommons.org/licenses/by-sa/3.0/legalcode
* changes: cropped
cats/1-kitten.jpg
* author: Ola Einang from Oslo, Norway (olaeinang on Flickr)
"origin" : https://commons.wikimedia.org/wiki/File:Kitten4.jpg
"licence" : Creative Commons Attribution-Share Alike 2.0 Generic
** summary: https://creativecommons.org/licenses/by-sa/2.0/deed.en
** complete: https://creativecommons.org/licenses/by-sa/2.0/legalcode
* changes: cropped
cats/1-march.jpg
* author: Alvesgaspar on Wikimedia Commons
"origin" : https://commons.wikimedia.org/wiki/File:Cat_March_2010-1.jpg
"licence" : Creative Commons Attribution-Share Alike 3.0 Unported
** summary: https://creativecommons.org/licenses/by-sa/3.0/deed.en
** complete: https://creativecommons.org/licenses/by-sa/3.0/legalcode
* changes: cropped
cats/1-olhos.jpg
* author: Mark J. Sebastian (markjsebastian on Flickr)
"origin" : https://commons.wikimedia.org/wiki/File:Olhos_de_um_gato.jpg
"licence" : Creative Commons Attribution-Share Alike 2.0 Generic
** summary: https://creativecommons.org/licenses/by-sa/2.0/deed.en
** complete: https://creativecommons.org/licenses/by-sa/2.0/legalcode
* changes: cropped
cats/1-maine.jpg
* author: Mueller-rech.muenchen on Wikimedia Commons
"origin" : https://commons.wikimedia.org/wiki/File:Old_Maine_Coon.JPG
"licence" : Creative Commons Attribution-Share Alike 3.0 Unported
** summary: https://creativecommons.org/licenses/by-sa/3.0/deed.en
** complete: https://creativecommons.org/licenses/by-sa/3.0/legalcode
* changes: cropped
SUBDIRS = data help po src
MAINTAINERCLEANFILES = \
$(GITIGNORE_MAINTAINERCLEANFILES_TOPLEVEL) \
$(GITIGNORE_MAINTAINERCLEANFILES_MAKEFILE_IN)
-include $(top_srcdir)/git.mk
#!/bin/sh
# Run this to generate all the initial makefiles, etc.
which gnome-autogen.sh || {
echo "You need to install gnome-common from GNOME git (or from"
echo "your OS vendor's package manager)."
exit 1
}
REQUIRED_AUTOMAKE_VERSION=1.9
REQUIRED_YELP_TOOLS_VERSION=3.1.1
REQUIRED_GETTEXT_VERSION=0.12
REQUIRED_INTLTOOL_VERSION=0.40.4
. gnome-autogen.sh
AC_PREREQ([2.63])
AC_INIT([Taquin], [3.15.0], [https://bugzilla.gnome.org/],
[gnome-taquin], [https://wiki.gnome.org/Apps/Taquin])
AM_INIT_AUTOMAKE([1.11 no-dist-gzip dist-xz foreign])
AM_SILENT_RULES([yes])
AM_MAINTAINER_MODE
GNOME_MAINTAINER_MODE_DEFINES
AM_PROG_VALAC([0.24])
AM_PROG_CC_C_O
GLIB_GSETTINGS
dnl ###########################################################################
dnl Dependencies
dnl ###########################################################################
GLIB_REQUIRED=2.40.0
GTK_REQUIRED=3.15.0
RSVG_REQUIRED=2.32.0
PKG_CHECK_MODULES(GNOME_TAQUIN, [
glib-2.0 >= $GLIB_REQUIRED
gtk+-3.0 >= $GTK_REQUIRED
librsvg-2.0 >= $RSVG_REQUIRED
])
AC_PATH_PROG([APPDATA_VALIDATE], [appdata-validate], [/bin/true])
AC_PATH_PROG([DESKTOP_FILE_VALIDATE], [desktop-file-validate], [/bin/true])
dnl ###########################################################################
dnl GResources
dnl ###########################################################################
AC_PATH_PROG(GLIB_COMPILE_RESOURCES, glib-compile-resources)
dnl ###########################################################################
dnl Internationalization
dnl ###########################################################################
IT_PROG_INTLTOOL([0.50])
AC_SUBST(GETTEXT_PACKAGE, gnome-taquin)
dnl ###########################################################################
dnl Documentation
dnl ###########################################################################
YELP_HELP_INIT
dnl ###########################################################################
dnl Files to generate
dnl ###########################################################################
AC_CONFIG_FILES([
Makefile
po/Makefile.in
data/Makefile
data/icons/Makefile
data/icons/hicolor/Makefile
data/icons/HighContrast/Makefile
data/themes/Makefile
help/Makefile
src/Makefile
])
AC_OUTPUT
SUBDIRS = \
icons \
themes
dist_noinst_DATA = \
taquin-menus.ui \
taquin.ui \
taquin.css \
schema-15.png \
schema-16.png
desktopdir = $(datadir)/applications
desktop_in_files = gnome-taquin.desktop.in
desktop_DATA = $(desktop_in_files:.desktop.in=.desktop)
@INTLTOOL_DESKTOP_RULE@
appdatadir = $(datadir)/appdata
appdata_in_files = gnome-taquin.appdata.xml.in
appdata_DATA = $(appdata_in_files:.xml.in=.xml)
@INTLTOOL_XML_RULE@
gsettings_SCHEMAS = org.gnome.taquin.gschema.xml
@GSETTINGS_RULES@
man_MANS = gnome-taquin.6
EXTRA_DIST = \
$(appdata_in_files) \
$(desktop_in_files) \
$(gsettings_SCHEMAS) \
$(man_MANS)
CLEANFILES = \
$(appdata_DATA) \
$(desktop_DATA)
check-local: $(appdata_DATA) $(desktop_DATA)
$(APPDATA_VALIDATE) $(appdata_DATA)
$(DESKTOP_FILE_VALIDATE) $(desktop_DATA)
-include $(top_srcdir)/git.mk
.\" Copyright (C) 2014 Arnaud Bonatti <arnaud.bonatti@gmail.com>
.\"
.\" This file is part of Taquin.
.\"
.\" Taquin is free software: you can redistribute it and/or modify
.\" it under the terms of the GNU General Public License as published by
.\" the Free Software Foundation, either version 3 of the License, or
.\" (at your option) any later version.
.\"
.\" Taquin is distributed in the hope that it will be useful,
.\" but WITHOUT ANY WARRANTY; without even the implied warranty of
.\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
.\" GNU General Public License for more details.
.\"
.\" You should have received a copy of the GNU General Public License
.\" along with Taquin. If not, see <http://www.gnu.org/licenses/>.
.TH TAQUIN 6 "2014\-09\-05" "GNOME"
.SH NAME
Taquin \- A sliding puzzle game for GNOME.
.SH SYNOPSIS
.B gnome-taquin
.RI [ OPTION... ]
.SH DESCRIPTION
Taquin is a computer version of the 15-puzzle and other sliding puzzles.
.br
The object of Taquin is to move tiles so that they reach their places,
.br
either indicated with numbers, or with parts of a great image.
.SH OPTIONS
.TP
.B \-h, \-\-help
Prints the command line options and exits.
.PP
.B \-\-fifteen
.br
.B \-\-sixteen
.RS 7
Sets the puzzle game launched.
.br
The option --fifteen is for a classical 15-Puzzle, whereas
the --sixteen option is for a more contemporary puzzle.
.br
You should only use one of these options at the same time.
.RE
.TP
.B \-s, \-\-size=<size>
Sets the puzzle edges' size.
.br
It accepts value from 2 to 9; 2 is for debug only.
.TP
.B \-v, \-\-version
Prints the program version and exits.
.P
This program also accepts the standard GTK+ options.
.SH AUTHORS
.B Taquin
was written by Arnaud Bonatti.
.P
This manual page was written by Arnaud Bonatti <arnaud.bonatti@gmail.com>,
for the GNOME project.
<?xml version="1.0" encoding="UTF-8"?>
<!-- Copyright 2014 Arnaud Bonatti and contributors -->
<application>
<id type="desktop">gnome-taquin.desktop</id>
<metadata_license>CC0-1.0</metadata_license>
<project_license>GPL-3.0+, CC-By-SA-2.0 and CC-BY-SA-3.0</project_license>
<description>
<_p>
Taquin is a computer version of the 15-puzzle and other sliding puzzles.
</_p>
<_p>
The object of Taquin is to move tiles so that they reach their places,
either indicated with numbers, or with parts of a great image.
</_p>
</description>
<!-- <screenshots>
<screenshot type="default" width="748" height="398"></screenshot>
</screenshots> -->
<url type="homepage">https://wiki.gnome.org/Apps/Taquin</url>
<updatecontact>games-list_at_gnome.org</updatecontact>
<project_group>GNOME</project_group>
</application>
[Desktop Entry]
Icon=gnome-taquin
_Name=Taquin
_Comment=Slide tiles on their correct place.
_Keywords=puzzle;
Exec=gnome-taquin
Terminal=false
Type=Application
Categories=GNOME;GTK;Game;
StartupNotify=true
Actions=Fifteen;Sixteen;
[Desktop Action Fifteen]
_Name=15-Puzzle with hole
Exec=gnome-taquin --fifteen
[Desktop Action Sixteen]
_Name=Puzzle with arrays
Exec=gnome-taquin --sixteen
icon16dir=$(datadir)/icons/HighContrast/16x16/apps
icon22dir=$(datadir)/icons/HighContrast/22x22/apps
icon24dir=$(datadir)/icons/HighContrast/24x24/apps
icon32dir=$(datadir)/icons/HighContrast/32x32/apps
icon48dir=$(datadir)/icons/HighContrast/48x48/apps
icon256dir=$(datadir)/icons/HighContrast/256x256/apps
dist_icon16_DATA = 16x16/gnome-taquin.png
dist_icon22_DATA = 22x22/gnome-taquin.png
dist_icon24_DATA = 24x24/gnome-taquin.png
dist_icon32_DATA = 32x32/gnome-taquin.png
dist_icon48_DATA = 48x48/gnome-taquin.png
dist_icon256_DATA = 256x256/gnome-taquin.png
-include $(top_srcdir)/git.mk
SUBDIRS = hicolor HighContrast
-include $(top_srcdir)/git.mk
icon16dir=$(datadir)/icons/hicolor/16x16/apps
icon22dir=$(datadir)/icons/hicolor/22x22/apps
icon24dir=$(datadir)/icons/hicolor/24x24/apps
icon32dir=$(datadir)/icons/hicolor/32x32/apps
icon48dir=$(datadir)/icons/hicolor/48x48/apps
icon256dir=$(datadir)/icons/hicolor/256x256/apps
icon16_DATA = 16x16/gnome-taquin.png
icon22_DATA = 22x22/gnome-taquin.png
icon24_DATA = 24x24/gnome-taquin.png
icon32_DATA = 32x32/gnome-taquin.png
icon48_DATA = 48x48/gnome-taquin.png
icon256_DATA = 256x256/gnome-taquin.png
EXTRA_DIST = $(icon16_DATA) $(icon22_DATA) $(icon24_DATA) $(icon32_DATA) $(icon48_DATA) $(icon256_DATA) $(iconscalable_DATA)
-include $(top_srcdir)/git.mk
<schemalist>
<enum id="org.gnome.taquin.GameType">
<value value="0" nick="fifteen"/>
<value value="1" nick="sixteen"/>
</enum>
<schema id="org.gnome.taquin" path="/org/gnome/taquin/" gettext-domain="taquin">
<key name="type" enum="org.gnome.taquin.GameType">
<default>'fifteen'</default>
</key>
<key name="theme" type="s">
<default>'cats'</default>
<summary>Name of the theme folder.</summary>
<description>Taquin has two default themes: 'cats' and 'numbers'.</description>
</key>
<key name="size" type="i">
<default>4</default>
<range min="2" max="9"/>
<summary>Number of tiles on each edge.</summary>
<description>The game is tested and offers to select a size from 3 to 5. There is a human-understandable maximum value to avoid some bugs. Maximum size is 9 as the image files are randomly selected depending on the first character of their filename.</description>
</key>
<key name="window-width" type="i">
<default>540</default>
<summary>Width of the window in pixels.</summary>
</key>
<key name="window-height" type="i">
<default>500</default>
<summary>Height of the window in pixels.</summary>
</key>
<key name="window-is-maximized" type="b">
<default>false</default>
<summary>true if the window is maximized.</summary>
</key>
</schema>
</schemalist>
This diff is collapsed.
<?xml version="1.0" encoding="UTF-8"?>
<interface>
<requires lib="gtk+" version="3.12"/>
<menu id="app-menu">
<section>
<item>
<attribute name="label" translatable="yes">_Help</attribute>
<attribute name="action">app.help</attribute>
</item>
<item>
<attribute name="label" translatable="yes">_About</attribute>
<attribute name="action">app.about</attribute>
</item>
<item>
<attribute name="label" translatable="yes">_Quit</attribute>
<attribute name="action">app.quit</attribute>
</item>
</section>
</menu>
</interface>
GtkApplicationWindow GtkRadioButton {
-GtkButton-image-spacing:0;
-GtkCheckButton-indicator-size:0;
-gtk-icon-source:none;
padding-top:15px;
border-radius:15px;
}
GtkApplicationWindow GtkRadioButton:checked {
background-color:shade(#ededed, 0.85);
}
GtkApplicationWindow GtkMenuButton:hover,
GtkApplicationWindow GtkMenuButton:checked {
background:-gtk-gradient (radial, center center, 0, center center, 0.5, from(white), to(#e8e8e8));
}
GtkApplicationWindow GtkMenuButton:hover:backdrop,
GtkApplicationWindow GtkMenuButton:checked:backdrop {
background:-gtk-gradient (radial, center center, 0, center center, 0.5, from(white), to(@theme_bg_color));
}
GtkApplicationWindow GtkMenuButton:hover,
GtkApplicationWindow GtkMenuButton:checked,
GtkApplicationWindow GtkRadioButton:checked {
color:shade(#2e3436, 0.85);
}
GtkApplicationWindow GtkMenuButton:hover:backdrop,
GtkApplicationWindow GtkMenuButton:checked:backdrop,
GtkApplicationWindow GtkRadioButton:checked:backdrop {
color:@theme_unfocused_fg_color;
}
This diff is collapsed.
numbersdir=$(datadir)/gnome-taquin/themes/numbers
numbers_DATA = \
numbers/3-numbers.png \
numbers/4-numbers.png \
numbers/5-numbers.png
catsdir=$(datadir)/gnome-taquin/themes/cats
cats_DATA = \
cats/1-Jasmina.jpg \
cats/1-kitten.jpg \
cats/1-maine.jpg \
cats/1-march.jpg \
cats/1-olhos.jpg
EXTRA_DIST = $(numbers_DATA) $(cats_DATA)
-include $(top_srcdir)/git.mk
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
width="100"
height="100"
id="svg2"
version="1.1"
inkscape:version="0.48.5 r10040"
sodipodi:docname="03-numbers.svg"
inkscape:export-filename="/mnt/windows/Tmp-Arnaud/jhbuild/jhbuild/taquin/data/themes/numbers/3-numbers.png"
inkscape:export-xdpi="576"
inkscape:export-ydpi="576">
<defs
id="defs4" />
<sodipodi:namedview
id="base"
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1.0"
inkscape:pageopacity="0.0"
inkscape:pageshadow="2"
inkscape:zoom="3.959798"
inkscape:cx="58.763946"
inkscape:cy="45.863618"
inkscape:document-units="px"
inkscape:current-layer="layer1"
showgrid="true"
objecttolerance="1"
inkscape:window-width="1440"
inkscape:window-height="834"
inkscape:window-x="0"
inkscape:window-y="27"
inkscape:window-maximized="1">
<inkscape:grid
type="xygrid"
id="grid2985"
empspacing="5"
visible="true"
enabled="true"
snapvisiblegridlinesonly="false" />
</sodipodi:namedview>
<metadata
id="metadata7">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<dc:title></dc:title>
</cc:Work>
</rdf:RDF>
</metadata>
<g
inkscape:label="Calque 1"
inkscape:groupmode="layer"
id="layer1"
transform="translate(0,-952.36218)">
<text
xml:space="preserve"
style="font-size:27.99990654px;font-style:italic;font-variant:normal;font-weight:bold;font-stretch:normal;line-height:120.00000477%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:URW Chancery L;-inkscape-font-specification:URW Chancery L Bold Italic"
x="11.068049"
y="976.65491"
id="text2987"
sodipodi:linespacing="120%"
transform="scale(0.99999665,1.0000033)"><tspan
sodipodi:role="line"
id="tspan2989"
x="11.068049"
y="976.65491">1 2 3</tspan><tspan
sodipodi:role="line"
x="11.068049"
y="1010.2548"
id="tspan2991">4 5 6</tspan><tspan
sodipodi:role="line"
x="11.068049"
y="1043.8546"
id="tspan2993">7 8 9</tspan></text>
</g>
</svg>
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
width="100"
height="100"
id="svg2"
version="1.1"
inkscape:version="0.48.5 r10040"
sodipodi:docname="04-numbers.svg"
inkscape:export-filename="/mnt/windows/Tmp-Arnaud/jhbuild/jhbuild/taquin/data/themes/numbers/4-numbers.png"
inkscape:export-xdpi="576.21002"
inkscape:export-ydpi="576.21002">
<defs
id="defs4" />
<sodipodi:namedview
id="base"
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1.0"
inkscape:pageopacity="0.0"
inkscape:pageshadow="2"
inkscape:zoom="3.959798"
inkscape:cx="95.298335"
inkscape:cy="62.78929"
inkscape:document-units="px"
inkscape:current-layer="layer1"
showgrid="true"
objecttolerance="1"
inkscape:window-width="1440"
inkscape:window-height="834"
inkscape:window-x="0"
inkscape:window-y="27"
inkscape:window-maximized="1">
<inkscape:grid
type="xygrid"
id="grid2985"
empspacing="5"
visible="true"
enabled="true"
snapvisiblegridlinesonly="false" />
</sodipodi:namedview>
<metadata
id="metadata7">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<dc:title></dc:title>
</cc:Work>
</rdf:RDF>
</metadata>
<g
inkscape:label="Calque 1"
inkscape:groupmode="layer"
id="layer1"
transform="translate(0,-952.36218)">
<text
xml:space="preserve"
style="font-size:19px;font-style:normal;font-weight:normal;line-height:129.99999523%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Sans"
x="3"
y="970.78717"
id="text2988"
sodipodi:linespacing="130%"><tspan
sodipodi:role="line"
id="tspan2990"
x="3"
y="970.78717"
style="font-size:19px;font-style:italic;font-variant:normal;font-weight:bold;font-stretch:normal;line-height:129.99999523%;font-family:URW Chancery L;-inkscape-font-specification:URW Chancery L Bold Italic"> 1 2 3 4</tspan><tspan
sodipodi:role="line"
x="3"
y="995.48712"
id="tspan2992"
style="font-size:19px;font-style:italic;font-variant:normal;font-weight:bold;font-stretch:normal;line-height:129.99999523%;font-family:URW Chancery L;-inkscape-font-specification:URW Chancery L Bold Italic"> 5 6 7 8</tspan><tspan
sodipodi:role="line"
x="3"
y="1020.1872"
id="tspan2994"
style="font-size:19px;font-style:italic;font-variant:normal;font-weight:bold;font-stretch:normal;line-height:129.99999523%;font-family:URW Chancery L;-inkscape-font-specification:URW Chancery L Bold Italic"> 9 10 11 12</tspan><tspan
sodipodi:role="line"
x="3"
y="1044.8872"
id="tspan2996"
style="font-size:19px;font-style:italic;font-variant:normal;font-weight:bold;font-stretch:normal;line-height:129.99999523%;font-family:URW Chancery L;-inkscape-font-specification:URW Chancery L Bold Italic">13 14 15 16</tspan></text>
</g>
</svg>
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
width="100"
height="100"
id="svg2"
version="1.1"
inkscape:version="0.48.5 r10040"
sodipodi:docname="05-numbers.svg"
inkscape:export-filename="/mnt/windows/Tmp-Arnaud/jhbuild/jhbuild/taquin/data/themes/numbers/5-numbers.png"
inkscape:export-xdpi="576"
inkscape:export-ydpi="576">
<defs
id="defs4" />
<sodipodi:namedview
id="base"
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1.0"
inkscape:pageopacity="0.0"
inkscape:pageshadow="2"
inkscape:zoom="3.959798"
inkscape:cx="50.749962"
inkscape:cy="42.555763"
inkscape:document-units="px"
inkscape:current-layer="layer1"
showgrid="true"
objecttolerance="1"
inkscape:window-width="1440"
inkscape:window-height="834"
inkscape:window-x="0"
inkscape:window-y="27"
inkscape:window-maximized="1">
<inkscape:grid
type="xygrid"
id="grid2985"
empspacing="5"
visible="true"
enabled="true"
snapvisiblegridlinesonly="false" />
</sodipodi:namedview>
<metadata
id="metadata7">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<dc:title></dc:title>
</cc:Work>
</rdf:RDF>
</metadata>
<g
inkscape:label="Calque 1"
inkscape:groupmode="layer"