diff options
author | William Jon McCann <jmccann@redhat.com> | 2010-10-13 20:39:15 -0400 |
---|---|---|
committer | William Jon McCann <jmccann@redhat.com> | 2010-10-13 20:47:23 -0400 |
commit | e471b4d2fec8bf53d6ac7e533e774d0fc9bfc83e (patch) | |
tree | 44f68f1fdfee413b94dc251b5d8e8f420e7a771f | |
download | gnome-themes-standard-e471b4d2fec8bf53d6ac7e533e774d0fc9bfc83e.tar.gz |
Initial commit
Adwaita theme was originally developed in gtk-engines 2.90 and
created by Hylke Bons, Lapo Calamandrei, and Jakub Steiner
-rw-r--r-- | COPYING | 510 | ||||
-rw-r--r-- | ChangeLog | 0 | ||||
-rw-r--r-- | Makefile.am | 18 | ||||
-rw-r--r-- | NEWS | 0 | ||||
-rwxr-xr-x | autogen.sh | 21 | ||||
-rw-r--r-- | configure.ac | 22 | ||||
-rw-r--r-- | git.mk | 187 | ||||
-rw-r--r-- | gnome-themes-standard.doap | 29 | ||||
-rw-r--r-- | themes/Adwaita/Makefile.am | 4 | ||||
-rw-r--r-- | themes/Adwaita/gtk-2.0/gtkrc | 434 | ||||
-rw-r--r-- | themes/Adwaita/gtk-3.0/Makefile.am | 8 | ||||
-rw-r--r-- | themes/Adwaita/gtk-3.0/gtkrc | 578 | ||||
-rw-r--r-- | themes/Adwaita/metacity-1/Makefile.am | 8 | ||||
-rw-r--r-- | themes/Adwaita/metacity-1/metacity-theme-2.xml | 967 | ||||
-rw-r--r-- | themes/Makefile.am | 4 |
15 files changed, 2790 insertions, 0 deletions
diff --git a/COPYING b/COPYING new file mode 100644 index 00000000..2d2d780e --- /dev/null +++ b/COPYING @@ -0,0 +1,510 @@ + + GNU LESSER GENERAL PUBLIC LICENSE + Version 2.1, February 1999 + + Copyright (C) 1991, 1999 Free Software Foundation, Inc. + 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + +[This is the first released version of the Lesser GPL. It also counts + as the successor of the GNU Library Public License, version 2, hence + the version number 2.1.] + + Preamble + + The licenses for most software are designed to take away your +freedom to share and change it. By contrast, the GNU General Public +Licenses are intended to guarantee your freedom to share and change +free software--to make sure the software is free for all its users. + + This license, the Lesser General Public License, applies to some +specially designated software packages--typically libraries--of the +Free Software Foundation and other authors who decide to use it. You +can use it too, but we suggest you first think carefully about whether +this license or the ordinary General Public License is the better +strategy to use in any particular case, based on the explanations +below. + + When we speak of free software, we are referring to freedom of use, +not price. Our General Public Licenses are designed to make sure that +you have the freedom to distribute copies of free software (and charge +for this service if you wish); that you receive source code or can get +it if you want it; that you can change the software and use pieces of +it in new free programs; and that you are informed that you can do +these things. + + To protect your rights, we need to make restrictions that forbid +distributors to deny you these rights or to ask you to surrender these +rights. These restrictions translate to certain responsibilities for +you if you distribute copies of the library or if you modify it. + + For example, if you distribute copies of the library, whether gratis +or for a fee, you must give the recipients all the rights that we gave +you. You must make sure that they, too, receive or can get the source +code. If you link other code with the library, you must provide +complete object files to the recipients, so that they can relink them +with the library after making changes to the library and recompiling +it. And you must show them these terms so they know their rights. + + We protect your rights with a two-step method: (1) we copyright the +library, and (2) we offer you this license, which gives you legal +permission to copy, distribute and/or modify the library. + + To protect each distributor, we want to make it very clear that +there is no warranty for the free library. Also, if the library is +modified by someone else and passed on, the recipients should know +that what they have is not the original version, so that the original +author's reputation will not be affected by problems that might be +introduced by others. + + Finally, software patents pose a constant threat to the existence of +any free program. We wish to make sure that a company cannot +effectively restrict the users of a free program by obtaining a +restrictive license from a patent holder. Therefore, we insist that +any patent license obtained for a version of the library must be +consistent with the full freedom of use specified in this license. + + Most GNU software, including some libraries, is covered by the +ordinary GNU General Public License. This license, the GNU Lesser +General Public License, applies to certain designated libraries, and +is quite different from the ordinary General Public License. We use +this license for certain libraries in order to permit linking those +libraries into non-free programs. + + When a program is linked with a library, whether statically or using +a shared library, the combination of the two is legally speaking a +combined work, a derivative of the original library. The ordinary +General Public License therefore permits such linking only if the +entire combination fits its criteria of freedom. The Lesser General +Public License permits more lax criteria for linking other code with +the library. + + We call this license the "Lesser" General Public License because it +does Less to protect the user's freedom than the ordinary General +Public License. It also provides other free software developers Less +of an advantage over competing non-free programs. These disadvantages +are the reason we use the ordinary General Public License for many +libraries. However, the Lesser license provides advantages in certain +special circumstances. + + For example, on rare occasions, there may be a special need to +encourage the widest possible use of a certain library, so that it +becomes a de-facto standard. To achieve this, non-free programs must +be allowed to use the library. A more frequent case is that a free +library does the same job as widely used non-free libraries. In this +case, there is little to gain by limiting the free library to free +software only, so we use the Lesser General Public License. + + In other cases, permission to use a particular library in non-free +programs enables a greater number of people to use a large body of +free software. For example, permission to use the GNU C Library in +non-free programs enables many more people to use the whole GNU +operating system, as well as its variant, the GNU/Linux operating +system. + + Although the Lesser General Public License is Less protective of the +users' freedom, it does ensure that the user of a program that is +linked with the Library has the freedom and the wherewithal to run +that program using a modified version of the Library. + + The precise terms and conditions for copying, distribution and +modification follow. Pay close attention to the difference between a +"work based on the library" and a "work that uses the library". The +former contains code derived from the library, whereas the latter must +be combined with the library in order to run. + + GNU LESSER GENERAL PUBLIC LICENSE + TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION + + 0. This License Agreement applies to any software library or other +program which contains a notice placed by the copyright holder or +other authorized party saying it may be distributed under the terms of +this Lesser General Public License (also called "this License"). +Each licensee is addressed as "you". + + A "library" means a collection of software functions and/or data +prepared so as to be conveniently linked with application programs +(which use some of those functions and data) to form executables. + + The "Library", below, refers to any such software library or work +which has been distributed under these terms. A "work based on the +Library" means either the Library or any derivative work under +copyright law: that is to say, a work containing the Library or a +portion of it, either verbatim or with modifications and/or translated +straightforwardly into another language. (Hereinafter, translation is +included without limitation in the term "modification".) + + "Source code" for a work means the preferred form of the work for +making modifications to it. For a library, complete source code means +all the source code for all modules it contains, plus any associated +interface definition files, plus the scripts used to control +compilation and installation of the library. + + Activities other than copying, distribution and modification are not +covered by this License; they are outside its scope. The act of +running a program using the Library is not restricted, and output from +such a program is covered only if its contents constitute a work based +on the Library (independent of the use of the Library in a tool for +writing it). Whether that is true depends on what the Library does +and what the program that uses the Library does. + + 1. You may copy and distribute verbatim copies of the Library's +complete source code as you receive it, in any medium, provided that +you conspicuously and appropriately publish on each copy an +appropriate copyright notice and disclaimer of warranty; keep intact +all the notices that refer to this License and to the absence of any +warranty; and distribute a copy of this License along with the +Library. + + You may charge a fee for the physical act of transferring a copy, +and you may at your option offer warranty protection in exchange for a +fee. + + 2. You may modify your copy or copies of the Library or any portion +of it, thus forming a work based on the Library, and copy and +distribute such modifications or work under the terms of Section 1 +above, provided that you also meet all of these conditions: + + a) The modified work must itself be a software library. + + b) You must cause the files modified to carry prominent notices + stating that you changed the files and the date of any change. + + c) You must cause the whole of the work to be licensed at no + charge to all third parties under the terms of this License. + + d) If a facility in the modified Library refers to a function or a + table of data to be supplied by an application program that uses + the facility, other than as an argument passed when the facility + is invoked, then you must make a good faith effort to ensure that, + in the event an application does not supply such function or + table, the facility still operates, and performs whatever part of + its purpose remains meaningful. + + (For example, a function in a library to compute square roots has + a purpose that is entirely well-defined independent of the + application. Therefore, Subsection 2d requires that any + application-supplied function or table used by this function must + be optional: if the application does not supply it, the square + root function must still compute square roots.) + +These requirements apply to the modified work as a whole. If +identifiable sections of that work are not derived from the Library, +and can be reasonably considered independent and separate works in +themselves, then this License, and its terms, do not apply to those +sections when you distribute them as separate works. But when you +distribute the same sections as part of a whole which is a work based +on the Library, the distribution of the whole must be on the terms of +this License, whose permissions for other licensees extend to the +entire whole, and thus to each and every part regardless of who wrote +it. + +Thus, it is not the intent of this section to claim rights or contest +your rights to work written entirely by you; rather, the intent is to +exercise the right to control the distribution of derivative or +collective works based on the Library. + +In addition, mere aggregation of another work not based on the Library +with the Library (or with a work based on the Library) on a volume of +a storage or distribution medium does not bring the other work under +the scope of this License. + + 3. You may opt to apply the terms of the ordinary GNU General Public +License instead of this License to a given copy of the Library. To do +this, you must alter all the notices that refer to this License, so +that they refer to the ordinary GNU General Public License, version 2, +instead of to this License. (If a newer version than version 2 of the +ordinary GNU General Public License has appeared, then you can specify +that version instead if you wish.) Do not make any other change in +these notices. + + Once this change is made in a given copy, it is irreversible for +that copy, so the ordinary GNU General Public License applies to all +subsequent copies and derivative works made from that copy. + + This option is useful when you wish to copy part of the code of +the Library into a program that is not a library. + + 4. You may copy and distribute the Library (or a portion or +derivative of it, under Section 2) in object code or executable form +under the terms of Sections 1 and 2 above provided that you accompany +it with the complete corresponding machine-readable source code, which +must be distributed under the terms of Sections 1 and 2 above on a +medium customarily used for software interchange. + + If distribution of object code is made by offering access to copy +from a designated place, then offering equivalent access to copy the +source code from the same place satisfies the requirement to +distribute the source code, even though third parties are not +compelled to copy the source along with the object code. + + 5. A program that contains no derivative of any portion of the +Library, but is designed to work with the Library by being compiled or +linked with it, is called a "work that uses the Library". Such a +work, in isolation, is not a derivative work of the Library, and +therefore falls outside the scope of this License. + + However, linking a "work that uses the Library" with the Library +creates an executable that is a derivative of the Library (because it +contains portions of the Library), rather than a "work that uses the +library". The executable is therefore covered by this License. +Section 6 states terms for distribution of such executables. + + When a "work that uses the Library" uses material from a header file +that is part of the Library, the object code for the work may be a +derivative work of the Library even though the source code is not. +Whether this is true is especially significant if the work can be +linked without the Library, or if the work is itself a library. The +threshold for this to be true is not precisely defined by law. + + If such an object file uses only numerical parameters, data +structure layouts and accessors, and small macros and small inline +functions (ten lines or less in length), then the use of the object +file is unrestricted, regardless of whether it is legally a derivative +work. (Executables containing this object code plus portions of the +Library will still fall under Section 6.) + + Otherwise, if the work is a derivative of the Library, you may +distribute the object code for the work under the terms of Section 6. +Any executables containing that work also fall under Section 6, +whether or not they are linked directly with the Library itself. + + 6. As an exception to the Sections above, you may also combine or +link a "work that uses the Library" with the Library to produce a +work containing portions of the Library, and distribute that work +under terms of your choice, provided that the terms permit +modification of the work for the customer's own use and reverse +engineering for debugging such modifications. + + You must give prominent notice with each copy of the work that the +Library is used in it and that the Library and its use are covered by +this License. You must supply a copy of this License. If the work +during execution displays copyright notices, you must include the +copyright notice for the Library among them, as well as a reference +directing the user to the copy of this License. Also, you must do one +of these things: + + a) Accompany the work with the complete corresponding + machine-readable source code for the Library including whatever + changes were used in the work (which must be distributed under + Sections 1 and 2 above); and, if the work is an executable linked + with the Library, with the complete machine-readable "work that + uses the Library", as object code and/or source code, so that the + user can modify the Library and then relink to produce a modified + executable containing the modified Library. (It is understood + that the user who changes the contents of definitions files in the + Library will not necessarily be able to recompile the application + to use the modified definitions.) + + b) Use a suitable shared library mechanism for linking with the + Library. A suitable mechanism is one that (1) uses at run time a + copy of the library already present on the user's computer system, + rather than copying library functions into the executable, and (2) + will operate properly with a modified version of the library, if + the user installs one, as long as the modified version is + interface-compatible with the version that the work was made with. + + c) Accompany the work with a written offer, valid for at least + three years, to give the same user the materials specified in + Subsection 6a, above, for a charge no more than the cost of + performing this distribution. + + d) If distribution of the work is made by offering access to copy + from a designated place, offer equivalent access to copy the above + specified materials from the same place. + + e) Verify that the user has already received a copy of these + materials or that you have already sent this user a copy. + + For an executable, the required form of the "work that uses the +Library" must include any data and utility programs needed for +reproducing the executable from it. However, as a special exception, +the materials to be distributed need not include anything that is +normally distributed (in either source or binary form) with the major +components (compiler, kernel, and so on) of the operating system on +which the executable runs, unless that component itself accompanies +the executable. + + It may happen that this requirement contradicts the license +restrictions of other proprietary libraries that do not normally +accompany the operating system. Such a contradiction means you cannot +use both them and the Library together in an executable that you +distribute. + + 7. You may place library facilities that are a work based on the +Library side-by-side in a single library together with other library +facilities not covered by this License, and distribute such a combined +library, provided that the separate distribution of the work based on +the Library and of the other library facilities is otherwise +permitted, and provided that you do these two things: + + a) Accompany the combined library with a copy of the same work + based on the Library, uncombined with any other library + facilities. This must be distributed under the terms of the + Sections above. + + b) Give prominent notice with the combined library of the fact + that part of it is a work based on the Library, and explaining + where to find the accompanying uncombined form of the same work. + + 8. You may not copy, modify, sublicense, link with, or distribute +the Library except as expressly provided under this License. Any +attempt otherwise to copy, modify, sublicense, link with, or +distribute the Library is void, and will automatically terminate your +rights under this License. However, parties who have received copies, +or rights, from you under this License will not have their licenses +terminated so long as such parties remain in full compliance. + + 9. You are not required to accept this License, since you have not +signed it. However, nothing else grants you permission to modify or +distribute the Library or its derivative works. These actions are +prohibited by law if you do not accept this License. Therefore, by +modifying or distributing the Library (or any work based on the +Library), you indicate your acceptance of this License to do so, and +all its terms and conditions for copying, distributing or modifying +the Library or works based on it. + + 10. Each time you redistribute the Library (or any work based on the +Library), the recipient automatically receives a license from the +original licensor to copy, distribute, link with or modify the Library +subject to these terms and conditions. You may not impose any further +restrictions on the recipients' exercise of the rights granted herein. +You are not responsible for enforcing compliance by third parties with +this License. + + 11. If, as a consequence of a court judgment or allegation of patent +infringement or for any other reason (not limited to patent issues), +conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot +distribute so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you +may not distribute the Library at all. For example, if a patent +license would not permit royalty-free redistribution of the Library by +all those who receive copies directly or indirectly through you, then +the only way you could satisfy both it and this License would be to +refrain entirely from distribution of the Library. + +If any portion of this section is held invalid or unenforceable under +any particular circumstance, the balance of the section is intended to +apply, and the section as a whole is intended to apply in other +circumstances. + +It is not the purpose of this section to induce you to infringe any +patents or other property right claims or to contest validity of any +such claims; this section has the sole purpose of protecting the +integrity of the free software distribution system which is +implemented by public license practices. Many people have made +generous contributions to the wide range of software distributed +through that system in reliance on consistent application of that +system; it is up to the author/donor to decide if he or she is willing +to distribute software through any other system and a licensee cannot +impose that choice. + +This section is intended to make thoroughly clear what is believed to +be a consequence of the rest of this License. + + 12. If the distribution and/or use of the Library is restricted in +certain countries either by patents or by copyrighted interfaces, the +original copyright holder who places the Library under this License +may add an explicit geographical distribution limitation excluding those +countries, so that distribution is permitted only in or among +countries not thus excluded. In such case, this License incorporates +the limitation as if written in the body of this License. + + 13. The Free Software Foundation may publish revised and/or new +versions of the Lesser General Public License from time to time. +Such new versions will be similar in spirit to the present version, +but may differ in detail to address new problems or concerns. + +Each version is given a distinguishing version number. If the Library +specifies a version number of this License which applies to it and +"any later version", you have the option of following the terms and +conditions either of that version or of any later version published by +the Free Software Foundation. If the Library does not specify a +license version number, you may choose any version ever published by +the Free Software Foundation. + + 14. If you wish to incorporate parts of the Library into other free +programs whose distribution conditions are incompatible with these, +write to the author to ask for permission. For software which is +copyrighted by the Free Software Foundation, write to the Free +Software Foundation; we sometimes make exceptions for this. Our +decision will be guided by the two goals of preserving the free status +of all derivatives of our free software and of promoting the sharing +and reuse of software generally. + + NO WARRANTY + + 15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO +WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW. +EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR +OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY +KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE +LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME +THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. + + 16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN +WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY +AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU +FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR +CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE +LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING +RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A +FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF +SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH +DAMAGES. + + END OF TERMS AND CONDITIONS + + How to Apply These Terms to Your New Libraries + + If you develop a new library, and you want it to be of the greatest +possible use to the public, we recommend making it free software that +everyone can redistribute and change. You can do so by permitting +redistribution under these terms (or, alternatively, under the terms +of the ordinary General Public License). + + To apply these terms, attach the following notices to the library. +It is safest to attach them to the start of each source file to most +effectively convey the exclusion of warranty; and each file should +have at least the "copyright" line and a pointer to where the full +notice is found. + + + <one line to give the library's name and a brief idea of what it does.> + Copyright (C) <year> <name of author> + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + +Also add information on how to contact you by electronic and paper mail. + +You should also get your employer (if you work as a programmer) or +your school, if any, to sign a "copyright disclaimer" for the library, +if necessary. Here is a sample; alter the names: + + Yoyodyne, Inc., hereby disclaims all copyright interest in the + library `Frob' (a library for tweaking knobs) written by James + Random Hacker. + + <signature of Ty Coon>, 1 April 1990 + Ty Coon, President of Vice + +That's all there is to it! + + diff --git a/ChangeLog b/ChangeLog new file mode 100644 index 00000000..e69de29b --- /dev/null +++ b/ChangeLog diff --git a/Makefile.am b/Makefile.am new file mode 100644 index 00000000..0ecda2b7 --- /dev/null +++ b/Makefile.am @@ -0,0 +1,18 @@ +SUBDIRS = themes + +MAINTAINERCLEANFILES = \ + Makefile.in \ + aclocal.m4 \ + config.guess \ + config.h.in \ + config.sub \ + configure \ + depcomp \ + install-sh \ + intltool-*.in \ + libtool \ + ltmain.sh \ + missing \ + mkinstalldirs + +-include $(top_srcdir)/git.mk diff --git a/autogen.sh b/autogen.sh new file mode 100755 index 00000000..73198f8f --- /dev/null +++ b/autogen.sh @@ -0,0 +1,21 @@ +#!/bin/sh +# Run this to generate all the initial makefiles, etc. + +srcdir=`dirname $0` +test -z "$srcdir" && srcdir=. + +PKG_NAME="gnome-themes-standard" +REQUIRED_AUTOMAKE_VERSION=1.9 + +(test -f $srcdir/configure.ac \ + && test -d $srcdir/themes) || { + echo -n "**Error**: Directory "\`$srcdir\'" does not look like the" + echo " top-level $PKG_NAME directory" + exit 1 +} + +which gnome-autogen.sh || { + echo "You need to install gnome-common from the GNOME git" + exit 1 +} +USE_GNOME2_MACROS=1 . gnome-autogen.sh diff --git a/configure.ac b/configure.ac new file mode 100644 index 00000000..aa630882 --- /dev/null +++ b/configure.ac @@ -0,0 +1,22 @@ +dnl Process this file with autoconf to produce a configure script. +AC_PREREQ(2.53) + +AC_INIT([gnome-themes-standard], [2.91.0], + [http://bugzilla.gnome.org/enter_bug.cgi?product=gnome-themes-standard]) + +AM_INIT_AUTOMAKE([1.9 tar-ustar foreign dist-bzip2 no-dist-gzip]) + +PKG_PROG_PKG_CONFIG([0.19]) + +# Workaround to make aclocal get the right flags +AC_SUBST(ACLOCAL_AMFLAGS, "\${ACLOCAL_FLAGS}") + +AC_CONFIG_FILES([ +Makefile +themes/Makefile +themes/Adwaita/Makefile +themes/Adwaita/gtk-3.0/Makefile +themes/Adwaita/metacity-1/Makefile +]) + +AC_OUTPUT @@ -0,0 +1,187 @@ +# git.mk +# +# Copyright 2009, Red Hat, Inc. +# Written by Behdad Esfahbod +# +# Copying and distribution of this file, with or without modification, +# are permitted in any medium without royalty provided the copyright +# notice and this notice are preserved. +# +# The canonical source for this file is pango/git.mk, or whereever the +# header of pango/git.mk suggests in the future. +# +# To use in your project, import this file in your git repo's toplevel, +# then do "make -f git.mk". This modifies all Makefile.am files in +# your project to include git.mk. +# +# This enables automatic .gitignore generation. If you need to ignore +# more files, add them to the GITIGNOREFILES variable in your Makefile.am. +# But think twice before doing that. If a file has to be in .gitignore, +# chances are very high that it's a generated file and should be in one +# of MOSTLYCLEANFILES, CLEANFILES, DISTCLEANFILES, or MAINTAINERCLEANFILES. +# +# The only case that you need to manually add a file to GITIGNOREFILES is +# when remove files in one of mostlyclean-local, clean-local, distclean-local, +# or maintainer-clean-local. +# +# Note that for files like editor backup, etc, there are better places to +# ignore them. See "man gitignore". +# +# If "make maintainer-clean" removes the files but they are not recognized +# by this script (that is, if "git status" shows untracked files still), send +# me the output of "git status" as well as your Makefile.am and Makefile for +# the directories involved. +# +# For a list of toplevel files that should be in MAINTAINERCLEANFILES, see +# pango/Makefile.am. +# +# Don't EXTRA_DIST this file. It is supposed to only live in git clones, +# not tarballs. It serves no useful purpose in tarballs and clutters the +# build dir. +# +# This file knows how to handle autoconf, automake, libtool, gtk-doc, +# gnome-doc-utils, intltool. +# +# +# KNOWN ISSUES: +# +# - Recursive configure doesn't work as $(top_srcdir)/git.mk inside the +# submodule doesn't find us. If you have configure.{in,ac} files in +# subdirs, add a proxy git.mk file in those dirs that simply does: +# "include $(top_srcdir)/../git.mk". Add more ..'s to your taste. +# And add those files to git. See vte/gnome-pty-helper/git.mk for +# example. +# + +git-all: git-mk-install + +git-mk-install: + @echo Installing git makefile + @any_failed=; find $(top_srcdir) -name Makefile.am | while read x; do \ + if grep 'include .*/git.mk' $$x >/dev/null; then \ + echo $$x already includes git.mk; \ + else \ + failed=; \ + echo "Updating $$x"; \ + { cat $$x; \ + echo ''; \ + echo '-include $$(top_srcdir)/git.mk'; \ + } > $$x.tmp || failed=1; \ + if test x$$failed = x; then \ + mv $$x.tmp $$x || failed=1; \ + fi; \ + if test x$$failed = x; then : else \ + echo Failed updating $$x; >&2 \ + any_failed=1; \ + fi; \ + fi; done; test -z "$$any_failed" + +.PHONY: git-all git-mk-install + + +### .gitignore generation + +$(srcdir)/.gitignore: Makefile.am $(top_srcdir)/git.mk + $(AM_V_GEN) \ + { \ + if test "x$(DOC_MODULE)" = x -o "x$(DOC_MAIN_SGML_FILE)" = x; then :; else \ + for x in \ + $(DOC_MODULE)-decl-list.txt \ + $(DOC_MODULE)-decl.txt \ + tmpl/$(DOC_MODULE)-unused.sgml \ + "tmpl/*.bak" \ + xml html \ + ; do echo /$$x; done; \ + fi; \ + if test "x$(DOC_MODULE)" = x -o "x$(DOC_LINGUAS)" = x; then :; else \ + for x in \ + $(_DOC_C_DOCS) \ + $(_DOC_LC_DOCS) \ + $(_DOC_OMF_ALL) \ + $(_DOC_DSK_ALL) \ + $(_DOC_HTML_ALL) \ + $(_DOC_POFILES) \ + "*/.xml2po.mo" \ + "*/*.omf.out" \ + ; do echo /$$x; done; \ + fi; \ + if test -f $(srcdir)/po/Makefile.in.in; then \ + for x in \ + po/Makefile.in.in \ + po/Makefile.in \ + po/Makefile \ + po/POTFILES \ + po/stamp-it \ + po/.intltool-merge-cache \ + "po/*.gmo" \ + "po/*.mo" \ + po/$(GETTEXT_PACKAGE).pot \ + intltool-extract.in \ + intltool-merge.in \ + intltool-update.in \ + ; do echo /$$x; done; \ + fi; \ + if test -f $(srcdir)/configure; then \ + for x in \ + autom4te.cache \ + configure \ + config.h \ + stamp-h1 \ + libtool \ + config.lt \ + ; do echo /$$x; done; \ + fi; \ + for x in \ + .gitignore \ + $(GITIGNOREFILES) \ + $(CLEANFILES) \ + $(PROGRAMS) \ + $(check_PROGRAMS) \ + $(EXTRA_PROGRAMS) \ + $(LTLIBRARIES) \ + so_locations \ + .libs _libs \ + $(MOSTLYCLEANFILES) \ + "*.$(OBJEXT)" \ + "*.lo" \ + $(DISTCLEANFILES) \ + $(am__CONFIG_DISTCLEAN_FILES) \ + $(CONFIG_CLEAN_FILES) \ + TAGS ID GTAGS GRTAGS GSYMS GPATH tags \ + "*.tab.c" \ + $(MAINTAINERCLEANFILES) \ + $(BUILT_SOURCES) \ + $(DEPDIR) \ + Makefile \ + Makefile.in \ + "*.orig" \ + "*.rej" \ + "*.bak" \ + "*~" \ + ".*.sw[nop]" \ + ; do echo /$$x; done; \ + } | \ + sed "s@^/`echo "$(srcdir)" | sed 's/\(.\)/[\1]/g'`/@/@" | \ + sed 's@/[.]/@/@g' | \ + LC_ALL=C sort | uniq > $@.tmp && \ + mv $@.tmp $@; + +all: $(srcdir)/.gitignore gitignore-recurse-maybe +gitignore-recurse-maybe: + @if test "x$(SUBDIRS)" = "x$(DIST_SUBDIRS)"; then :; else \ + $(MAKE) $(AM_MAKEFLAGS) gitignore-recurse; \ + fi; +gitignore-recurse: + @for subdir in $(DIST_SUBDIRS); do \ + case " $(SUBDIRS) " in \ + *" $$subdir "*) :;; \ + *) test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) .gitignore gitignore-recurse || echo "Skipping $$subdir");; \ + esac; \ + done +gitignore: $(srcdir)/.gitignore gitignore-recurse + +maintainer-clean: gitignore-clean +gitignore-clean: + -rm -f $(srcdir)/.gitignore + +.PHONY: gitignore-clean gitignore gitignore-recurse gitignore-recurse-maybe diff --git a/gnome-themes-standard.doap b/gnome-themes-standard.doap new file mode 100644 index 00000000..71b31fa2 --- /dev/null +++ b/gnome-themes-standard.doap @@ -0,0 +1,29 @@ +<Project xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" + xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#" + xmlns:foaf="http://xmlns.com/foaf/0.1/" + xmlns:gnome="http://api.gnome.org/doap-extensions#" + xmlns="http://usefulinc.com/ns/doap#"> + + <name xml:lang="en">GNOME Standard Themes</name> + <shortdesc xml:lang="en">Standard Themes for GNOME Applications</shortdesc> + <mailing-list rdf:resource="http://mail.gnome.org/mailman/listinfo/gnome-themes-list" /> + <download-page rdf:resource="http://download.gnome.org/sources/gnome-themes-standard/" /> + <bug-database rdf:resource="http://bugzilla.gnome.org/browse.cgi?product=gnome-themes-standard" /> + + <category rdf:resource="http://api.gnome.org/doap-extensions#desktop" /> + + <maintainer> + <foaf:Person> + <foaf:name>William Jon McCann</foaf:name> + <foaf:mbox rdf:resource="mailto:william.jon.mccann@gmail.com" /> + <gnome:userid>mccann</gnome:userid> + </foaf:Person> + </maintainer> + <maintainer> + <foaf:Person> + <foaf:name>Jakub Steiner</foaf:name> + <foaf:mbox rdf:resource="mailto:jimmac@gmail.com" /> + <gnome:userid>jimmac</gnome:userid> + </foaf:Person> + </maintainer> +</Project> diff --git a/themes/Adwaita/Makefile.am b/themes/Adwaita/Makefile.am new file mode 100644 index 00000000..f7a8633c --- /dev/null +++ b/themes/Adwaita/Makefile.am @@ -0,0 +1,4 @@ +SUBDIRS = gtk-3.0 metacity-1 + +-include $(top_srcdir)/git.mk + diff --git a/themes/Adwaita/gtk-2.0/gtkrc b/themes/Adwaita/gtk-2.0/gtkrc new file mode 100644 index 00000000..100722f6 --- /dev/null +++ b/themes/Adwaita/gtk-2.0/gtkrc @@ -0,0 +1,434 @@ + +# Please keep this gtkrc in sync with the other ones from Clearlooks based themes. + +gtk-color-scheme = "base_color:#ffffff\nfg_color:#000000\ntooltip_fg_color:#000000\nselected_bg_color:#86ABD9\nselected_fg_color:#ffffff\ntext_color:#1A1A1A\nbg_color:#EDECEB\ntooltip_bg_color:#E7F3FD" + +gtk-auto-mnemonics = 1 + +style "default" { + xthickness = 1 + ythickness = 1 + + ####################### + # Style Properties + ####################### + GtkButton::child-displacement-x = 1 + GtkButton::child-displacement-y = 1 + GtkButton::default-border = { 0, 0, 0, 0 } + GtkButton::image-spacing = 4 + GtkToolButton::icon-spacing = 4 + + GtkCheckButton::indicator-size = 14 + + GtkEntry::invisible-char = 0x2022 + + GtkPaned::handle-size = 6 + + GtkRange::trough-border = 0 + GtkRange::slider-width = 15 + GtkRange::stepper-size = 15 + + GtkScale::slider-length = 23 + GtkScale::trough-side-details = 1 + + GtkScrollbar::min-slider-length = 30 + GtkMenuBar::internal-padding = 0 + GtkExpander::expander-size = 16 + GtkToolbar::internal-padding = 1 + GtkTreeView::expander-size = 14 + GtkTreeView::vertical-separator = 0 + + GtkMenu::horizontal-padding = 0 + GtkMenu::vertical-padding = 0 + + WnckTasklist::fade-overlay-rect = 0 + # The following line hints to gecko (and possibly other appliations) + # that the entry should be drawn transparently on the canvas. + # Without this, gecko will fill in the background of the entry. + GtkEntry::honors-transparent-bg-hint = 1 + + GtkEntry::progress-border = { 2, 2, 2, 2 } + + #################### + # Color Definitions + #################### + bg[NORMAL] = @bg_color + bg[PRELIGHT] = shade (1.02, @bg_color) + bg[SELECTED] = @selected_bg_color + bg[INSENSITIVE] = @bg_color + bg[ACTIVE] = shade (0.9, @bg_color) + + fg[NORMAL] = @fg_color + fg[PRELIGHT] = @fg_color + fg[SELECTED] = @selected_fg_color + fg[INSENSITIVE] = darker (@bg_color) + fg[ACTIVE] = @fg_color + + text[NORMAL] = @text_color + text[PRELIGHT] = @text_color + text[SELECTED] = @selected_fg_color + text[INSENSITIVE] = darker (@bg_color) + text[ACTIVE] = @selected_fg_color + + base[NORMAL] = @base_color + base[PRELIGHT] = shade (0.95, @bg_color) + base[SELECTED] = @selected_bg_color + base[INSENSITIVE] = @bg_color + base[ACTIVE] = shade (0.9, @selected_bg_color) + + engine "clearlooks" { + colorize_scrollbar = TRUE + reliefstyle = 1 + menubarstyle = 2 + toolbarstyle = 0 + animation = FALSE + radius = 3.0 + style = GUMMY + + # Set a hint to disable backward compatibility fallbacks. + hint = "use-hints" + } +} + +style "wide" { + xthickness = 2 + ythickness = 2 +} + +style "wider" { + xthickness = 3 + ythickness = 3 +} + +style "entry" { + xthickness = 3 + ythickness = 3 + + bg[SELECTED] = mix (0.4, @selected_bg_color, @base_color) + fg[SELECTED] = @text_color + + engine "clearlooks" { + focus_color = shade (0.65, @selected_bg_color) + } +} + +style "spinbutton" { + + engine "clearlooks" { + hint = "spinbutton" + } +} + +style "scale" { + xthickness = 2 + ythickness = 2 + + engine "clearlooks" { + hint = "scale" + } +} + +style "vscale" { + + engine "clearlooks" { + hint = "vscale" + } +} + +style "hscale" { + + engine "clearlooks" { + hint = "hscale" + } +} + +style "scrollbar" { + xthickness = 2 + ythickness = 2 + + engine "clearlooks" { + hint = "scrollbar" + } +} + +style "hscrollbar" { + + engine "clearlooks" { + hint = "hscrollbar" + } +} + +style "vscrollbar" { + + engine "clearlooks" { + hint = "vscrollbar" + } +} + +style "notebook_bg" { + + bg[NORMAL] = shade (1.02, @bg_color) +} + +style "button" { + xthickness = 3 + ythickness = 3 + + bg[NORMAL] = shade (1.04, @bg_color) + bg[PRELIGHT] = shade (1.06, @bg_color) + bg[ACTIVE] = shade (0.85, @bg_color) +} + +# The color is changed by the notebook_bg style, this style +# changes the x/ythickness +style "notebook" { + xthickness = 3 + ythickness = 3 +} + +style "statusbar" { + + engine "clearlooks" { + hint = "statusbar" + } +} + +style "comboboxentry" { + + engine "clearlooks" { + # Note: + # If you set the appears-as-list option on comboboxes in the theme, + # then you should set this hint on the combobox instead. + hint = "comboboxentry" + } +} + +style "menubar" { + + GtkWidget::window-dragging = 1 + + engine "clearlooks" { + hint = "menubar" + } +} + +style "menu" { + xthickness = 0 + ythickness = 0 + + bg[NORMAL] = shade (1.08, @bg_color) + + engine "clearlooks" { + radius = 0.0 + } +} + +style "menu_item" { + xthickness = 2 + ythickness = 3 + + fg[PRELIGHT] = @selected_fg_color +} + +# This style is there to modify the separator menu items. The goals are: +# 1. Get a specific height. +# 2. The line should go to the edges (ie. no border at the left/right) +style "separator_menu_item" { + xthickness = 1 + ythickness = 0 + + GtkSeparatorMenuItem::horizontal-padding = 0 + GtkWidget::wide-separators = 1 + GtkWidget::separator-width = 1 + GtkWidget::separator-height = 7 +} + +style "frame_title" { + + fg[NORMAL] = lighter (@fg_color) +} + +style "treeview" { + + engine "clearlooks" { + hint = "treeview" + } +} + +# The almost useless progress bar style +style "progressbar" { + xthickness = 1 + ythickness = 1 + + fg[PRELIGHT] = @selected_fg_color + + engine "clearlooks" { + # Explicitly set the radius for the progress bars inside menu items. + radius = 3.0 + + hint = "progressbar" + } +} + +# This style is based on the default style, so that the colors from the button +# style are overriden again. +style "treeview_header" = "default" { + xthickness = 2 + ythickness = 1 + + engine "clearlooks" { + hint = "treeview-header" + } +} + +style "tooltips" { + xthickness = 8 + ythickness = 4 + + GtkWidget::new-tooltip-style = 1 + + bg[NORMAL] = @tooltip_bg_color + fg[NORMAL] = @tooltip_fg_color +} + +style "nautilus_location" { + + bg[NORMAL] = mix (0.60, shade (1.05, @bg_color), @selected_bg_color) +} + +# Wrokaroudn style for places where the text color is used instead of the fg color. +style "text_is_fg_color_workaround" { + + text[NORMAL] = @fg_color + text[PRELIGHT] = @fg_color + text[SELECTED] = @selected_fg_color + text[ACTIVE] = @fg_color + text[INSENSITIVE] = darker (@bg_color) +} + +# Workaround style for menus where the text color is used instead of the fg color. +style "menuitem_text_is_fg_color_workaround" { + + text[NORMAL] = @fg_color + text[PRELIGHT] = @selected_fg_color + text[SELECTED] = @selected_fg_color + text[ACTIVE] = @fg_color + text[INSENSITIVE] = darker (@bg_color) +} + +# Workaround style for places where the fg color is used instead of the text color. +style "fg_is_text_color_workaround" { + + fg[NORMAL] = @text_color + fg[PRELIGHT] = @text_color + fg[SELECTED] = @selected_fg_color + fg[ACTIVE] = @selected_fg_color + fg[INSENSITIVE] = darker (@bg_color) +} + +# Style to set the toolbar to use a flat style. This is because the "New" button in +# Evolution is not drawn transparent. So if there is a gradient in the background it will +# look really wrong. +# See http://bugzilla.gnome.org/show_bug.cgi?id=446953. +style "evo_new_button_workaround" { + + engine "clearlooks" { + toolbarstyle = 0 + } +} + + +############################################################################### +# The following part of the gtkrc applies the different styles to the widgets. +############################################################################### + +# The default style is applied to every widget +class "GtkWidget" style "default" + +class "GtkSeparator" style "wide" +class "GtkFrame" style "wide" +class "GtkCalendar" style "wide" +class "GtkEntry" style "entry" + +class "GtkSpinButton" style "spinbutton" +class "GtkScale" style "scale" +class "GtkVScale" style "vscale" +class "GtkHScale" style "hscale" +class "GtkScrollbar" style "scrollbar" +class "GtkHScrollbar" style "hscrollbar" +class "GtkVScrollbar" style "vscrollbar" + +# General matching follows. The order is choosen so that the right styles override +# each other. EG. progressbar needs to be more important than the menu match. +widget_class "*<GtkNotebook>" style "notebook_bg" +# This is not perfect, it could be done better. +# (That is modify *every* widget in the notebook, and change those back that +# we really don't want changed) +widget_class "*<GtkNotebook>*<GtkEventBox>" style "notebook_bg" +widget_class "*<GtkNotebook>*<GtkDrawingArea>" style "notebook_bg" +widget_class "*<GtkNotebook>*<GtkLayout>" style "notebook_bg" +widget_class "*<GtkNotebook>*<GtkViewport>" style "notebook_bg" +widget_class "*<GtkNotebook>*<GtkScrolledWindow>" style "notebook_bg" + +widget_class "*<GtkButton>" style "button" +widget_class "*<GtkNotebook>" style "notebook" +widget_class "*<GtkStatusbar>*" style "statusbar" + +widget_class "*<GtkComboBoxEntry>*" style "comboboxentry" +widget_class "*<GtkCombo>*" style "comboboxentry" + +widget_class "*<GtkMenuBar>*" style "menubar" +widget_class "*<GtkMenu>*" style "menu" +widget_class "*<GtkMenuItem>*" style "menu_item" +widget_class "*<GtkSeparatorMenuItem>*" style "separator_menu_item" + +widget_class "*.<GtkFrame>.<GtkLabel>" style "frame_title" +widget_class "*.<GtkTreeView>*" style "treeview" + +widget_class "*<GtkProgress>" style "progressbar" + +# Treeview headers (and similar stock GTK+ widgets) +widget_class "*.<GtkTreeView>.<GtkButton>" style "treeview_header" +widget_class "*.<GtkCTree>.<GtkButton>" style "treeview_header" +widget_class "*.<GtkList>.<GtkButton>" style "treeview_header" +widget_class "*.<GtkCList>.<GtkButton>" style "treeview_header" + +# The window of the tooltip is called "gtk-tooltip" +################################################################## +# FIXME: +# This will not work if one embeds eg. a button into the tooltip. +# As far as I can tell right now we will need to rework the theme +# quite a bit to get this working correctly. +# (It will involve setting different priorities, etc.) +################################################################## +widget "gtk-tooltip*" style "tooltips" + +########################################################################## +# Following are special cases and workarounds for issues in applications. +########################################################################## + +# Workaround for the evolution ETable (bug #527532) +widget_class "*.ETable.ECanvas" style "treeview_header" +# Workaround for the evolution ETree +widget_class "*.ETree.ECanvas" style "treeview_header" + +# Special case the nautilus-extra-view-widget +# ToDo: A more generic approach for all applications that have a widget like this. +widget "*.nautilus-extra-view-widget" style : highest "nautilus_location" + +# Work around for http://bugzilla.gnome.org/show_bug.cgi?id=382646 +# Note that this work around assumes that the combobox is _not_ in appears-as-list mode. +widget_class "*.<GtkComboBox>.<GtkCellView>" style "text_is_fg_color_workaround" +# This is the part of the workaround that fixes the menus +widget "*.gtk-combobox-popup-menu.*" style "menuitem_text_is_fg_color_workaround" + +# Work around the usage of GtkLabel inside GtkListItems to display text. +# This breaks because the label is shown on a background that is based on the base color. +widget_class "*<GtkListItem>*" style "fg_is_text_color_workaround" +# GtkCList also uses the fg color to draw text on top of the base colors. +widget_class "*<GtkCList>" style "fg_is_text_color_workaround" +# Nautilus when renaming files, and maybe other places. +widget_class "*<EelEditableLabel>" style "fg_is_text_color_workaround" + +# See the documentation of the style. +widget_class "EShellWindow.GtkVBox.BonoboDock.BonoboDockBand.BonoboDockItem*" style "evo_new_button_workaround" diff --git a/themes/Adwaita/gtk-3.0/Makefile.am b/themes/Adwaita/gtk-3.0/Makefile.am new file mode 100644 index 00000000..dbbee6fc --- /dev/null +++ b/themes/Adwaita/gtk-3.0/Makefile.am @@ -0,0 +1,8 @@ +themedir = $(datadir)/themes/Adwaita/gtk-3.0 +theme_DATA = gtkrc + +EXTRA_DIST = $(theme_DATA) + + +-include $(top_srcdir)/git.mk + diff --git a/themes/Adwaita/gtk-3.0/gtkrc b/themes/Adwaita/gtk-3.0/gtkrc new file mode 100644 index 00000000..c35ef72e --- /dev/null +++ b/themes/Adwaita/gtk-3.0/gtkrc @@ -0,0 +1,578 @@ + +# Please keep this gtkrc in sync with the other ones from Clearlooks based themes. + +gtk-color-scheme = "base_color:#ffffff\nbg_color:#ededed\ntooltip_bg_color:#343434\nselected_bg_color:#4a90d9\ntext_color:#2e3436\nfg_color:#2e3436\ntooltip_fg_color:#ffffff\nselected_fg_color:#ffffff\nlink_color:#4a90d9\nframe_color:#8a9580\ninactive_frame_color:#c7ccc1\nwarning_color:#f57900\nerror_color:#cc0000\nsuccess_color:#4e9a06" + +gtk-auto-mnemonics = 1 +gtk-cursor-blink = 0 +gtk-button-images = 0 +gtk-menu-images = 0 + +style "default" { + + font_name = "Droid Sans" # Until we get the font upstream + xthickness = 1 + ythickness = 1 + + ####################### + # Style Properties + ####################### + GtkButton::child-displacement-x = 1 + GtkButton::child-displacement-y = 1 + GtkButton::default-border = { 0, 0, 0, 0 } + GtkButton::image-spacing = 4 + GtkToolButton::icon-spacing = 4 + + GtkWidget::cursor-color = shade(1.07, @selected_bg_color) + GtkWidget::secondary-cursor-color = @selected_bg_color + + GtkCheckButton::indicator-size = 14 + + GtkTextView::error-underline-color = "#cc0000" + + GtkPaned::handle-size = 6 + + # The size for scrollbars. The slider is 2px smaller, but we keep it + # up so that the whole area is sensitive to button presses for the + # slider. The stepper button is larger in both directions, the slider + # only in the width + GtkRange::stepper-position-details = 1 + GtkRange::trough-border = 0 + GtkRange::slider-width = 20 + GtkRange::stepper-size = 20 + + GtkScale::slider-length = 15 + GtkScale::slider-width = 21 + GtkScale::trough-side-details = 1 + + GtkScrollbar::min-slider-length = 30 + GtkMenuBar::internal-padding = 0 + GtkExpander::expander-size = 16 # ??? + GtkToolbar::internal-padding = 4 # ??? + GtkTreeView::expander-size = 14 # ??? + GtkTreeView::vertical-separator = 0 # ??? + + GtkScrolledWindow::scrollbar-spacing = 0 + GtkScrolledWindow::scrollbars-within-bevel = 1 + + + + GtkMenu::horizontal-padding = 0 + GtkMenu::vertical-padding = 0 + + GtkWidget::link-color = @link_color + GtkWidget::visited-link-color = @link_color + GtkIMHtml::hyperlink-color = @link_color + GtkHTML::link-color = @link_color + + WnckTasklist::fade-overlay-rect = 0 + # The following line hints to gecko (and possibly other appliations) + # that the entry should be drawn transparently on the canvas. + # Without this, gecko will fill in the background of the entry. + GtkEntry::honors-transparent-bg-hint = 1 + + NautilusIconContainer::selection_box_color = @selected_bg_color + NautilusIconContainer::dark_info_color = shade (0.6, @selected_bg_color) + NautilusIconContainer::light_info_color = shade (0.6, @selected_fg_color) + NautilusIconContainer::prelight_icon_color = "#ffffff" + NautilusIconContainer::prelight_icon_brightness = 255 + NautilusIconContainer::selection_box_alpha = 0x40 + NautilusIconContainer::selection_highlight_alpha = 0x00 + + GtkEntry::inner-border = { 3, 3, 3, 3 } + GtkEntry::progress-border = { 0, 0, 0, 0 } + + GtkNotebook::tab-overlay = 10 + GtkNotebook::tab-curvature = 5 + + GtkSeparatorToolItem::shadow-type = GTK_SHADOW_NONE + + #################### + # Color Definitions + #################### + bg[NORMAL] = @bg_color + bg[PRELIGHT] = shade (1.02, @bg_color) + bg[SELECTED] = @selected_bg_color + bg[INSENSITIVE] = shade (1.07, @bg_color) + bg[ACTIVE] = shade (0.915, @bg_color) + + fg[NORMAL] = @fg_color + fg[PRELIGHT] = @fg_color + fg[SELECTED] = @selected_fg_color + fg[INSENSITIVE] = darker (@bg_color) + fg[ACTIVE] = @fg_color + + text[NORMAL] = @text_color + text[PRELIGHT] = @text_color + text[SELECTED] = @selected_fg_color + text[INSENSITIVE] = shade (0.75, @bg_color) + text[ACTIVE] = shade (1.2, @selected_bg_color) + + base[NORMAL] = @base_color + base[PRELIGHT] = shade (0.95, @bg_color) + base[SELECTED] = shade(1.07, @selected_bg_color) + base[INSENSITIVE] = shade (1.07, @bg_color) + base[ACTIVE] = shade (0.9, @selected_bg_color) + + + engine "clearlooks" { + colorize_scrollbar = FALSE # XXX, will we support this? + animation = FALSE + radius = 3.0 + style = GNOME3 + accel_label_shade = 0.5 + + # Set a hint to disable backward compatibility fallbacks. + hint = "use-hints" + } +} + +style "wide" { + xthickness = 2 + ythickness = 2 +} + +style "wider" { + xthickness = 3 + ythickness = 3 +} + +style "entry" { + xthickness = 2 + ythickness = 2 + + bg[SELECTED] = @selected_bg_color + fg[SELECTED] = @selected_fg_color + + engine "clearlooks" { + focus_color = shade (0.65, @selected_bg_color) + } +} + +style "spinbutton" { + + engine "clearlooks" { + hint = "spinbutton" + } +} + +style "scale" { + xthickness = 2 + ythickness = 2 + + engine "clearlooks" { + hint = "scale" + } +} + +style "vscale" { + + engine "clearlooks" { + hint = "vscale" + } +} + +style "hscale" { + + engine "clearlooks" { + hint = "hscale" + } +} + +style "scrollbar" { + xthickness = 2 + ythickness = 2 + + # Similar to buttons ... + bg[NORMAL] = @base_color + bg[SELECTED] = @base_color + fg[SELECTED] = @selected_bg_color + + fg[NORMAL] = mix (0.6, @bg_color, @fg_color) + fg[PRELIGHT] = @selected_bg_color + bg[PRELIGHT] = @base_color + + fg [ACTIVE] = @selected_bg_color + text [NORMAL] = "green" + text [ACTIVE] = "green" + text [PRELIGHT] = "green" + text [SELECTED] = "green" + + engine "clearlooks" { + hint = "scrollbar" + } +} + +style "hscrollbar" { + + engine "clearlooks" { + hint = "hscrollbar" + } +} + +style "vscrollbar" { + + engine "clearlooks" { + hint = "vscrollbar" + } +} + +style "notebook_bg" { + bg[NORMAL] = shade (1.12, @bg_color) +} + +style "button" { + xthickness = 3 + ythickness = 3 + +# bg[NORMAL] = shade (1.04, @bg_color) +# bg[PRELIGHT] = shade (1.06, @bg_color) +# bg[ACTIVE] = shade (0.85, @bg_color) +} + +style "dialogbutton" = "button" { + bg[NORMAL] = @selected_bg_color + bg[PRELIGHT] = "green" + bg[ACTIVE] = "blue" + fg[NORMAL] = @selected_fg_color +} +widget "GtkDialog.*Box*.GtkHButtonBox.*Button*" style "dialogbutton" + +# The color is changed by the notebook_bg style, this style +# changes the x/ythickness +style "notebook" { + xthickness = 3 + ythickness = 3 +} + +style "statusbar" { + xthickness = 5 + ythickness = 5 + fg [NORMAL] = @fg_color + fg [PRELIGHT] = @fg_color + GtkStatusbar::shadow-type = GTK_SHADOW_NONE + engine "clearlooks" { + hint = "statusbar" + } +} + + +style "statusbar-children" { + xthickness = 50 + ythickness = 50 + GtkStatusbar::shadow-type = GTK_SHADOW_NONE + engine "clearlooks" { + hint = "statusbar" + } +} +widget_class "<GtkStatusbar>*" style "statusbar-children" + +style "comboboxentry" { + + engine "clearlooks" { + # Note: + # If you set the appears-as-list option on comboboxes in the theme, + # then you should set this hint on the combobox instead. + hint = "comboboxentry" + } +} + +style "menubar" { + xthickness = 0 + bg [NORMAL] = "#E0E0DC" + bg [ACTIVE] = "#c7ccc1" # second gradient color + engine "clearlooks" { + hint = "menubar" + } +} + +style "menu" { + xthickness = 0 + ythickness = 4 + + GtkMenu::vertical-offset = 0 + GtkMenu::horizontal-offset = -1 + + bg[NORMAL] = @base_color + + engine "clearlooks" { + radius = 0.0 + } +} + +style "menu_item" { + xthickness = 5 + ythickness = 4 + GtkMenuItem::arrow-scaling = 0.4 + fg[PRELIGHT] = @selected_fg_color +} + +# This style is there to modify the separator menu items. The goals are: +# 1. Get a specific height. +# 2. The line should go to the edges (ie. no border at the left/right) +style "separator_menu_item" { + xthickness = 1 + ythickness = 0 + + GtkSeparatorMenuItem::horizontal-padding = 0 + GtkWidget::wide-separators = 1 + GtkWidget::separator-width = 1 + GtkWidget::separator-height = 7 +} + +style "separator_tool_item" { + xthickness = 0 + ythickness = 1 + + GtkVSeparator::vertical-padding = 0 + GtkWidget::wide-separators = 1 + GtkWidget::separator-width = 7 + GtkWidget::separator-height = 1 +} + +style "frame_title" { + + fg[NORMAL] = lighter (@fg_color) +} + +style "treeview" { + + engine "clearlooks" { + hint = "treeview" + } +} + +# The almost useless progress bar style +style "progressbar" { + xthickness = 0 + ythickness = 0 + + fg[PRELIGHT] = @selected_fg_color + + engine "clearlooks" { + # Explicitly set the radius for the progress bars inside menu items. + radius = 3.0 + + hint = "progressbar" + } +} + +# This style is based on the default style, so that the colors from the button +# style are overriden again. +style "treeview_header" = "default" { + xthickness = 2 + ythickness = 1 + + engine "clearlooks" { + hint = "treeview-header" + } +} + +style "tooltips" { + xthickness = 4 + ythickness = 4 + + bg[NORMAL] = @tooltip_bg_color + fg[NORMAL] = @tooltip_fg_color +} + +style "toolbar" { + bg [NORMAL] = "#c7ccc1" + bg [ACTIVE] = "#8a9580" +} + +style "separator" = "wide" { + GtkSeparator::shadow-type = GTK_SHADOW_NONE +} + +style "nautilus_location" { + + bg[NORMAL] = mix (0.60, shade (1.05, @bg_color), @selected_bg_color) +} + +# Wrokaroudn style for places where the text color is used instead of the fg color. +style "text_is_fg_color_workaround" { + + text[NORMAL] = @fg_color + text[PRELIGHT] = @fg_color + text[SELECTED] = @selected_fg_color + text[ACTIVE] = @fg_color + text[INSENSITIVE] = darker (@bg_color) +} + +# Workaround style for menus where the text color is used instead of the fg color. +style "menuitem_text_is_fg_color_workaround" { + + text[NORMAL] = @fg_color + text[PRELIGHT] = @selected_fg_color + text[SELECTED] = @selected_fg_color + text[ACTIVE] = @fg_color + text[INSENSITIVE] = darker (@bg_color) +} + +# Workaround style for places where the fg color is used instead of the text color. +style "fg_is_text_color_workaround" { + + fg[NORMAL] = @text_color + fg[PRELIGHT] = @text_color + fg[SELECTED] = @selected_fg_color + fg[ACTIVE] = @selected_fg_color + fg[INSENSITIVE] = darker (@bg_color) +} + +# Style to set the toolbar to use a flat style. This is because the "New" button in +# Evolution is not drawn transparent. So if there is a gradient in the background it will +# look really wrong. +# See http://bugzilla.gnome.org/show_bug.cgi?id=446953. +style "evo_new_button_workaround" { + + engine "clearlooks" { + toolbarstyle = 0 + } +} + +style "eye-of-gnome" { + bg[NORMAL] = "#1e1a17" + EogScrollView::shadow-type = GTK_SHADOW_NONE +} +widget_class "*.EogScrollView" style "eye-of-gnome" + +style "evince" { + bg[NORMAL] = "#1e1a17" +} +widget_class "*.EvView" style "evince" + +style "abiword" { + bg[NORMAL] = "#1e1a17" +} +widget_class "*.ApDocView" style "abiword" + +style "cheese-thumbs" { + bg[NORMAL] = "#1e1a17" +} +widget_class "*<CheeseThumbView>*" style "cheese-thumbs" + +style "terminal" { + text[NORMAL] = "#ffffff" + base[NORMAL] = "#1e1a17" + TerminalScreen::background-darkness = 0.95 +} +class "TerminalScreen" style "terminal" + +style "infobar" { + bg[NORMAL] = "#ffffff" + TerminalScreen::background-darkness = 0.95 +} +class "GtkInfobar" style "infobar" + +style "dark_panel" { + bg[NORMAL] = "#1e1a17" + fg[NORMAL] = "#fff" +} + +# For old gnome-panel +widget "*PanelWidget*" style "dark_panel" +widget "*PanelApplet*" style "dark_panel" +widget "*fast-user-switch*" style "dark_panel" +class "PanelApp*" style "dark_panel" +class "PanelToplevel*" style "dark_panel" +widget_class "*notif*" style "dark_panel" +widget_class "*Notif*" style "dark_panel" + + +############################################################################### +# The following part of the gtkrc applies the different styles to the widgets. +############################################################################### + +# The default style is applied to every widget +class "GtkWidget" style "default" + +class "GtkSeparator" style "separator" +class "GtkFrame" style "wide" +class "GtkCalendar" style "wide" +class "GtkEntry" style "entry" + +class "GtkSpinButton" style "spinbutton" +class "GtkToolbar" style "toolbar" +class "GtkScale" style "scale" +class "GtkVScale" style "vscale" +class "GtkHScale" style "hscale" +class "GtkScrollbar" style "scrollbar" +class "GtkHScrollbar" style "hscrollbar" +class "GtkVScrollbar" style "vscrollbar" + +# General matching follows. The order is choosen so that the right styles override +# each other. EG. progressbar needs to be more important than the menu match. +widget_class "*<GtkNotebook>" style "notebook_bg" +# This is not perfect, it could be done better. +# (That is modify *every* widget in the notebook, and change those back that +# we really don't want changed) +widget_class "*<GtkNotebook>*<GtkEventBox>" style "notebook_bg" +widget_class "*<GtkNotebook>*<GtkDrawingArea>" style "notebook_bg" +widget_class "*<GtkNotebook>*<GtkLayout>" style "notebook_bg" +widget_class "*<GtkNotebook>*<GtkViewport>" style "notebook_bg" +widget_class "*<GtkNotebook>*<GtkScrolledWindow>" style "notebook_bg" + +widget_class "*<GtkButton>" style "button" +widget_class "*<GtkNotebook>" style "notebook" +widget_class "*<GtkStatusbar>*" style "statusbar" + +widget_class "*<GtkComboBoxEntry>*" style "comboboxentry" +widget_class "*<GtkCombo>*" style "comboboxentry" + +widget_class "*<GtkMenuBar>*" style "menubar" +widget_class "*<GtkMenu>*" style "menu" +widget_class "*<GtkMenuItem>*" style "menu_item" +widget_class "*<GtkSeparatorMenuItem>*" style "separator_menu_item" +widget_class "*<GtkSeparatorToolItem>*" style "separator_tool_item" + +widget_class "*.<GtkFrame>.<GtkLabel>" style "frame_title" +widget_class "*.<GtkTreeView>*" style "treeview" + +widget_class "*<GtkProgressBar>" style "progressbar" + +# Treeview headers (and similar stock GTK+ widgets) +widget_class "*.<GtkTreeView>.<GtkButton>" style "treeview_header" +widget_class "*.<GtkCTree>.<GtkButton>" style "treeview_header" +widget_class "*.<GtkList>.<GtkButton>" style "treeview_header" +widget_class "*.<GtkCList>.<GtkButton>" style "treeview_header" + +# The window of the tooltip is called "gtk-tooltip" +################################################################## +# FIXME: +# This will not work if one embeds eg. a button into the tooltip. +# As far as I can tell right now we will need to rework the theme +# quite a bit to get this working correctly. +# (It will involve setting different priorities, etc.) +################################################################## +widget "gtk-tooltip*" style "tooltips" + +########################################################################## +# Following are special cases and workarounds for issues in applications. +########################################################################## + +# Workaround for the evolution ETable (bug #527532) +widget_class "*.<ETable>.<ECanvas>" style "treeview_header" +# Workaround for the evolution ETree +widget_class "*.<ETree>.<ECanvas>" style "treeview_header" + +# Special case the nautilus-extra-view-widget +# ToDo: A more generic approach for all applications that have a widget like this. +widget "*.nautilus-extra-view-widget" style : highest "nautilus_location" + +# Work around for http://bugzilla.gnome.org/show_bug.cgi?id=382646 +# Note that this work around assumes that the combobox is _not_ in appears-as-list mode. +widget_class "*.<GtkComboBox>.<GtkCellView>" style "text_is_fg_color_workaround" +# This is the part of the workaround that fixes the menus +widget "*.gtk-combobox-popup-menu.*" style "menuitem_text_is_fg_color_workaround" + +# Work around the usage of GtkLabel inside GtkListItems to display text. +# This breaks because the label is shown on a background that is based on the base color. +widget_class "*<GtkListItem>*" style "fg_is_text_color_workaround" +# GtkCList also uses the fg color to draw text on top of the base colors. +widget_class "*<GtkCList>" style "fg_is_text_color_workaround" +# Nautilus when renaming files, and maybe other places. +widget_class "*<EelEditableLabel>" style "fg_is_text_color_workaround" + +# See the documentation of the style. +widget_class "EShellWindow.GtkVBox.BonoboDock.BonoboDockBand.BonoboDockItem*" style "evo_new_button_workaround" diff --git a/themes/Adwaita/metacity-1/Makefile.am b/themes/Adwaita/metacity-1/Makefile.am new file mode 100644 index 00000000..d374d978 --- /dev/null +++ b/themes/Adwaita/metacity-1/Makefile.am @@ -0,0 +1,8 @@ +themedir = $(datadir)/themes/Adwaita/metacity-1 +theme_DATA = metacity-theme-2.xml + +EXTRA_DIST = $(theme_DATA) + + +-include $(top_srcdir)/git.mk + diff --git a/themes/Adwaita/metacity-1/metacity-theme-2.xml b/themes/Adwaita/metacity-1/metacity-theme-2.xml new file mode 100644 index 00000000..17245502 --- /dev/null +++ b/themes/Adwaita/metacity-1/metacity-theme-2.xml @@ -0,0 +1,967 @@ +<?xml version="1.0"?> +<metacity_theme> + <info> + <name>Adwaita</name> + <author>GNOME Art Team <art.gnome.org></author> + <copyright>Â Intel, Â Red Hat, Lapo Calamandrei</copyright> + <date>2010</date> + <description>Default GNOME 3 window theme</description> + </info> + + <!-- + 2010-08-27. Lapo Calamandrei <calamandrei@gmail.com> + - Fix unfocused state and max'd state. + - More constants. + 2010-08-26. Lapo Calamandrei <calamandrei@gmail.com> + - Initial conversion to format version 2 and rounded corner tweaks. + - Fixed a positioning issue with unfocused close button. + - Moved unfocused button icons 1px down. + - Tweaked focused window button separators. + - Darkened title and added hilight. + - Increased button and title borders. + - More evident titlebar gradient. + 2010-08-25. Lapo Calamandrei <calamandrei@gmail.com> + - Darker button shadow. + - Rounded corners on button bg via clipping mask. + - Lot of other tweaks. + 2010-08-24. Lapo Calamandrei <calamandrei@gmail.com> + - New math for button icons. + - Lot of minor details. + --> + +<!-- constants --> + <!-- + nomenclature: + C* -> color + D* -> distances + --> + <constant name="CBorderFocused" value="blend/#000000/gtk:bg[NORMAL]/0.6" /> + <constant name="CBorderUnfocused" value="blend/#000000/gtk:bg[NORMAL]/0.8" /> + <constant name="CButtonBorder" value="blend/#000000/gtk:bg[NORMAL]/0.8" /> + <constant name="CButtonHilight" value="blend/#ffffff/gtk:bg[NORMAL]/0.6" /> + <constant name="CTitlebarUnfocused" value="blend/gtk:bg[NORMAL]/#000000/0.06" /> + <constant name="CTitleFocused" value="blend/gtk:fg[NORMAL]/gtk:bg[NORMAL]/0.1" /> + <constant name="CTitleFocusedHilight" value="blend/#ffffff/gtk:bg[NORMAL]/0.8" /> + <constant name="CTitleUnfocused" value="blend/gtk:fg[NORMAL]/gtk:bg[NORMAL]/0.8" /> + <constant name="CTitleUnfocusedHilight" value="blend/#ffffff/gtk:bg[NORMAL]/0.9" /> + <constant name="CIconFocused_normal" value="blend/#ffffff/gtk:bg[NORMAL]/0.3" /> + <constant name="CIconFocused_prelight" value="CIconFocused_normal" /> + <constant name="CIconFocused_pressed" value="CIconFocused_normal" /> + <constant name="CIconUnfocused_normal" value="blend/gtk:fg[NORMAL]/gtk:bg[NORMAL]/0.8" /> + <constant name="CIconUnfocused_prelight" value="blend/gtk:fg[NORMAL]/gtk:bg[NORMAL]/0.85" /> + <constant name="CIconUnfocused_pressed" value="blend/gtk:fg[NORMAL]/gtk:bg[NORMAL]/0.75" /> + <constant name="DIconFocused_h" value="0" /> + <constant name="DIconFocused_v" value="0" /> + <constant name="DIconUnfocused_h" value="0" /> + <constant name="DIconUnfocused_v" value="0" /> + + +<!-- Frames Geometries --> + <frame_geometry name="normal" rounded_top_left="4" rounded_top_right="4" title_scale="medium"> + <distance name="left_width" value="1"/> + <distance name="right_width" value="1"/> + <distance name="bottom_height" value="2"/> + <distance name="left_titlebar_edge" value="0"/> + <distance name="right_titlebar_edge" value="0"/> + <distance name="title_vertical_pad" value="10"/> + <border name="title_border" left="0" right="0" top="0" bottom="3"/> + <border name="button_border" left="0" right="0" top="0" bottom="2"/> + <aspect_ratio name="button" value="1"/> + </frame_geometry> + + <frame_geometry name="maximized" title_scale="medium" parent="normal" rounded_top_left="false" rounded_top_right="false" > + <distance name="left_width" value="0"/> + <distance name="right_width" value="0"/> + <distance name="bottom_height" value="0"/> + <distance name="title_vertical_pad" value="10"/> + <border name="title_border" left="0" right="0" top="0" bottom="3"/> + <border name="button_border" left="0" right="0" top="0" bottom="2"/> + </frame_geometry> + + <frame_geometry name="utility" title_scale="medium" parent="normal"> + </frame_geometry> + + <frame_geometry name="dialog" title_scale="medium" parent="normal" hide_buttons="true"> + </frame_geometry> + + <frame_geometry name="border" has_title="false" parent="normal"> + </frame_geometry> + + + + <!-- Draw Operations --> + + <!-- Titlebar Background --> + <draw_ops name="bg_titlebar_maximized"> + <gradient type="vertical" x="1" y="1" width="width-2" height="height-1"> + <color value="blend/gtk:bg[NORMAL]/#ffffff/0.1" /> + <color value="gtk:bg[NORMAL]"/> + <color value="blend/gtk:bg[NORMAL]/#000000/0.03" /> + <color value="blend/gtk:bg[NORMAL]/#000000/0.06" /> + </gradient> + <!-- top --> + <!-- <tint color="blend/#ffffff/gtk:bg[NORMAL]/0.8" x="1" y="1" width="width-1" height="1" alpha="0.8" /> --> + + </draw_ops> + <draw_ops name="bg_titlebar_unfocused_maximized"> + <rectangle color="CTitlebarUnfocused" x="1" y="1" width="width-2" height="height-1" filled="true"/> + </draw_ops> + <draw_ops name="bg_titlebar_unfocused"> + <include name="bg_titlebar_unfocused_maximized" /> + <!-- left upper rounded corner --> + <line color="CBorderUnfocused" x1="2" y1="1" x2="3" y2="1" /> + <line color="CBorderUnfocused" x1="1" y1="2" x2="1" y2="3" /> + <!-- right upper rounder corner --> + <line color="CBorderUnfocused" x1="width-4" y1="1" x2="width-2" y2="1" /> + <line color="CBorderUnfocused" x1="width-2" y1="2" x2="width-2" y2="3" /> + </draw_ops> + + <draw_ops name="bg_titlebar"> + <include name="bg_titlebar_maximized"/> + <!-- corner hilight --> + <!-- <line color="blend/#ffffff/gtk:bg[NORMAL]/0.8" x1="3" y1="2" x2="4" y2="2" /> + <line color="blend/#ffffff/gtk:bg[NORMAL]/0.8" x1="2" y1="3" x2="2" y2="4" /> + <gradient type="vertical" x="1" y="5" width="1" height="height-5"> + <color value="blend/#ffffff/gtk:bg[NORMAL]/0.8"/> + <color value="blend/gtk:bg[NORMAL]/#000000/0.06"/> + </gradient> --> + + <!-- left upper rounded corner --> + <line color="CBorderFocused" x1="2" y1="1" x2="3" y2="1" /> + <line color="CBorderFocused" x1="1" y1="2" x2="1" y2="3" /> + <!-- right upper rounder corner --> + <line color="CBorderFocused" x1="width-4" y1="1" x2="width-3" y2="1" /> + <line color="CBorderFocused" x1="width-2" y1="2" x2="width-2" y2="3" /> + </draw_ops> + + + <!-- Window Borders --> + + <draw_ops name="lines_border_focused"> + <rectangle color="CBorderFocused" x="0" y="0" width="width-1" height="height-1" filled="false"/> + </draw_ops> + + <draw_ops name="lines_border_unfocused"> + <rectangle color="CBorderUnfocused" x="0" y="0" width="width-1" height="height-1" filled="false"/> + </draw_ops> + + + <!-- Title --> + + <draw_ops name="title_all"> + <title x="11" y="(((height - title_height) / 2) `max` 0)+3" color="CTitleFocusedHilight"/> + <title x="11" y="(((height - title_height) / 2) `max` 0)+2" color="CTitleFocused"/> + <tint color="blend/#ffffff/gtk:bg[NORMAL]/0.9" alpha="0.4" x="width" y="0" width="2" height="height-2" /> + </draw_ops> + + <draw_ops name="title_all_unfocused"> + <title x="11" y="(((height - title_height) / 2) `max` 0)+3" color="CTitleUnfocusedHilight"/> + <title x="11" y="(((height - title_height) / 2) `max` 0)+2" color="CTitleUnfocused"/> + </draw_ops> + + <!-- Normal, focused window --> + + <draw_ops name="titlebar_normal_focused"> + <include name="bg_titlebar"/> + </draw_ops> + + <draw_ops name="normal_focused"> + <include name="lines_border_focused"/> + </draw_ops> + + <!--Normal unfocused window--> + + <draw_ops name="titlebar_normal_unfocused"> + <include name="bg_titlebar_unfocused"/> + </draw_ops> + + <draw_ops name="normal_unfocused"> + <include name="lines_border_unfocused"/> + </draw_ops> + + <!--maximized focused window--> + <draw_ops name="titlebar_maximized_focused"> + <include name="bg_titlebar_maximized"/> + </draw_ops> + + <draw_ops name="maximized_focused"> + </draw_ops> + + <!--maximized unfocused window--> + <draw_ops name="titlebar_maximized_unfocused"> + </draw_ops> + + <draw_ops name="maximized_unfocused"> + </draw_ops> + + + <!--border focused window--> + <draw_ops name="border_focused"> + <include name="lines_border_focused"/> + </draw_ops> + + <!--border unfocused window--> + <draw_ops name="border_unfocused"> + <include name="lines_border_unfocused"/> + </draw_ops> + + <!-- button backgounds --> + + <draw_ops name="button_bottom_hilight"> + <!-- horziontal highlight on the bottom --> + <tint color="CButtonBorder" x="0" y="height - 4" width="width" height="1" alpha="1"/> + <tint color="CButtonHilight" x="0" y="height - 3" width="width" height="1" alpha="0.9"/> + </draw_ops> + + <draw_ops name="button_separator"> + <!-- vertical separator stripes --> + <gradient type="vertical" x="1" y="1" width="1" height="height - 5"> + <color value="blend/gtk:bg[NORMAL]/#ffffff/0.1"/> + <color value="blend/gtk:bg[NORMAL]/#000000/0.07"/> + </gradient> + <gradient type="vertical" x="0" y="1" width="1" height="height - 5"> + <color value="CBorderFocused"/> + <color value="blend/gtk:bg[NORMAL]/#000000/0.1"/> + </gradient> + </draw_ops> + + <draw_ops name="button_separator_pressed"> + <!-- vertical separator stripes for pressed state --> + <tint color="blend/#ffffff/gtk:bg[NORMAL]/0.5" x="0" y="1" width="1" height="height - 5" alpha="0.05"/> + <gradient type="vertical" x="0" y="1" width="1" height="height - 5"> + <color value="CBorderFocused"/> + <color value="blend/gtk:bg[NORMAL]/#000000/0.1"/> + </gradient> + </draw_ops> + + <draw_ops name="button_separator_max"> + <!-- vertical separator stripes --> + <gradient type="vertical" x="1" y="0" width="1" height="height - 4"> + <color value="blend/gtk:bg[NORMAL]/#ffffff/0.1"/> + <color value="blend/gtk:bg[NORMAL]/#000000/0.07"/> + </gradient> + <gradient type="vertical" x="0" y="0" width="1" height="height - 4"> + <color value="blend/gtk:bg[NORMAL]/#000000/0.5"/> + <color value="blend/gtk:bg[NORMAL]/#000000/0.05"/> + </gradient> + </draw_ops> + + <draw_ops name="button_separator_pressed_max"> + <!-- vertical separator stripes for pressed state --> + <tint color="blend/#ffffff/gtk:bg[NORMAL]/0.5" x="0" y="0" width="1" height="height - 4" alpha="0.05"/> + <gradient type="vertical" x="0" y="0" width="1" height="height - 4"> + <color value="CBorderFocused"/> + <color value="blend/gtk:bg[NORMAL]/#000000/0.1"/> + </gradient> + </draw_ops> + + <draw_ops name="button_bg_focused"> + <gradient type="vertical" x="0" y="1" width="width" height="height - 3"> + <color value="blend/gtk:bg[NORMAL]/#000000/0.1"/> + <color value="blend/gtk:bg[NORMAL]/#000000/0.14"/> + <color value="blend/gtk:bg[NORMAL]/#000000/0.17"/> + <color value="blend/gtk:bg[NORMAL]/#000000/0.06"/> + </gradient> + <include name="button_separator" /> + <include name="button_bottom_hilight" /> + </draw_ops> + + <draw_ops name="button_bg_prelight"> + <gradient type="vertical" x="0" y="1" width="width" height="height - 3"> + <color value="blend/gtk:bg[NORMAL]/#000000/0.05"/> + <color value="blend/gtk:bg[NORMAL]/#000000/0.10"/> + <color value="blend/gtk:bg[NORMAL]/#000000/0.12"/> + <color value="blend/gtk:bg[NORMAL]/#000000/0.03"/> + </gradient> + <include name="button_separator" /> + <include name="button_bottom_hilight" /> + </draw_ops> + + <draw_ops name="button_bg_pressed"> + <gradient type="vertical" x="0" y="1" width="width" height="height - 3"> + <color value="blend/gtk:bg[NORMAL]/#000000/0.4"/> + <color value="blend/gtk:bg[NORMAL]/#000000/0.05"/> + </gradient> + <include name="button_separator_pressed" /> + <include name="button_bottom_hilight" /> + </draw_ops> + + <draw_ops name="button_bg_focused_max"> + <gradient type="vertical" x="0" y="0" width="width" height="height - 2"> + <color value="blend/gtk:bg[NORMAL]/#000000/0.1"/> + <color value="blend/gtk:bg[NORMAL]/#000000/0.14"/> + <color value="blend/gtk:bg[NORMAL]/#000000/0.17"/> + <color value="blend/gtk:bg[NORMAL]/#000000/0.06"/> + </gradient> + <include name="button_separator_max"/> + <include name="button_bottom_hilight" /> + </draw_ops> + + <draw_ops name="button_bg_prelight_max"> + <gradient type="vertical" x="0" y="0" width="width" height="height - 2"> + <color value="blend/gtk:bg[NORMAL]/#000000/0.05"/> + <color value="blend/gtk:bg[NORMAL]/#000000/0.10"/> + <color value="blend/gtk:bg[NORMAL]/#000000/0.12"/> + <color value="blend/gtk:bg[NORMAL]/#000000/0.03"/> + </gradient> + <include name="button_separator_max" /> + <include name="button_bottom_hilight" /> + </draw_ops> + + <draw_ops name="button_bg_pressed_max"> + <gradient type="vertical" x="0" y="0" width="width" height="height - 2"> + <color value="blend/gtk:bg[NORMAL]/#000000/0.4"/> + <color value="blend/gtk:bg[NORMAL]/#000000/0.05"/> + </gradient> + <include name="button_bottom_hilight" /> + <include name="button_separator_pressed_max" /> + </draw_ops> + + <draw_ops name="rounded_outer_border_right"> + <line color="CBorderFocused" x1="width-4" y1="1" x2="width-3" y2="1"/> + <line color="CBorderFocused" x1="width-2" y1="2" x2="width-2" y2="3"/> + <line color="CBorderFocused" x1="width-1" y1="4" x2="width-1" y2="height"/> + </draw_ops> + + <draw_ops name="button_bg_focused_outer_right"> + <include name="button_bg_focused" /> + <include name="rounded_outer_border_right" /> + </draw_ops> + + <draw_ops name="button_bg_prelight_outer_right"> + <include name="button_bg_prelight" /> + <include name="rounded_outer_border_right" /> + </draw_ops> + + <draw_ops name="button_bg_pressed_outer_right"> + <include name="button_bg_pressed" /> + <include name="rounded_outer_border_right" /> + </draw_ops> + + <draw_ops name="button_bg_focused_clipped"> + <clip x="2" y="0" width="width-2" height="height-6" /> + <include name="button_bg_focused" /> + <clip x="3" y="height-6" width="width-3" height="1" /> + <include name="button_bg_focused" /> + <clip x="4" y="height-5" width="width-4" height="1" /> + <include name="button_bg_focused" /> + <clip x="5" y="height-4" width="width-5" height="2" /> + <include name="button_bg_focused" /> + </draw_ops> + + <draw_ops name="button_bg_prelight_clipped"> + <clip x="2" y="0" width="width-2" height="height-6" /> + <include name="button_bg_prelight" /> + <clip x="3" y="height-6" width="width-3" height="1" /> + <include name="button_bg_prelight" /> + <clip x="4" y="height-5" width="width-4" height="1" /> + <include name="button_bg_prelight" /> + <clip x="5" y="height-4" width="width-5" height="2" /> + <include name="button_bg_prelight" /> + </draw_ops> + + <draw_ops name="button_bg_pressed_clipped"> + <clip x="2" y="0" width="width-2" height="height-6" /> + <include name="button_bg_pressed" /> + <clip x="3" y="height-6" width="width-3" height="1" /> + <include name="button_bg_pressed" /> + <clip x="4" y="height-5" width="width-4" height="1" /> + <include name="button_bg_pressed" /> + <clip x="5" y="height-4" width="width-5" height="2" /> + <include name="button_bg_pressed" /> + </draw_ops> + + <draw_ops name="button_bg_focused_clipped_max"> + <clip x="2" y="0" width="width-2" height="height-6" /> + <include name="button_bg_focused_max" /> + <clip x="3" y="height-6" width="width-3" height="1" /> + <include name="button_bg_focused_max" /> + <clip x="4" y="height-5" width="width-4" height="1" /> + <include name="button_bg_focused_max" /> + <clip x="5" y="height-4" width="width-5" height="2" /> + <include name="button_bg_focused_max" /> + </draw_ops> + + <draw_ops name="button_bg_prelight_clipped_max"> + <clip x="2" y="0" width="width-2" height="height-6" /> + <include name="button_bg_prelight_max" /> + <clip x="3" y="height-6" width="width-3" height="1" /> + <include name="button_bg_prelight_max" /> + <clip x="4" y="height-5" width="width-4" height="1" /> + <include name="button_bg_prelight_max" /> + <clip x="5" y="height-4" width="width-5" height="2" /> + <include name="button_bg_prelight_max" /> + </draw_ops> + + <draw_ops name="button_bg_pressed_clipped_max"> + <clip x="2" y="0" width="width-2" height="height-6" /> + <include name="button_bg_pressed_max" /> + <clip x="3" y="height-6" width="width-3" height="1" /> + <include name="button_bg_pressed_max" /> + <clip x="4" y="height-5" width="width-4" height="1" /> + <include name="button_bg_pressed_max" /> + <clip x="5" y="height-4" width="width-5" height="2" /> + <include name="button_bg_pressed_max" /> + </draw_ops> + + <draw_ops name="right_left_button_rounded_corner"> + <!--hilight --> + <tint color="CButtonHilight" alpha="0.7" x="4" y="height-3" width="1" height="1"/> + <tint color="CButtonHilight" alpha="0.25" x="5" y="height-4" width="1" height="1"/> + <tint color="CButtonHilight" alpha="0.25" x="3" y="height-3" width="1" height="1"/> + <tint color="CButtonHilight" alpha="0.8" x="3" y="height-4" width="1" height="1"/> + <tint color="CButtonHilight" alpha="0.5" x="2" y="height-4" width="1" height="1"/> + <tint color="CButtonHilight" alpha="0.8" x="2" y="height-5" width="1" height="1"/> + <tint color="CButtonHilight" alpha="0.7" x="1" y="height-6" width="1" height="1"/> + <tint color="CButtonHilight" alpha="0.25" x="1" y="height-5" width="1" height="1"/> + <tint color="CButtonHilight" alpha="0.25" x="2" y="height-6" width="1" height="1"/> + <tint color="CButtonHilight" alpha="1" x="1" y="1" width="1" height="height-7"/> + + <!-- shadow --> + <tint color="#000000" alpha="0.025" x="5" y="height-5" width="1" height="1"/> + <tint color="#000000" alpha="0.08" x="4" y="height-5" width="1" height="1"/> + <tint color="#000000" alpha="0.05" x="3" y="height-5" width="1" height="1"/> + <tint color="#000000" alpha="0.08" x="3" y="height-6" width="1" height="1"/> + <tint color="#000000" alpha="0.07" x="2" y="height-7" width="1" height="1"/> + <tint color="#000000" alpha="0.025" x="2" y="height-6" width="1" height="1"/> + <tint color="#000000" alpha="0.025" x="3" y="height-7" width="1" height="1"/> + <tint color="#000000" alpha="0.08" x="2" y="0" width="1" height="height-7"/> + + <!-- corner AA --> + <tint color="CButtonBorder" alpha="0.7" x="4" y="height-4" width="1" height="1"/> + <tint color="CButtonBorder" alpha="0.25" x="4" y="height-5" width="1" height="1"/> + <tint color="CButtonBorder" alpha="0.25" x="3" y="height-4" width="1" height="1"/> + <tint color="CButtonBorder" alpha="0.8" x="3" y="height-5" width="1" height="1"/> + <tint color="CButtonBorder" alpha="0.5" x="2" y="height-5" width="1" height="1"/> + <tint color="CButtonBorder" alpha="0.8" x="2" y="height-6" width="1" height="1"/> + <tint color="CButtonBorder" alpha="0.7" x="1" y="height-7" width="1" height="1"/> + <tint color="CButtonBorder" alpha="0.25" x="1" y="height-6" width="1" height="1"/> + <tint color="CButtonBorder" alpha="0.25" x="2" y="height-7" width="1" height="1"/> + <gradient type="vertical" x="1" y="0" width="1" height="height-7"> + <color value="CBorderFocused" /> + <color value="CButtonBorder" /> + </gradient> +<!-- <tint color="CButtonBorder" alpha="1" x="0" y="0" width="1" height="height-5"/> --> + </draw_ops> + + <draw_ops name="button_bg_focused_inner_right"> + <include name="button_bg_focused_clipped" /> + <include name="right_left_button_rounded_corner" /> + </draw_ops> + + <draw_ops name="button_bg_prelight_inner_right"> + <include name="button_bg_prelight_clipped" /> + <include name="right_left_button_rounded_corner" /> + </draw_ops> + + <draw_ops name="button_bg_pressed_inner_right"> + <include name="button_bg_pressed_clipped" /> + <include name="right_left_button_rounded_corner" /> + </draw_ops> + + <draw_ops name="button_bg_focused_inner_right_max"> + <include name="button_bg_focused_clipped_max" /> + <include name="right_left_button_rounded_corner" /> + <!-- <tint color="blend/#000000/gtk:bg[NORMAL]/0.7" alpha="1" x="0" y="0" width="1" height="1" /> --> + </draw_ops> + + <draw_ops name="button_bg_prelight_inner_right_max"> + <include name="button_bg_prelight_clipped_max" /> + <include name="right_left_button_rounded_corner" /> + <!-- <tint color="blend/#000000/gtk:bg[NORMAL]/0.7" alpha="1" x="0" y="0" width="1" height="1" /> --> + </draw_ops> + + <draw_ops name="button_bg_pressed_inner_right_max"> + <include name="button_bg_pressed_clipped_max" /> + <include name="right_left_button_rounded_corner" /> + <!-- <tint color="blend/#000000/gtk:bg[NORMAL]/0.7" alpha="1" x="0" y="0" width="1" height="1" /> --> + </draw_ops> + + <draw_ops name="button_bg_focused_single_right"> + <include name="button_bg_focused_clipped" /> + <include name="right_left_button_rounded_corner" /> + <include name="rounded_outer_border_right" /> + </draw_ops> + + <draw_ops name="button_bg_prelight_single_right"> + <include name="button_bg_prelight_clipped" /> + <include name="right_left_button_rounded_corner" /> + <include name="rounded_outer_border_right" /> + </draw_ops> + + <draw_ops name="button_bg_pressed_single_right"> + <include name="button_bg_pressed_clipped" /> + <include name="right_left_button_rounded_corner" /> + <include name="rounded_outer_border_right" /> + </draw_ops> + + + <!-- on unfocused window --> + + <!-- Close Buttons --> + <draw_ops name="icon_close"> + <!-- shadow --> + <line color="blend/gtk:bg[NORMAL]/#000000/0.4" x1="(width-(width)%3)/3" y1="(height-height%3)/3+1" x2="width-((width-(width)%3)/3)-2" y2="height-((height-height%3)/3)-1" /> + <line color="blend/gtk:bg[NORMAL]/#000000/0.4" x1="(width-(width)%3)/3+1" y1="(height-height%3)/3+1" x2="width-((width-(width)%3)/3)-2" y2="height-((height-height%3)/3)-2" /> + <line color="blend/gtk:bg[NORMAL]/#000000/0.4" x1="(width-(width)%3)/3" y1="(height-height%3)/3+1+1" x2="width-((width-(width)%3)/3)-3" y2="height-((height-height%3)/3)-1" /> + <line color="blend/gtk:bg[NORMAL]/#000000/0.4" x1="width-((width-(width)%3)/3)-2" y1="(height-height%3)/3+1" x2="(width-(width)%3)/3" y2="height-((height-height%3)/3)-1" /> + <line color="blend/gtk:bg[NORMAL]/#000000/0.4" x1="width-((width-(width)%3)/3)-3" y1="(height-height%3)/3+1" x2="(width-(width)%3)/3" y2="height-((height-height%3)/3)-2" /> + <line color="blend/gtk:bg[NORMAL]/#000000/0.4" x1="width-((width-(width)%3)/3)-2" y1="(height-height%3)/3+1+1" x2="(width-(width)%3)/3+1" y2="height-((height-height%3)/3)-1" /> + + <!-- glyph --> + <line color="CIconFocused_normal" x1="(width-(width)%3)/3" y1="(height-height%3)/3" x2="width-((width-(width)%3)/3)-2" y2="height-((height-height%3)/3)-2" /> + <line color="CIconFocused_normal" x1="(width-(width)%3)/3+1" y1="(height-height%3)/3" x2="width-((width-(width)%3)/3)-2" y2="height-((height-height%3)/3)-3" /> + <line color="CIconFocused_normal" x1="(width-(width)%3)/3" y1="(height-height%3)/3+1" x2="width-((width-(width)%3)/3)-3" y2="height-((height-height%3)/3)-2" /> + <line color="CIconFocused_normal" x1="width-((width-(width)%3)/3)-2" y1="(height-height%3)/3" x2="(width-(width)%3)/3" y2="height-((height-height%3)/3)-2" /> + <line color="CIconFocused_normal" x1="width-((width-(width)%3)/3)-3" y1="(height-height%3)/3" x2="(width-(width)%3)/3" y2="height-((height-height%3)/3)-3" /> + <line color="CIconFocused_normal" x1="width-((width-(width)%3)/3)-2" y1="(height-height%3)/3+1" x2="(width-(width)%3)/3+1" y2="height-((height-height%3)/3)-2" /> + </draw_ops> + + <draw_ops name="icon_close_single"> + <!-- shadow --> + <line color="blend/gtk:bg[NORMAL]/#000000/0.4" x1="(width-(width)%3)/3+1" y1="(height-height%3)/3+1" x2="width-((width-(width)%3)/3)-1" y2="height-((height-height%3)/3)-1" /> + <line color="blend/gtk:bg[NORMAL]/#000000/0.4" x1="(width-(width)%3)/3+2" y1="(height-height%3)/3+1" x2="width-((width-(width)%3)/3)-1" y2="height-((height-height%3)/3)-2" /> + <line color="blend/gtk:bg[NORMAL]/#000000/0.4" x1="(width-(width)%3)/3+1" y1="(height-height%3)/3+1+1" x2="width-((width-(width)%3)/3)-2" y2="height-((height-height%3)/3)-1" /> + <line color="blend/gtk:bg[NORMAL]/#000000/0.4" x1="width-((width-(width)%3)/3)-1" y1="(height-height%3)/3+1" x2="(width-(width)%3)/3+1" y2="height-((height-height%3)/3)-1" /> + <line color="blend/gtk:bg[NORMAL]/#000000/0.4" x1="width-((width-(width)%3)/3)-2" y1="(height-height%3)/3+1" x2="(width-(width)%3)/3+1" y2="height-((height-height%3)/3)-2" /> + <line color="blend/gtk:bg[NORMAL]/#000000/0.4" x1="width-((width-(width)%3)/3)-1" y1="(height-height%3)/3+1+1" x2="(width-(width)%3)/3+2" y2="height-((height-height%3)/3)-1" /> + + <!-- glyph --> + <line color="CIconFocused_normal" x1="(width-(width)%3)/3+1" y1="(height-height%3)/3" x2="width-((width-(width)%3)/3)-1" y2="height-((height-height%3)/3)-2" /> + <line color="CIconFocused_normal" x1="(width-(width)%3)/3+2" y1="(height-height%3)/3" x2="width-((width-(width)%3)/3)-1" y2="height-((height-height%3)/3)-3" /> + <line color="CIconFocused_normal" x1="(width-(width)%3)/3+1" y1="(height-height%3)/3+1" x2="width-((width-(width)%3)/3)-2" y2="height-((height-height%3)/3)-2" /> + <line color="CIconFocused_normal" x1="width-((width-(width)%3)/3)-1" y1="(height-height%3)/3" x2="(width-(width)%3)/3+1" y2="height-((height-height%3)/3)-2" /> + <line color="CIconFocused_normal" x1="width-((width-(width)%3)/3)-2" y1="(height-height%3)/3" x2="(width-(width)%3)/3+1" y2="height-((height-height%3)/3)-3" /> + <line color="CIconFocused_normal" x1="width-((width-(width)%3)/3)-1" y1="(height-height%3)/3+1" x2="(width-(width)%3)/3+2" y2="height-((height-height%3)/3)-2" /> + </draw_ops> + + + + <draw_ops name="button_close_unfocused"> + <!-- hilight --> + <line color="CTitleUnfocusedHilight" x1="(width-(width)%3)/3" y1="(height-height%3)/3+2" x2="width-((width-(width)%3)/3)-2" y2="height-((height-height%3)/3)" /> + <line color="CTitleUnfocusedHilight" x1="(width-(width)%3)/3+1" y1="(height-height%3)/3+2" x2="width-((width-(width)%3)/3)-2" y2="height-((height-height%3)/3)-1" /> + <line color="CTitleUnfocusedHilight" x1="(width-(width)%3)/3" y1="(height-height%3)/3+3" x2="width-((width-(width)%3)/3)-3" y2="height-((height-height%3)/3)" /> + <line color="CTitleUnfocusedHilight" x1="width-((width-(width)%3)/3)-2" y1="(height-height%3)/3+2" x2="(width-(width)%3)/3" y2="height-((height-height%3)/3)" /> + <line color="CTitleUnfocusedHilight" x1="width-((width-(width)%3)/3)-3" y1="(height-height%3)/3+2" x2="(width-(width)%3)/3" y2="height-((height-height%3)/3)-1" /> + <line color="CTitleUnfocusedHilight" x1="width-((width-(width)%3)/3)-2" y1="(height-height%3)/3+3" x2="(width-(width)%3)/3+1" y2="height-((height-height%3)/3)" /> + + <!-- glyph --> + <line color="CIconUnfocused_normal" x1="(width-(width)%3)/3" y1="(height-height%3)/3+1" x2="width-((width-(width)%3)/3)-2" y2="height-((height-height%3)/3)-1" /> + <line color="CIconUnfocused_normal" x1="(width-(width)%3)/3+1" y1="(height-height%3)/3+1" x2="width-((width-(width)%3)/3)-2" y2="height-((height-height%3)/3)-2" /> + <line color="CIconUnfocused_normal" x1="(width-(width)%3)/3" y1="(height-height%3)/3+1+1" x2="width-((width-(width)%3)/3)-3" y2="height-((height-height%3)/3)-1" /> + <line color="CIconUnfocused_normal" x1="width-((width-(width)%3)/3)-2" y1="(height-height%3)/3+1" x2="(width-(width)%3)/3" y2="height-((height-height%3)/3)-1" /> + <line color="CIconUnfocused_normal" x1="width-((width-(width)%3)/3)-3" y1="(height-height%3)/3+1" x2="(width-(width)%3)/3" y2="height-((height-height%3)/3)-2" /> + <line color="CIconUnfocused_normal" x1="width-((width-(width)%3)/3)-2" y1="(height-height%3)/3+1+1" x2="(width-(width)%3)/3+1" y2="height-((height-height%3)/3)-1" /> + </draw_ops> + + <draw_ops name="button_close_unfocused_prelight"> + <!-- hilight --> + <line color="CTitleUnfocusedHilight" x1="(width-(width)%3)/3" y1="(height-height%3)/3+2" x2="width-((width-(width)%3)/3)-2" y2="height-((height-height%3)/3)" /> + <line color="CTitleUnfocusedHilight" x1="(width-(width)%3)/3+1" y1="(height-height%3)/3+2" x2="width-((width-(width)%3)/3)-2" y2="height-((height-height%3)/3)-1" /> + <line color="CTitleUnfocusedHilight" x1="(width-(width)%3)/3" y1="(height-height%3)/3+3" x2="width-((width-(width)%3)/3)-3" y2="height-((height-height%3)/3)" /> + <line color="CTitleUnfocusedHilight" x1="width-((width-(width)%3)/3)-2" y1="(height-height%3)/3+2" x2="(width-(width)%3)/3" y2="height-((height-height%3)/3)" /> + <line color="CTitleUnfocusedHilight" x1="width-((width-(width)%3)/3)-3" y1="(height-height%3)/3+2" x2="(width-(width)%3)/3" y2="height-((height-height%3)/3)-1" /> + <line color="CTitleUnfocusedHilight" x1="width-((width-(width)%3)/3)-2" y1="(height-height%3)/3+3" x2="(width-(width)%3)/3+1" y2="height-((height-height%3)/3)" /> + + <!-- glyph --> + <line color="CIconUnfocused_prelight" x1="(width-(width)%3)/3" y1="(height-height%3)/3+1" x2="width-((width-(width)%3)/3)-2" y2="height-((height-height%3)/3)-1" /> + <line color="CIconUnfocused_prelight" x1="(width-(width)%3)/3+1" y1="(height-height%3)/3+1" x2="width-((width-(width)%3)/3)-2" y2="height-((height-height%3)/3)-2" /> + <line color="CIconUnfocused_prelight" x1="(width-(width)%3)/3" y1="(height-height%3)/3+1+1" x2="width-((width-(width)%3)/3)-3" y2="height-((height-height%3)/3)-1" /> + <line color="CIconUnfocused_prelight" x1="width-((width-(width)%3)/3)-2" y1="(height-height%3)/3+1" x2="(width-(width)%3)/3" y2="height-((height-height%3)/3)-1" /> + <line color="CIconUnfocused_prelight" x1="width-((width-(width)%3)/3)-3" y1="(height-height%3)/3+1" x2="(width-(width)%3)/3" y2="height-((height-height%3)/3)-2" /> + <line color="CIconUnfocused_prelight" x1="width-((width-(width)%3)/3)-2" y1="(height-height%3)/3+1+1" x2="(width-(width)%3)/3+1" y2="height-((height-height%3)/3)-1" /> + </draw_ops> + + <draw_ops name="button_close_unfocused_pressed"> + <!-- hilight --> + <line color="CTitleUnfocusedHilight" x1="(width-(width)%3)/3" y1="(height-height%3)/3+2" x2="width-((width-(width)%3)/3)-2" y2="height-((height-height%3)/3)" /> + <line color="CTitleUnfocusedHilight" x1="(width-(width)%3)/3+1" y1="(height-height%3)/3+2" x2="width-((width-(width)%3)/3)-2" y2="height-((height-height%3)/3)-1" /> + <line color="CTitleUnfocusedHilight" x1="(width-(width)%3)/3" y1="(height-height%3)/3+3" x2="width-((width-(width)%3)/3)-3" y2="height-((height-height%3)/3)" /> + <line color="CTitleUnfocusedHilight" x1="width-((width-(width)%3)/3)-2" y1="(height-height%3)/3+2" x2="(width-(width)%3)/3" y2="height-((height-height%3)/3)" /> + <line color="CTitleUnfocusedHilight" x1="width-((width-(width)%3)/3)-3" y1="(height-height%3)/3+2" x2="(width-(width)%3)/3" y2="height-((height-height%3)/3)-1" /> + <line color="CTitleUnfocusedHilight" x1="width-((width-(width)%3)/3)-2" y1="(height-height%3)/3+3" x2="(width-(width)%3)/3+1" y2="height-((height-height%3)/3)" /> + + <!-- glyph --> + <line color="CIconUnfocused_pressed" x1="(width-(width)%3)/3" y1="(height-height%3)/3+1" x2="width-((width-(width)%3)/3)-2" y2="height-((height-height%3)/3)-1" /> + <line color="CIconUnfocused_pressed" x1="(width-(width)%3)/3+1" y1="(height-height%3)/3+1" x2="width-((width-(width)%3)/3)-2" y2="height-((height-height%3)/3)-2" /> + <line color="CIconUnfocused_pressed" x1="(width-(width)%3)/3" y1="(height-height%3)/3+1+1" x2="width-((width-(width)%3)/3)-3" y2="height-((height-height%3)/3)-1" /> + <line color="CIconUnfocused_pressed" x1="width-((width-(width)%3)/3)-2" y1="(height-height%3)/3+1" x2="(width-(width)%3)/3" y2="height-((height-height%3)/3)-1" /> + <line color="CIconUnfocused_pressed" x1="width-((width-(width)%3)/3)-3" y1="(height-height%3)/3+1" x2="(width-(width)%3)/3" y2="height-((height-height%3)/3)-2" /> + <line color="CIconUnfocused_pressed" x1="width-((width-(width)%3)/3)-2" y1="(height-height%3)/3+1+1" x2="(width-(width)%3)/3+1" y2="height-((height-height%3)/3)-1" /> + </draw_ops> + + + <!-- Maximize Buttons --> + <!-- !!!metacity actually draws rectagles 1px bigger then what is set!!! (that's the cause of the "-1"s in dimensions) --> + <draw_ops name="icon_maximize"> + <!-- + I want my rectangle nicelly centered so I won't let metacity do the roundings + hence why I use (width-width%3)/3, it's like doing an integer division. + --> + + <!-- shadow --> + <rectangle color="blend/gtk:bg[NORMAL]/#000000/0.4" x="(width-width%3)/3+2" y="(height-height%3)/3+1" width="width-2*((width-width%3)/3)-3" height="height-2*((height-height%3)/3)-3"/> + <rectangle color="blend/gtk:bg[NORMAL]/#000000/0.4" x="(width-width%3)/3+3" y="(height-height%3)/3+2" width="width-2*((width-width%3)/3)-5" height="height-2*((height-height%3)/3)-5"/> + <!-- glyph --> + <rectangle color="CIconFocused_normal" x="(width-width%3)/3+2" y="(height-height%3)/3" width="width-2*((width-width%3)/3)-3" height="height-2*((height-height%3)/3)-3"/> + <rectangle color="CIconFocused_normal" x="(width-width%3)/3+3" y="(height-height%3)/3+1" width="width-2*((width-width%3)/3)-5" height="height-2*((height-height%3)/3)-5"/> + </draw_ops> + + <draw_ops name="button_maximize_unfocused"> + <!-- hilight --> + <rectangle color="CTitleUnfocusedHilight" x="(width-width%3)/3+1+1" y="(height-height%3)/3+2" width="width-2*((width-width%3)/3)-3" height="height-2*((height-height%3)/3)-3"/> + <rectangle color="CTitleUnfocusedHilight" x="(width-width%3)/3+2+1" y="(height-height%3)/3+3" width="width-2*((width-width%3)/3)-5" height="height-2*((height-height%3)/3)-5"/> + <!-- glyph --> + <rectangle color="CIconUnfocused_normal" x="(width-width%3)/3+1+1" y="(height-height%3)/3+1" width="width-2*((width-width%3)/3)-3" height="height-2*((height-height%3)/3)-3"/> + <rectangle color="CIconUnfocused_normal" x="(width-width%3)/3+2+1" y="(height-height%3)/3+2" width="width-2*((width-width%3)/3)-5" height="height-2*((height-height%3)/3)-5"/> + </draw_ops> + + <draw_ops name="button_maximize_unfocused_prelight"> + <!-- hilight --> + <rectangle color="CTitleUnfocusedHilight" x="(width-width%3)/3+1+1" y="(height-height%3)/3+2" width="width-2*((width-width%3)/3)-3" height="height-2*((height-height%3)/3)-3"/> + <rectangle color="CTitleUnfocusedHilight" x="(width-width%3)/3+2+1" y="(height-height%3)/3+3" width="width-2*((width-width%3)/3)-5" height="height-2*((height-height%3)/3)-5"/> + <!-- glyph --> + <rectangle color="CIconUnfocused_prelight" x="(width-width%3)/3+1+1" y="(height-height%3)/3+1" width="width-2*((width-width%3)/3)-3" height="height-2*((height-height%3)/3)-3"/> + <rectangle color="CIconUnfocused_prelight" x="(width-width%3)/3+2+1" y="(height-height%3)/3+2" width="width-2*((width-width%3)/3)-5" height="height-2*((height-height%3)/3)-5"/> + </draw_ops> + + <draw_ops name="button_maximize_unfocused_pressed"> + <!-- hilight --> + <rectangle color="CTitleUnfocusedHilight" x="(width-width%3)/3+1+1" y="(height-height%3)/3+2" width="width-2*((width-width%3)/3)-3" height="height-2*((height-height%3)/3)-3"/> + <rectangle color="CTitleUnfocusedHilight" x="(width-width%3)/3+2+1" y="(height-height%3)/3+3" width="width-2*((width-width%3)/3)-5" height="height-2*((height-height%3)/3)-5"/> + <!-- glyph --> + <rectangle color="CIconUnfocused_pressed" x="(width-width%3)/3+1+1" y="(height-height%3)/3+1" width="width-2*((width-width%3)/3)-3" height="height-2*((height-height%3)/3)-3"/> + <rectangle color="CIconUnfocused_pressed" x="(width-width%3)/3+2+1" y="(height-height%3)/3+2" width="width-2*((width-width%3)/3)-5" height="height-2*((height-height%3)/3)-5"/> + </draw_ops> + + + <!-- Minimize Buttons --> + <draw_ops name="icon_minimize"> + <!-- shadow --> + <rectangle color="blend/gtk:bg[NORMAL]/#000000/0.4" x="(width-width%3)/3+3" y="height-((height-height%3)/3+2)" width="width-2*((width-width%3)/3)-5" height="1"/> + <!-- glyph --> + <rectangle color="CIconFocused_normal" x="(width-width%3)/3+3" y="height-((height-height%3)/3+2)-1" width="width-2*((width-width%3)/3)-5" height="1"/> + </draw_ops> + + <draw_ops name="button_minimize_unfocused"> + <!-- hilight --> + <rectangle color="CTitleUnfocusedHilight" x="(width-width%3)/3+3" y="height-((height-height%3)/3+2)+1" width="width-2*((width-width%3)/3)-5" height="1"/> + <!-- glyph --> + <rectangle color="CIconUnfocused_normal" x="(width-width%3)/3+3" y="height-((height-height%3)/3+2)" width="width-2*((width-width%3)/3)-5" height="1"/> + </draw_ops> + + <draw_ops name="button_minimize_unfocused_prelight"> + <!-- hilight --> + <rectangle color="CTitleUnfocusedHilight" x="(width-width%3)/3+3" y="height-((height-height%3)/3+2)+1" width="width-2*((width-width%3)/3)-5" height="1"/> + <!-- glyph --> + <rectangle color="CIconUnfocused_prelight" x="(width-width%3)/3+3" y="height-((height-height%3)/3+2)" width="width-2*((width-width%3)/3)-5" height="1"/> + </draw_ops> + + <draw_ops name="button_minimize_unfocused_pressed"> + <!-- hilight --> + <rectangle color="CTitleUnfocusedHilight" x="(width-width%3)/3+3" y="height-((height-height%3)/3+2)+1" width="width-2*((width-width%3)/3)-5" height="1"/> + <!-- glyph --> + <rectangle color="CIconUnfocused_pressed" x="(width-width%3)/3+3" y="height-((height-height%3)/3+2)" width="width-2*((width-width%3)/3)-5" height="1"/> + </draw_ops> + + <!-- Frame Styles --> + + <frame_style name="normal_focused" geometry="normal"> + <piece position="entire_background" draw_ops="normal_focused"/> + <piece position="titlebar" draw_ops="titlebar_normal_focused"/> + <piece position="title" draw_ops="title_all"/> + +<!-- <button function="left_middle_background" state="normal" draw_ops="background_button"/> --> + <button function="right_middle_background" state="normal" draw_ops="button_bg_focused"/> + <button function="right_middle_background" state="prelight" draw_ops="button_bg_prelight"/> + <button function="right_middle_background" state="pressed" draw_ops="button_bg_pressed"/> + + <button function="right_right_background" state="normal" draw_ops="button_bg_focused_outer_right"/> + <button function="right_right_background" state="prelight" draw_ops="button_bg_prelight_outer_right"/> + <button function="right_right_background" state="pressed" draw_ops="button_bg_pressed_outer_right"/> + + <button function="right_left_background" state="normal" draw_ops="button_bg_focused_inner_right"/> + <button function="right_left_background" state="prelight" draw_ops="button_bg_prelight_inner_right"/> + <button function="right_left_background" state="pressed" draw_ops="button_bg_pressed_inner_right"/> + + <button function="close" state="normal" draw_ops="icon_close"/> + <button function="close" state="prelight" draw_ops="icon_close"/> + <button function="close" state="pressed" draw_ops="icon_close"/> + <button function="maximize" state="normal" draw_ops="icon_maximize"/> + <button function="maximize" state="prelight" draw_ops="icon_maximize"/> + <button function="maximize" state="pressed" draw_ops="icon_maximize"/> + <button function="minimize" state="normal" draw_ops="icon_minimize"/> + <button function="minimize" state="prelight" draw_ops="icon_minimize"/> + <button function="minimize" state="pressed" draw_ops="icon_minimize"/> + <button function="menu" state="normal"><draw_ops /></button><button function="menu" state="pressed"><draw_ops /></button> + <button function="shade" state="normal"><draw_ops /></button><button function="shade" state="pressed"><draw_ops /></button> + <button function="unshade" state="normal"><draw_ops /></button><button function="unshade" state="pressed"><draw_ops /></button> + <button function="above" state="normal"><draw_ops /></button><button function="above" state="pressed"><draw_ops /></button> + <button function="unabove" state="normal"><draw_ops /></button><button function="unabove" state="pressed"><draw_ops /></button> + <button function="stick" state="normal"><draw_ops /></button><button function="stick" state="pressed"><draw_ops /></button> + <button function="unstick" state="normal"><draw_ops /></button><button function="unstick" state="pressed"><draw_ops /></button> + </frame_style> + + <frame_style name="normal_unfocused" geometry="normal"> + <piece position="entire_background" draw_ops="normal_unfocused"/> + <piece position="titlebar" draw_ops="titlebar_normal_unfocused"/> + <piece position="title" draw_ops="title_all_unfocused"/> + + <button function="close" state="normal" draw_ops="button_close_unfocused"/> + <button function="close" state="prelight" draw_ops="button_close_unfocused_prelight"/> + <button function="close" state="pressed" draw_ops="button_close_unfocused_pressed"/> + <button function="maximize" state="normal" draw_ops="button_maximize_unfocused"/> + <button function="maximize" state="prelight" draw_ops="button_maximize_unfocused_prelight"/> + <button function="maximize" state="pressed" draw_ops="button_maximize_unfocused_pressed"/> + <button function="minimize" state="normal" draw_ops="button_minimize_unfocused"/> + <button function="minimize" state="prelight" draw_ops="button_minimize_unfocused_prelight"/> + <button function="minimize" state="pressed" draw_ops="button_minimize_unfocused_pressed"/> + <button function="menu" state="normal"><draw_ops /></button><button function="menu" state="pressed"><draw_ops /></button> + <button function="shade" state="normal"><draw_ops /></button><button function="shade" state="pressed"><draw_ops /></button> + <button function="unshade" state="normal"><draw_ops /></button><button function="unshade" state="pressed"><draw_ops /></button> + <button function="above" state="normal"><draw_ops /></button><button function="above" state="pressed"><draw_ops /></button> + <button function="unabove" state="normal"><draw_ops /></button><button function="unabove" state="pressed"><draw_ops /></button> + <button function="stick" state="normal"><draw_ops /></button><button function="stick" state="pressed"><draw_ops /></button> + <button function="unstick" state="normal"><draw_ops /></button><button function="unstick" state="pressed"><draw_ops /></button> + </frame_style> + + <frame_style name="maximized_focused" geometry="maximized"> + <piece position="entire_background" draw_ops="maximized_focused"/> + <piece position="titlebar" draw_ops="titlebar_maximized_focused"/> + <piece position="title" draw_ops="title_all"/> + + <button function="right_middle_background" state="normal" draw_ops="button_bg_focused_max"/> + <button function="right_middle_background" state="prelight" draw_ops="button_bg_prelight_max"/> + <button function="right_middle_background" state="pressed" draw_ops="button_bg_pressed_max"/> + + <button function="right_left_background" state="normal" draw_ops="button_bg_focused_inner_right_max"/> + <button function="right_left_background" state="prelight" draw_ops="button_bg_prelight_inner_right_max"/> + <button function="right_left_background" state="pressed" draw_ops="button_bg_pressed_inner_right_max"/> + + <button function="close" state="normal" draw_ops="icon_close"/> + <button function="close" state="prelight" draw_ops="icon_close"/> + <button function="close" state="pressed" draw_ops="icon_close"/> + <button function="maximize" state="normal" draw_ops="icon_maximize"/> + <button function="maximize" state="prelight" draw_ops="icon_maximize"/> + <button function="maximize" state="pressed" draw_ops="icon_maximize"/> + <button function="minimize" state="normal" draw_ops="icon_minimize"/> + <button function="minimize" state="prelight" draw_ops="icon_minimize"/> + <button function="minimize" state="pressed" draw_ops="icon_minimize"/> + <button function="menu" state="normal"><draw_ops /></button><button function="menu" state="pressed"><draw_ops /></button> + <button function="shade" state="normal"><draw_ops /></button><button function="shade" state="pressed"><draw_ops /></button> + <button function="unshade" state="normal"><draw_ops /></button><button function="unshade" state="pressed"><draw_ops /></button> + <button function="above" state="normal"><draw_ops /></button><button function="above" state="pressed"><draw_ops /></button> + <button function="unabove" state="normal"><draw_ops /></button><button function="unabove" state="pressed"><draw_ops /></button> + <button function="stick" state="normal"><draw_ops /></button><button function="stick" state="pressed"><draw_ops /></button> + <button function="unstick" state="normal"><draw_ops /></button><button function="unstick" state="pressed"><draw_ops /></button> + </frame_style> + + <frame_style name="maximized_unfocused" geometry="maximized"> + <piece position="entire_background" draw_ops="maximized_unfocused"/> + <piece position="titlebar" draw_ops="titlebar_maximized_unfocused"/> + <piece position="title" draw_ops="title_all_unfocused"/> + + <button function="close" state="normal" draw_ops="button_close_unfocused"/> + <button function="close" state="prelight" draw_ops="button_close_unfocused_prelight"/> + <button function="close" state="pressed" draw_ops="button_close_unfocused_pressed"/> + <button function="maximize" state="normal" draw_ops="button_maximize_unfocused"/> + <button function="maximize" state="prelight" draw_ops="button_maximize_unfocused_prelight"/> + <button function="maximize" state="pressed" draw_ops="button_maximize_unfocused_pressed"/> + <button function="minimize" state="normal" draw_ops="button_minimize_unfocused"/> + <button function="minimize" state="prelight" draw_ops="button_minimize_unfocused_prelight"/> + <button function="minimize" state="pressed" draw_ops="button_minimize_unfocused_pressed"/> + <button function="menu" state="normal"><draw_ops /></button><button function="menu" state="pressed"><draw_ops /></button> + <button function="shade" state="normal"><draw_ops /></button><button function="shade" state="pressed"><draw_ops /></button> + <button function="unshade" state="normal"><draw_ops /></button><button function="unshade" state="pressed"><draw_ops /></button> + <button function="above" state="normal"><draw_ops /></button><button function="above" state="pressed"><draw_ops /></button> + <button function="unabove" state="normal"><draw_ops /></button><button function="unabove" state="pressed"><draw_ops /></button> + <button function="stick" state="normal"><draw_ops /></button><button function="stick" state="pressed"><draw_ops /></button> + <button function="unstick" state="normal"><draw_ops /></button><button function="unstick" state="pressed"><draw_ops /></button> + </frame_style> + + <frame_style name="border_focused" geometry="border"> + <piece position="entire_background" draw_ops="border_focused"/> + + <button function="right_middle_background" state="normal" draw_ops="button_bg_focused"/> + <button function="right_middle_background" state="prelight" draw_ops="button_bg_prelight"/> + <button function="right_middle_background" state="pressed" draw_ops="button_bg_pressed"/> + <button function="right_right_background" state="normal" draw_ops="button_bg_focused_outer_right"/> + <button function="right_right_background" state="prelight" draw_ops="button_bg_prelight_outer_right"/> + <button function="right_right_background" state="pressed" draw_ops="button_bg_pressed_outer_right"/> + <button function="right_left_background" state="normal" draw_ops="button_bg_focused_inner_right"/> + <button function="right_left_background" state="prelight" draw_ops="button_bg_prelight_inner_right"/> + <button function="right_left_background" state="pressed" draw_ops="button_bg_pressed_inner_right"/> + + + <button function="close" state="normal" draw_ops="icon_close"/> + <button function="close" state="prelight" draw_ops="icon_close"/> + <button function="close" state="pressed" draw_ops="icon_close"/> + <button function="maximize" state="normal" draw_ops="icon_maximize"/> + <button function="maximize" state="prelight" draw_ops="icon_maximize"/> + <button function="maximize" state="pressed" draw_ops="icon_maximize"/> + <button function="minimize" state="normal" draw_ops="icon_minimize"/> + <button function="minimize" state="prelight" draw_ops="icon_minimize"/> + <button function="minimize" state="pressed" draw_ops="icon_minimize"/> + <button function="menu" state="normal"><draw_ops /></button><button function="menu" state="pressed"><draw_ops /></button> + <button function="shade" state="normal"><draw_ops /></button><button function="shade" state="pressed"><draw_ops /></button> + <button function="unshade" state="normal"><draw_ops /></button><button function="unshade" state="pressed"><draw_ops /></button> + <button function="above" state="normal"><draw_ops /></button><button function="above" state="pressed"><draw_ops /></button> + <button function="unabove" state="normal"><draw_ops /></button><button function="unabove" state="pressed"><draw_ops /></button> + <button function="stick" state="normal"><draw_ops /></button><button function="stick" state="pressed"><draw_ops /></button> + <button function="unstick" state="normal"><draw_ops /></button><button function="unstick" state="pressed"><draw_ops /></button> + + </frame_style> + + <frame_style name="border_unfocused" geometry="border"> + <piece position="entire_background" draw_ops="border_unfocused"/> + + <button function="close" state="normal" draw_ops="button_close_unfocused"/> + <button function="close" state="prelight" draw_ops="button_close_unfocused_prelight"/> + <button function="close" state="pressed" draw_ops="button_close_unfocused_pressed"/> + <button function="maximize" state="normal" draw_ops="button_maximize_unfocused"/> + <button function="maximize" state="prelight" draw_ops="button_maximize_unfocused_prelight"/> + <button function="maximize" state="pressed" draw_ops="button_maximize_unfocused_pressed"/> + <button function="minimize" state="normal" draw_ops="button_minimize_unfocused"/> + <button function="minimize" state="prelight" draw_ops="button_minimize_unfocused_prelight"/> + <button function="minimize" state="pressed" draw_ops="button_minimize_unfocused_pressed"/> + <button function="menu" state="normal"><draw_ops /></button><button function="menu" state="pressed"><draw_ops /></button> + <button function="shade" state="normal"><draw_ops /></button><button function="shade" state="pressed"><draw_ops /></button> + <button function="unshade" state="normal"><draw_ops /></button><button function="unshade" state="pressed"><draw_ops /></button> + <button function="above" state="normal"><draw_ops /></button><button function="above" state="pressed"><draw_ops /></button> + <button function="unabove" state="normal"><draw_ops /></button><button function="unabove" state="pressed"><draw_ops /></button> + <button function="stick" state="normal"><draw_ops /></button><button function="stick" state="pressed"><draw_ops /></button> + <button function="unstick" state="normal"><draw_ops /></button><button function="unstick" state="pressed"><draw_ops /></button> +</frame_style> + +<frame_style name="utility_focused" geometry="utility" parent="normal_focused"> + <button function="right_right_background" state="normal" draw_ops="button_bg_focused_single_right"/> + <button function="right_right_background" state="prelight" draw_ops="button_bg_prelight_single_right"/> + <button function="right_right_background" state="pressed" draw_ops="button_bg_pressed_single_right"/> + <button function="right_middle_background" state="normal" draw_ops="button_bg_focused_single_right"/> + <button function="right_middle_background" state="prelight" draw_ops="button_bg_prelight_single_right"/> + <button function="right_middle_background" state="pressed" draw_ops="button_bg_pressed_single_right"/> + <button function="close" state="normal" draw_ops="icon_close_single"/> + <button function="close" state="prelight" draw_ops="icon_close_single"/> + <button function="close" state="pressed" draw_ops="icon_close_single"/> +</frame_style> + +<frame_style name="utility_unfocused" geometry="utility" parent="normal_unfocused"> + <button function="close" state="normal" draw_ops="button_close_unfocused"/> + <button function="close" state="prelight" draw_ops="button_close_unfocused_prelight"/> + <button function="close" state="pressed" draw_ops="button_close_unfocused_pressed"/> +</frame_style> + + +<frame_style name="dialog_focused" geometry="dialog" parent="normal_focused"> + <button function="right_right_background" state="normal" draw_ops="button_bg_focused_single_right"/> + <button function="right_right_background" state="prelight" draw_ops="button_bg_prelight_single_right"/> + <button function="right_right_background" state="pressed" draw_ops="button_bg_pressed_single_right"/> + <button function="right_middle_background" state="normal" draw_ops="button_bg_focused_single_right"/> + <button function="right_middle_background" state="prelight" draw_ops="button_bg_prelight_single_right"/> + <button function="right_middle_background" state="pressed" draw_ops="button_bg_pressed_single_right"/> + <button function="close" state="normal" draw_ops="icon_close_single"/> + <button function="close" state="prelight" draw_ops="icon_close_single"/> + <button function="close" state="pressed" draw_ops="icon_close_single"/> +</frame_style> + +<frame_style name="dialog_unfocused" geometry="dialog" parent="normal_unfocused"> + <button function="right_right_background" state="normal" draw_ops="button_bg_focused_single_right"/> + <button function="right_right_background" state="prelight" draw_ops="button_bg_prelight_single_right"/> + <button function="right_right_background" state="pressed" draw_ops="button_bg_pressed_single_right"/> + <button function="right_middle_background" state="normal" draw_ops="button_bg_focused_single_right"/> + <button function="right_middle_background" state="prelight" draw_ops="button_bg_prelight_single_right"/> + <button function="right_middle_background" state="pressed" draw_ops="button_bg_pressed_single_right"/> + <button function="close" state="normal" draw_ops="icon_close_single"/> + <button function="close" state="prelight" draw_ops="icon_close_single"/> + <button function="close" state="pressed" draw_ops="icon_close_single"/> +</frame_style> + + <!-- frame style sets --> + + <frame_style_set name="normal"> + <frame state="normal" resize="none" focus="no" style="normal_unfocused"/> + <frame state="normal" resize="none" focus="yes" style="normal_focused"/> + <frame state="normal" resize="both" focus="no" style="normal_unfocused"/> + <frame state="normal" resize="both" focus="yes" style="normal_focused"/> + + <frame state="shaded" focus="no" style="normal_unfocused"/> + <frame state="shaded" focus="yes" style="normal_focused"/> + + <frame state="maximized" focus="no" style="maximized_unfocused"/> + <frame state="maximized" focus="yes" style="maximized_focused"/> + + <frame state="maximized_and_shaded" focus="no" style="maximized_unfocused"/> + <frame state="maximized_and_shaded" focus="yes" style="maximized_focused"/> + + </frame_style_set> + + <frame_style_set name="utility"> + <frame state="normal" resize="none" focus="no" style="utility_unfocused"/> + <frame state="normal" resize="none" focus="yes" style="utility_focused"/> + <frame state="normal" resize="both" focus="no" style="utility_unfocused"/> + <frame state="normal" resize="both" focus="yes" style="utility_focused"/> + + <frame state="shaded" focus="no" style="utility_unfocused"/> + <frame state="shaded" focus="yes" style="utility_focused"/> + + <frame state="maximized" focus="no" style="utility_unfocused"/> + <frame state="maximized" focus="yes" style="utility_focused"/> + + <frame state="maximized_and_shaded" focus="no" style="utility_unfocused"/> + <frame state="maximized_and_shaded" focus="yes" style="utility_focused"/> + + </frame_style_set> + + <frame_style_set name="dialog"> + <frame state="normal" resize="none" focus="no" style="dialog_unfocused"/> + <frame state="normal" resize="none" focus="yes" style="dialog_focused"/> + <frame state="normal" resize="both" focus="no" style="dialog_unfocused"/> + <frame state="normal" resize="both" focus="yes" style="dialog_focused"/> + + <frame state="shaded" focus="no" style="dialog_unfocused"/> + <frame state="shaded" focus="yes" style="dialog_focused"/> + + <frame state="maximized" focus="no" style="dialog_unfocused"/> + <frame state="maximized" focus="yes" style="dialog_focused"/> + + <frame state="maximized_and_shaded" focus="no" style="dialog_unfocused"/> + <frame state="maximized_and_shaded" focus="yes" style="dialog_focused"/> + + </frame_style_set> + + + <frame_style_set name="border"> + <frame state="normal" resize="none" focus="no" style="border_unfocused"/> + <frame state="normal" resize="none" focus="yes" style="border_focused"/> + <frame state="normal" resize="both" focus="no" style="border_unfocused"/> + <frame state="normal" resize="both" focus="yes" style="border_focused"/> + + <frame state="shaded" focus="no" style="border_unfocused"/> + <frame state="shaded" focus="yes" style="border_focused"/> + + <frame state="maximized" focus="no" style="border_unfocused"/> + <frame state="maximized" focus="yes" style="border_focused"/> + + <frame state="maximized_and_shaded" focus="no" style="border_unfocused"/> + <frame state="maximized_and_shaded" focus="yes" style="border_focused"/> + + </frame_style_set> + + <!-- window types --> + + <window type="normal" style_set="normal"/> + <window type="dialog" style_set="dialog"/> + <window type="modal_dialog" style_set="dialog"/> + <window type="menu" style_set="utility"/> + <window type="utility" style_set="utility"/> + <window type="border" style_set="border"/> + + <!-- menu icons --> + + <menu_icon function="close" state="normal" draw_ops="menu_button_close"/> + <menu_icon function="maximize" state="normal" draw_ops="menu_button_maximize"/> + <menu_icon function="unmaximize" state="normal" draw_ops="menu_button_maximize"/> + <menu_icon function="minimize" state="normal" draw_ops="menu_button_minimize"/> + +</metacity_theme> diff --git a/themes/Makefile.am b/themes/Makefile.am new file mode 100644 index 00000000..0f468fcd --- /dev/null +++ b/themes/Makefile.am @@ -0,0 +1,4 @@ +SUBDIRS = Adwaita + +-include $(top_srcdir)/git.mk + |