diff options
author | raveit <[email protected]> | 2013-02-25 09:31:01 +0100 |
---|---|---|
committer | raveit <[email protected]> | 2013-02-25 09:31:01 +0100 |
commit | 4d6e0b34ca6c18debbd7a662f41b76894e92e2e7 (patch) | |
tree | 1f5758075d644841c653a869804015f99729cbaa /gtk-themes/ContrastHigh | |
parent | 35256bca20711ff8d7cf60bf08dd74e4d753dbd9 (diff) | |
download | mate-themes-4d6e0b34ca6c18debbd7a662f41b76894e92e2e7.tar.bz2 mate-themes-4d6e0b34ca6c18debbd7a662f41b76894e92e2e7.tar.xz |
add contrasthigh gtk-3 and metacity theme
Diffstat (limited to 'gtk-themes/ContrastHigh')
-rw-r--r-- | gtk-themes/ContrastHigh/Makefile.am | 20 | ||||
-rw-r--r-- | gtk-themes/ContrastHigh/create-contrasthigh.c | 381 | ||||
-rw-r--r-- | gtk-themes/ContrastHigh/gtk-2.0/Makefile.am | 5 | ||||
-rw-r--r-- | gtk-themes/ContrastHigh/gtk-3.0/Makefile.am | 19 | ||||
-rw-r--r-- | gtk-themes/ContrastHigh/gtk-3.0/gtk-widgets.css | 1196 | ||||
-rw-r--r-- | gtk-themes/ContrastHigh/gtk-3.0/gtk.css | 91 | ||||
-rw-r--r-- | gtk-themes/ContrastHigh/gtk-3.0/gtk.gresource.xml | 6 | ||||
-rw-r--r-- | gtk-themes/ContrastHigh/gtk-3.0/settings.ini | 2 | ||||
-rw-r--r-- | gtk-themes/ContrastHigh/metacity-1/Makefile.am | 7 | ||||
-rw-r--r-- | gtk-themes/ContrastHigh/metacity-1/Makefile.in | 499 | ||||
-rw-r--r-- | gtk-themes/ContrastHigh/metacity-1/metacity-theme-3.xml | 1925 |
11 files changed, 4148 insertions, 3 deletions
diff --git a/gtk-themes/ContrastHigh/Makefile.am b/gtk-themes/ContrastHigh/Makefile.am index ad1bfcf8..d960d395 100644 --- a/gtk-themes/ContrastHigh/Makefile.am +++ b/gtk-themes/ContrastHigh/Makefile.am @@ -1,5 +1,19 @@ -themedir = $(datadir)/themes/ContrastHigh/gtk-2.0 +SUBDIRS = \ + gtk-3.0 \ + gtk-2.0 \ + metacity-1 -theme_DATA = gtkrc +THEME_NAME=ContrastHigh -EXTRA_DIST= $(theme_DATA) +themedir = $(datadir)/themes/$(THEME_NAME) + +noinst_PROGRAMS = +if GTK3 +noinst_PROGRAMS += create-contrasthigh +endif + +create_contrasthigh_SOURCES = create-contrasthigh.c +create_contrasthigh_CFLAGS = $(CONTRASTHIGH_CFLAGS) +create_contrasthigh_LDADD = $(CONTRASTHIGH_LIBS) -lm + +-include $(top_srcdir)/git.mk diff --git a/gtk-themes/ContrastHigh/create-contrasthigh.c b/gtk-themes/ContrastHigh/create-contrasthigh.c new file mode 100644 index 00000000..4902d076 --- /dev/null +++ b/gtk-themes/ContrastHigh/create-contrasthigh.c @@ -0,0 +1,381 @@ +#include <cairo/cairo.h> +#include <gio/gio.h> +#include <gdk-pixbuf/gdk-pixbuf.h> +#include <gdk/gdk.h> +#include <glib.h> +#include <string.h> +#include <math.h> + +GFile *gnome_dir = NULL; +GFile *hc_dir = NULL; + +static const gint icon_sizes[] = { + 16, 22, 24, 32, 48, 256 +}; + +static char * +replace_str (char *str, + const char *substr, + const char *new_substr) +{ + static char buf[4096]; + char *ptr; + + /* if we didn't find the substring, return */ + if (!(ptr = (char*)strstr (str, substr))) + return str; + + /* copy up to the substring */ + strncpy (buf, str, ptr - str); + buf[ptr - str] = '\0'; + + if (strlen (substr) >=strlen (new_substr)) + { + sprintf (buf + (ptr - str), "%s%s", new_substr, ptr + strlen (substr)); + } + else + { + static char buf2[4096]; + + strncpy (buf2, str, ptr - str + strlen (substr)); + buf2[ptr - str + strlen (substr)] = '\0'; + + sprintf (buf2 + (ptr - str), "%s%s", new_substr, ptr + strlen (substr)); + strncpy (buf, buf2, strlen (buf)); + } + + return buf; +} + +static gchar * +ensure_dest_path (GFile *file, + gint icon_size) +{ + gchar *str, *str2, *size_string, *dest_path; + GFile *dest_file, *dest_dir, *tmp; + + str = g_file_get_relative_path (gnome_dir, file); + tmp = g_file_resolve_relative_path (hc_dir, str); + g_free (str); + + str = g_file_get_path (tmp); + size_string = g_strdup_printf ("%dx%d", icon_size, icon_size); + str2 = replace_str (str, "-symbolic.svg", ".png"); + dest_path = replace_str (str2, "scalable", size_string); + + dest_file = g_file_new_for_path (dest_path); + dest_dir = g_file_get_parent (dest_file); + + g_file_make_directory_with_parents (dest_dir, NULL, NULL); + + g_object_unref (dest_file); + g_object_unref (dest_dir); + g_object_unref (tmp); + g_free (str); + g_free (size_string); + + return dest_path; +} + +static void +optimize_png (const gchar *png_path) +{ + gchar *cmd = g_strconcat ("optipng -quiet", " ", png_path, NULL); + g_spawn_command_line_async (cmd, NULL); + g_free (cmd); +} + +static GdkPixbuf * +get_recolored_svg (GFile *file, + gint icon_size) +{ + gchar *data, *str; + GdkPixbuf *pixbuf; + GInputStream *stream; + + str = g_file_get_path (file); + data = g_strconcat ("<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"no\"?>\n" + "<svg version=\"1.1\"\n" + " xmlns=\"http://www.w3.org/2000/svg\"\n" + " xmlns:xi=\"http://www.w3.org/2001/XInclude\"\n" + " width=\"16\"\n" + " height=\"16\">\n" + " <style type=\"text/css\">\n" + " rect,path {\n" + " fill: black !important;\n" + " }\n" + " .warning {\n" + " fill: #f57900 !important;\n" + " }\n" + " .error {\n" + " fill: #cc0000 !important;\n" + " }\n" + " .success {\n" + " fill: #4e9a06 !important;\n" + " }\n" + " </style>\n" + " <xi:include href=\"", str, "\"/>\n" + "</svg>", + NULL); + + stream = g_memory_input_stream_new_from_data (data, -1, g_free); + pixbuf = gdk_pixbuf_new_from_stream_at_scale (stream, + icon_size, icon_size, + TRUE, NULL, NULL); + g_object_unref (stream); + g_free (str); + + return pixbuf; +} + +/* taken from gdkcairo.c */ +static gboolean +_gdk_cairo_surface_extents (cairo_surface_t *surface, + GdkRectangle *extents) +{ + double x1, x2, y1, y2; + cairo_t *cr; + + g_return_val_if_fail (surface != NULL, FALSE); + g_return_val_if_fail (extents != NULL, FALSE); + + cr = cairo_create (surface); + cairo_clip_extents (cr, &x1, &y1, &x2, &y2); + cairo_destroy (cr); + + x1 = floor (x1); + y1 = floor (y1); + x2 = ceil (x2); + y2 = ceil (y2); + x2 -= x1; + y2 -= y1; + + if (x1 < G_MININT || x1 > G_MAXINT || + y1 < G_MININT || y1 > G_MAXINT || + x2 > G_MAXINT || y2 > G_MAXINT) + { + extents->x = extents->y = extents->width = extents->height = 0; + return FALSE; + } + + extents->x = x1; + extents->y = y1; + extents->width = x2; + extents->height = y2; + + return TRUE; +} + +/* This function originally from Jean-Edouard Lachand-Robert, and + * available at www.codeguru.com. Simplified for our needs, not sure + * how much of the original code left any longer. Now handles just + * one-bit deep bitmaps (in Window parlance, ie those that GDK calls + * bitmaps (and not pixmaps), with zero pixels being transparent. + * + * Changed again here from the GDK version to use an 8-bit surface instead + * of a 1-bit bitmap. + */ +static cairo_region_t * +_gdk_cairo_region_create_from_surface (cairo_surface_t *surface) +{ + cairo_region_t *region; + GdkRectangle extents, rect; + cairo_surface_t *image; + cairo_t *cr; + gint x, y, stride; + guchar *data; + + _gdk_cairo_surface_extents (surface, &extents); + + if (cairo_surface_get_content (surface) == CAIRO_CONTENT_COLOR) + return cairo_region_create_rectangle (&extents); + + if (cairo_surface_get_type (surface) != CAIRO_SURFACE_TYPE_IMAGE || + cairo_image_surface_get_format (surface) != CAIRO_FORMAT_A8) + { + /* coerce to an A8 image */ + image = cairo_image_surface_create (CAIRO_FORMAT_A8, + extents.width, extents.height); + cr = cairo_create (image); + cairo_set_source_surface (cr, surface, -extents.x, -extents.y); + cairo_paint (cr); + cairo_destroy (cr); + } + else + image = cairo_surface_reference (surface); + + data = cairo_image_surface_get_data (image); + stride = cairo_image_surface_get_stride (image); + + region = cairo_region_create (); + + for (y = 0; y < extents.height; y++) + { + for (x = 0; x < extents.width; x++) + { + /* Search for a continuous range of "non transparent pixels"*/ + gint x0 = x; + while (x < extents.width) + { + guint8 alpha = data[x]; + if (alpha < 24) + /* This pixel is "transparent"*/ + break; + x++; + } + + if (x > x0) + { + /* Add the pixels (x0, y) to (x, y+1) as a new rectangle + * in the region + */ + rect.x = x0; + rect.width = x - x0; + rect.y = y; + rect.height = 1; + + cairo_region_union_rectangle (region, &rect); + } + } + data += stride; + } + + cairo_surface_destroy (image); + + cairo_region_translate (region, extents.x, extents.y); + + return region; +} + +static void +write_png_theme (GList *svg_files, + gint icon_size) +{ + GList *l; + + g_print ("Writing size: %dx%d\n", icon_size, icon_size); + + for (l = svg_files; l != NULL; l = l->next) + { + GFile *file; + gchar *dest_path; + GdkPixbuf *pixbuf; + gint border_offset; + cairo_surface_t *surface; + cairo_region_t *region; + cairo_t *cr; + + file = l->data; + border_offset = (gint) floor (icon_size / 16); + pixbuf = get_recolored_svg (file, icon_size - 2.0 * border_offset); + + surface = cairo_image_surface_create (CAIRO_FORMAT_ARGB32, + icon_size, icon_size); + cr = cairo_create (surface); + + gdk_cairo_set_source_pixbuf (cr, pixbuf, + border_offset, border_offset); + cairo_paint (cr); + cairo_destroy (cr); + + region = _gdk_cairo_region_create_from_surface (surface); + cairo_surface_destroy (surface); + + surface = cairo_image_surface_create (CAIRO_FORMAT_ARGB32, + icon_size, icon_size); + cr = cairo_create (surface); + + cairo_save (cr); + gdk_cairo_region (cr, region); + + cairo_set_source_rgba (cr, 1.0, 1.0, 1.0, 1.0); + cairo_set_line_width (cr, 2.0 * border_offset); + cairo_set_line_cap (cr, CAIRO_LINE_CAP_ROUND); + cairo_set_line_join (cr, CAIRO_LINE_JOIN_ROUND); + + cairo_stroke (cr); + cairo_restore (cr); + + gdk_cairo_set_source_pixbuf (cr, pixbuf, + border_offset, border_offset); + cairo_paint (cr); + + dest_path = ensure_dest_path (file, icon_size); + cairo_surface_write_to_png (surface, dest_path); + + cairo_destroy (cr); + cairo_surface_destroy (surface); + cairo_region_destroy (region); + g_object_unref (pixbuf); + + optimize_png (dest_path); + } +} + +static void +process (int argc, + char **argv) +{ + GList *svg_files = NULL; + GQueue *descend_into_files; + GFile *current_dir, *symbolic_theme, *file; + gchar *str; + gint idx; + + str = g_get_current_dir (); + current_dir = g_file_new_for_path (str); + g_free (str); + + symbolic_theme = g_file_new_for_commandline_arg (argv[1]); + gnome_dir = g_file_resolve_relative_path (symbolic_theme, "gnome"); + hc_dir = g_file_resolve_relative_path (current_dir, "icons"); + g_object_unref (symbolic_theme); + + descend_into_files = g_queue_new (); + g_queue_push_tail (descend_into_files, g_object_ref (gnome_dir)); + while ((file = g_queue_pop_head (descend_into_files)) != NULL) + { + GFileInfo *child_info; + GFileEnumerator *enumerator = + g_file_enumerate_children (file, "standard::name,standard::type,standard::content-type", + G_FILE_QUERY_INFO_NONE, NULL, NULL); + + while ((child_info = g_file_enumerator_next_file (enumerator, NULL, NULL)) != NULL) + { + if (g_file_info_get_file_type (child_info) == G_FILE_TYPE_DIRECTORY) + g_queue_push_tail (descend_into_files, g_file_resolve_relative_path (file, g_file_info_get_name (child_info))); + else if (g_content_type_is_a (g_file_info_get_content_type (child_info), "image/svg+xml")) + svg_files = g_list_prepend (svg_files, g_file_resolve_relative_path (file, g_file_info_get_name (child_info))); + + g_object_unref (child_info); + } + + g_object_unref (enumerator); + g_object_unref (file); + } + + for (idx = 0; idx < G_N_ELEMENTS (icon_sizes); idx++) + write_png_theme (svg_files, icon_sizes[idx]); + + g_list_free_full (svg_files, g_object_unref); + g_queue_free (descend_into_files); + g_clear_object (&gnome_dir); + g_clear_object (&hc_dir); +} + +int +main (int argc, + char **argv) +{ + if (argc == 1) + { + g_critical ("Location of gnome-icon-theme-symbolic repo must be given"); + return 0; + } + + g_type_init (); + process (argc, argv); + g_spawn_command_line_async ("./create-makefiles.sh", NULL); + + return 0; +} diff --git a/gtk-themes/ContrastHigh/gtk-2.0/Makefile.am b/gtk-themes/ContrastHigh/gtk-2.0/Makefile.am new file mode 100644 index 00000000..ad1bfcf8 --- /dev/null +++ b/gtk-themes/ContrastHigh/gtk-2.0/Makefile.am @@ -0,0 +1,5 @@ +themedir = $(datadir)/themes/ContrastHigh/gtk-2.0 + +theme_DATA = gtkrc + +EXTRA_DIST= $(theme_DATA) diff --git a/gtk-themes/ContrastHigh/gtk-3.0/Makefile.am b/gtk-themes/ContrastHigh/gtk-3.0/Makefile.am new file mode 100644 index 00000000..f8add4cc --- /dev/null +++ b/gtk-themes/ContrastHigh/gtk-3.0/Makefile.am @@ -0,0 +1,19 @@ +gtk.gresource: gtk.gresource.xml $(shell $(GLIB_COMPILE_RESOURCES) --generate-dependencies $(srcdir)/gtk.gresource.xml) + $(AM_V_GEN) $(GLIB_COMPILE_RESOURCES) --target=$@ --sourcedir=$(srcdir) $< + +themedir = $(datadir)/themes/ContrastHigh/gtk-3.0 +theme_DATA = \ + gtk.css \ + gtk.gresource \ + settings.ini + +EXTRA_DIST = \ + gtk.css \ + gtk-widgets.css \ + gtk.gresource.xml \ + settings.ini + +CLEANFILES = \ + gtk.gresource + +-include $(top_srcdir)/git.mk diff --git a/gtk-themes/ContrastHigh/gtk-3.0/gtk-widgets.css b/gtk-themes/ContrastHigh/gtk-3.0/gtk-widgets.css new file mode 100644 index 00000000..fe0fd836 --- /dev/null +++ b/gtk-themes/ContrastHigh/gtk-3.0/gtk-widgets.css @@ -0,0 +1,1196 @@ +/* common color definitions */ + +@define-color warning_color #faad3d; +@define-color warning_bg_color @warning_color; +@define-color warning_fg_color black; + +@define-color question_color #8aadd4; +@define-color question_bg_color @question_color; +@define-color question_fg_color white; + +@define-color error_color #ed3636; +@define-color error_bg_color @error_color; +@define-color error_fg_color white; + +@define-color error_color #cc0000; +@define-color success_color #4e9a06; + +/* fallback mode */ +@define-color os_chrome_bg_color black; +@define-color os_chrome_fg_color #ccc; +@define-color os_chrome_selected_bg_color #333; +@define-color os_chrome_selected_fg_color white; + +* { + -GtkRange-stepper-size: 2; + -GtkScale-slider-length: 28; + -GtkRange-slider-width: 28; + + -GtkTreeView-expander-size: 16; + + -GtkWidget-cursor-color: @theme_cursor_color; + -GtkWidget-cursor-aspect-ratio: 0.08; + + -GtkWidget-focus-padding: 1; + -GtkWidget-focus-line-width: 2; + -GtkWidget-focus-line-pattern: "\002\002"; + + -GtkMenu-horizontal-padding: 0; + -GtkMenu-vertical-padding: 0; + + -GtkScrolledWindow-scrollbar-spacing: 0; + -GtkScrolledWindow-scrollbars-within-bevel: 1; + + -GtkComboBox-arrow-scaling: 0.9; + -GtkButton-default-border: 0; + + -GtkWindow-resize-grip-width: 0; + -GtkWindow-resize-grip-height: 0; + + background-clip: padding-box; +} + +GtkWindow { + color: @theme_fg_color; + background-color: @theme_base_color; +} + +/* FIXME: why do we still need this? */ +GtkClutterOffscreen { + background-color: @theme_base_color; +} + +*:insensitive { + background-color: @theme_button_insensitive_bg; + border-color: @theme_button_insensitive_active_bg; +} + +*:selected { + background-color: @theme_active_color; + color: @theme_base_color; +} + +.gtkstyle-fallback { + background-color: @theme_base_color; + color: @theme_fg_color; +} + +.gtkstyle-fallback:prelight { + background-color: @theme_fg_color; + color: @theme_base_color; +} + +.gtkstyle-fallback:active { + background-color: @theme_active_color; + color: @theme_base_color; +} + +.gtkstyle-fallback:insensitive { + background-color: @theme_insensitive_bg; + color: @theme_insensitive_color; +} + +.gtkstyle-fallback:selected { + background-color: @theme_active_color; + color: @theme_base_color; +} + +/******** + * Misc * + ********/ +GtkCheckButton:selected, +GtkCheckButton:selected:focus { + background-color: @theme_internal_bg; + color: @theme_fg_color; +} + +.image { + color: @theme_active_color; +} + +.image:hover { + color: @theme_fg_color; +} + +GtkLabel, +GtkLabel:insensitive, +GtkImage, +GtkImage:insensitive { + background-color: transparent; +} + +.tooltip { + background-color: @theme_fg_color; + color: @theme_insensitive_bg; +} + +.view.rubberband, +.rubberband { + border-color: @theme_fg_color; + border-style: solid; + border-width: 1px; + + background-color: alpha(@theme_internal_bg, 0.35); +} + +.grip { + background-color: @theme_insensitive_color; +} + +.separator { + color: @theme_insensitive_border; +} + +.floating-bar { + background-color: @theme_insensitive_bg; +} + +GtkColorButton.button { + padding: 1px 16px; +} + +GtkColorSwatch { + border-width: 1px; + border-style: solid; + border-color: @theme_fg_color; +} + +/****************** + * Colored states * + ******************/ +.info { + background-color: @theme_active_color; + color: @theme_base_color; +} + +.warning { + background-color: @warning_bg_color; + color: @warning_fg_color; +} + +.question { + background-color: @question_bg_color; + color: @question_fg_color; +} + +.error { + background-color: @error_bg_color; + color: @error_fg_color; +} + +/************* + * Level bar * + *************/ +GtkLevelBar { + -GtkLevelBar-min-block-width: 34; + -GtkLevelBar-min-block-height: 3; +} + +GtkLevelBar.vertical { + -GtkLevelBar-min-block-width: 3; + -GtkLevelBar-min-block-height: 34; +} + +.level-bar.trough { + padding: 2px; +} + +.level-bar.fill-block { + padding: 2px; + + border-width: 1px; + border-style: solid; + + background-color: @theme_highlight_color; +} + +.level-bar.fill-block.level-high { + background-color: @success_color; + border-color: darker(@success_color); +} + +.level-bar.fill-block.level-low { + background-color: @warning_bg_color; + border-color: darker(@warning_bg_color); +} + +.level-bar.fill-block.empty-fill-block { + background-color: transparent; + border-color: @theme_border_color; +} + +.level-bar.indicator-discrete.fill-block.horizontal { + margin: 0 1px; +} + +.level-bar.indicator-discrete.fill-block.vertical { + margin: 1px 0; +} + +/*********** + * Buttons * + ***********/ +.button { + border-width: 2px; + border-style: solid; + border-color: @theme_button_fg; + + border-radius: 3px; + + background-color: @theme_button_bg; + padding: 1px 4px; + color: @theme_button_fg; +} + +.button:active { + background-color: @theme_button_active_bg; + color: @theme_base_color; + border-color: @theme_button_active_border; +} + +.button:insensitive { + background-color: @theme_button_insensitive_bg; + color: @theme_button_insensitive_fg; + border-color: @theme_button_insensitive_border; +} + +GtkComboBox:insensitive { + color: @theme_button_insensitive_fg +} + +.button:insensitive:active { + background-color: @theme_button_insensitive_active_bg; + color: @theme_button_insensitive_active_fg; + border-color: @theme_button_insensitive_active_border; +} + +.button:hover { + background-color: @theme_fg_color; + border-color: @theme_fg_color; + color: @theme_base_color; +} + +.button:hover:active { + background-color: @theme_fg_color; + border-color: @theme_fg_color; +} + +/*********** + * Entries * + ***********/ +.entry { + border-width: 1px; + border-style: solid; + border-color: @theme_fg_color; + + border-radius: 3px; + + background-color: @theme_entry_bg; + padding: 4px; +} + +.entry:selected { + background-color: @theme_active_color; + color: @theme_base_color; +} + +/* needed for webkit/GtkStyle compatibility */ +.entry:active { + background-color: @theme_active_color; + color: @theme_base_color; +} + +.entry:focus { + border-width: 2px; + border-color: @theme_highlight_color; +} + +.entry:insensitive { + border-color: @theme_insensitive_border; + background-color: @theme_insensitive_bg; + color: @theme_insensitive_color; +} + +/************** + * Comboboxes * + **************/ +GtkComboBox *:hover { + color: @theme_insensitive_bg; +} + +GtkComboBox .separator { + color: transparent; +} + +GtkComboBox .button { + padding: 0 4px; +} + +.combobox-entry .button, +.toolbar .combobox-entry .button { + background-color: @theme_entry_bg; + color: @theme_fg_color; + border-width: 1px; + border-color: @theme_fg_color; +} + +.combobox-entry .button:hover { + background-color: @theme_fg_color; +} + +.combobox-entry .button:active { + background-color: @theme_active_color; + color: @theme_base_color; +} + +.combobox-entry .button:insensitive { + background-color: @theme_insensitive_bg; + color: @theme_internal_bg; + border-color: @theme_insensitive_border; +} + +.combobox-entry .entry:first-child { + border-right-width: 0px; + border-radius: 2px 0 0 2px; +} + +.combobox-entry .entry:last-child { + border-left-width: 0px; + border-radius: 0 2px 2px 0; +} + +.combobox-entry .button:first-child { + border-radius: 2px 0 0 2px; +} + +.combobox-entry .button:last-child { + border-radius: 0 2px 2px 0; +} + +/*************************** + * Trough and progressbars * + ***************************/ +.trough { + background-color: @theme_trough_bg; + color: @theme_trough_fg; + + border-width: 1px; + border-style: solid; + border-color: @theme_trough_fg; + border-radius: 3px; +} + +.trough:insensitive { + border-color: @theme_trough_insensitive_border; + background-color: @theme_trough_insensitive_bg; + color: @theme_trough_insensitive_fg; +} + +.trough:insensitive:active { + background-color: @theme_insensitive_bg; +} + +.progressbar { + background-color: @theme_highlight_color; + border-width: 1px; + border-color: @theme_highlight_border; + border-radius: 3px; + border-style: solid; +} + +/*************** + * Spinbuttons * + ***************/ +.spinbutton .button { + padding: 2px 6px; + color: @theme_active_color; + + border-width: 1px; + border-radius: 0; + background-color: @theme_entry_bg; + background-clip: border-box; + + border-color: transparent @theme_internal_border; +} + +.spinbutton .button:hover { + background-color: @theme_active_color; + color: @theme_insensitive_bg; + border-color: transparent @theme_active_color; +} + +.spinbutton .button:insensitive { + color: @theme_insensitive_color; + background-color: @theme_insensitive_bg; + border-color: transparent @theme_insensitive_border; +} + +.spinbutton .button:focus { + border-color: @theme_highlight_color; +} + +.spinbutton .button:first-child, +.spinbutton .button:last-child { + border-color: transparent; +} + +.spinbutton .button:first-child:focus { + border-color: @theme_highlight_color; + border-right-color: transparent; +} + +.spinbutton .button:last-child:focus { + border-color: @theme_highlight_color; + border-left-color: transparent; +} + +.spinbutton .button:first-child { + border-radius: 2px 0 0 2px; +} + +.spinbutton .button:last-child { + border-radius: 0 2px 2px 0; +} + +/********* + * Menus * + *********/ +.menuitem { + color: @theme_fg_color; +} + +.menuitem:insensitive { + color: @theme_button_insensitive_fg; +} + +.menubar .menuitem { + padding: 3px 5px; +} + +.menubar .menuitem:hover { + background-color: @theme_active_color; + color: @theme_base_color; +} + +.menu .menuitem { + padding: 4px; +} + +.menu .menuitem:hover { + background-color: @theme_active_color; + color: @theme_base_color; +} + +.menu { + border-style: solid; + border-color: @theme_fg_color; + border-width: 1px; + + color: @theme_fg_color; +} + +.menuitem.separator { + -GtkMenuItem-horizontal-padding: 0; +} + +/************ + * Toolbars * + ************/ +.toolbar { + padding: 4px; + border-width: 1px 0; + border-style: solid; + border-color: @theme_border_color; + + background-color: @theme_toolbar_bg; +} + +.toolbar .button { + background-color: transparent; + padding: 1px; +} + +.toolbar .button:insensitive { + background-color: @theme_base_color; +} + +.primary-toolbar .button:insensitive { + background-color: transparent; + color: @theme_insensitive_color ; +} + +.raised .button, +.raised.button { + background-color: @theme_button_bg; +} + +.raised .button:insensitive, +.raised.button:insensitive { + border-color: @theme_button_insensitive_border; + background-color: @theme_button_insensitive_bg; + color: @theme_button_insensitive_fg; +} + +.raised .button:active, +.raised.button:active, +.primary-toolbar .button:active, +.toolbar .button:active { + background-color: @theme_button_active_bg; + border-color: @theme_button_active_border; +} + +.raised .button:hover, +.raised.button:hover, +.primary-toolbar .button:hover, +.toolbar .button:hover { + background-color: @theme_fg_color; + border-color: @theme_fg_color; +} + +.raised .button:active:insensitive, +.raised.button:active:insensitive, +.primary-toolbar .button:active:insensitive, +.toolbar .button:active:insensitive { + border-color: @theme_button_insensitive_active_bg; + background-color: @theme_button_insensitive_active_bg; + + color: @theme_base_color; +} + +/******************* + * Inline toolbars * + *******************/ +.inline-toolbar { + border-width: 0 1px 1px; + -GtkToolbar-button-relief: normal; +} + +.inline-toolbar:last-child { + border-radius: 0 0 3px 3px; +} + +.inline-toolbar .button { + color: @theme_inline_toolbar_button_fg; + background-color: @theme_inline_toolbar_button_bg; + + border-radius: 0; + border-width: 1px 0; + border-color: @theme_button_linked_border; + box-shadow: inset -1px 0 @theme_inline_toolbar_button_side; +} + +.inline-toolbar .button:hover { + color: @theme_base_color; + border-color: @theme_button_linked_border; + box-shadow: none; +} + +.inline-toolbar .button:active { + color: @theme_base_color; + border-color: @theme_button_linked_border; +} + +.inline-toolbar .button:insensitive { + border-color: @theme_button_linked_border; + + background-color: @theme_button_linked_insensitive_bg; + color: @theme_button_linked_insensitive_fg; +} + +.inline-toolbar .button:insensitive:active { + border-color: @theme_button_linked_border; +} + +.inline-toolbar .button:first-child, +.inline-toolbar GtkToolButton:first-child .button { + border-radius: 3px 0 0 3px; + border-left-width: 1px; +} + +.inline-toolbar .button:last-child, +.inline-toolbar GtkToolButton:last-child .button { + border-radius: 0 3px 3px 0; + border-right-width: 1px; + box-shadow: none; +} + +.primary-toolbar.toolbar, +.primary-toolbar .toolbar, +.menubar.toolbar { + -GtkToolbar-button-relief: normal; +} + +.primary-toolbar.toolbar, +.primary-toolbar .toolbar, +.menubar { + -GtkWidget-window-dragging: true; +} + +.primary-toolbar .button { + border-color: transparent; +} + +.primary-toolbar .button.raised, +.primary-toolbar .raised .button { + border-color: @theme_button_fg; +} + +/****************** + * Linked buttons * + ******************/ +.osd .button, +.linked .button { + border-left-width: 0; + border-radius: 0; +} + +.osd .button:first-child, +.linked .button:first-child { + border-radius: 3px 0 0 3px; + border-left-width: 2px; +} + +.osd .button:last-child, +.linked .button:last-child { + border-radius: 0 3px 3px 0; +} + +.osd .button:only-child, +.linked .button:only-child { + border-radius: 3px; + border-width: 2px; +} + +/********** + * Scales * + **********/ +GtkScale.trough { + background-image: linear-gradient(to bottom, + transparent, + transparent 14px, + @theme_scale_trough_bg 14px, + @theme_scale_trough_bg 16px, + transparent 16px, + transparent); + + background-color:transparent; + border-style: none; +} + +GtkScale.trough:insensitive { + background-image: linear-gradient(to bottom, + transparent, + transparent 14px, + @theme_scale_trough_insensitive_bg 14px, + @theme_scale_trough_insensitive_bg 16px, + transparent 16px, + transparent); + background-color: transparent; +} + +GtkScale.trough.vertical { + background-image: linear-gradient(to right, + transparent, + transparent 14px, + @theme_scale_trough_bg 14px, + @theme_scale_trough_bg 16px, + transparent 16px, + transparent); + background-color:transparent; + border-style: none; +} + +GtkScale.trough.vertical:insensitive { + background-image: linear-gradient(to right, + transparent, + transparent 14px, + @theme_scale_trough_insensitive_bg 14px, + @theme_scale_trough_insensitive_bg 16px, + transparent 16px, + transparent); +} + +GtkScale.slider { + background-clip: border-box; + background-color: @theme_button_bg; + + border-radius: 15px; + border-color: @theme_active_color; + border-style: solid; + border-width: 1px; +} + +GtkScale.slider:hover { + background-color: @theme_fg_color; + border-color: @theme_fg_color; +} + +GtkScale.slider:insensitive { + background-color: @theme_button_insensitive_bg; + border-color: @theme_button_insensitive_active_bg; +} + +/********** + * Switch * + **********/ +GtkSwitch { + font: bold; +} + +GtkSwitch.slider { + padding: 2px; + + border-width: 1px; + border-style: solid; + border-radius: 3px; + border-color: @theme_switch_slider_border; + + background-color: @theme_switch_slider_bg; + background-clip: border-box; +} + +GtkSwitch.slider:insensitive { + background-color: @theme_switch_slider_insensitive_bg; + border-color: @theme_switch_slider_insensitive_border; +} + +GtkSwitch.slider:active { + border-color: @theme_switch_slider_active_bg; + background-color: @theme_switch_slider_active_bg; +} + +GtkSwitch.slider:active:insensitive { + border-color: @theme_switch_slider_active_insensitive_bg; + background-color: @theme_switch_slider_active_insensitive_bg; +} + +GtkSwitch.trough { + color: @theme_button_fg; + border-radius: 3px; +} + +GtkSwitch.trough:active { + color: @theme_switch_slider_active_bg; + background-color: @theme_highlight_color; + border-color: @theme_highlight_alt; +} + +GtkSwitch.trough:active:insensitive { + background-color: alpha(@theme_highlight_color, 0.30); + border-color: alpha(@theme_highlight_alt, 0.30); + color: @theme_trough_insensitive_fg; +} + +/************ + * Notebook * + ************/ +.notebook { + border-width: 1px; + border-color: @theme_notebook_border; + border-style: solid; + background-clip: border-box; + background-color: @theme_notebook_bg; +} + +.notebook tab { + padding: 3px; + background-color: @theme_base_color; +} + +.notebook tab:active { + background-color: @theme_notebook_bg; + color: @theme_fg_color; +} + +.notebook tab.top { + border-image: linear-gradient(to bottom, + alpha(@theme_notebook_border, 0.00), + @theme_notebook_border) 1 / 0 1px; +} + +.notebook tab.top:active { + border-width: 1px 1px 0 1px; + border-radius: 4px 4px 0 0; + + border-image: none; +} + +.notebook tab.bottom { + border-width: 0 1px 1px 1px; +} + +.notebook tab.left { + border-width: 1px 0 1px 1px; +} + +.notebook tab.right { + border-width: 1px 1px 1px 0; +} + +/******************************* + * Frames and scrolled windows * + *******************************/ +.frame { + border-width: 1px; + border-style: solid; + border-color: @theme_border_color; +} + +GtkScrolledWindow.frame { + border-width: 1px; + border-style: solid; + border-color: @theme_border_color; +} + +/* avoid double borders when a viewport is + * packed into a GtkScrolledWindow */ +GtkScrolledWindow GtkViewport.frame { + border-style: none; +} + +.scrollbar { + -GtkRange-slider-width: 17; + -GtkRange-stepper-size: 17; + -GtkRange-trough-border: 0; + -GtkScrollbar-has-backward-stepper: false; + -GtkScrollbar-has-forward-stepper: false; + -GtkScrollbar-min-slider-length: 64; +} + +.scrollbar.trough { + background-color: @theme_internal_bg; + + border-width: 0; + border-color: transparent; + border-radius: 0; +} + +.scrollbars-junction { + background-color: @theme_internal_bg; +} + +.scrollbar.slider { + background-color: @theme_slider_bg; + + border-style: solid; + border-radius: 12px; + border-width: 3px; + border-color: transparent; +} + +.scrollbar.slider:hover, +.scrollbar.slider:active:hover { + background-color: @theme_fg_color; + border-width: 3px; + border-color: transparent; +} + +/****************** + * Column headers * + ******************/ +column-header .button, +column-header.button { + font: bold; + + border-width: 1px; + + border-top-width: 0; + border-right-width: 0; + border-radius: 0; +} + +column-header .button:hover { + background-color: @theme_fg_color; + color: @theme_base_color; + border-color: @theme_fg_color; +} + +column-header:first-child .button { + border-left-width: 0; +} + +/******************* + * Checks & Radios * + *******************/ +.check, +.radio { + border-width: 1px; + border-style: solid; + border-color: @theme_check_radio_border; + color: @theme_active_color; + + background-color: @theme_check_radio_bg; +} + +.check:insensitive, +.radio:insensitive { + border-color: @theme_button_insensitive_border; + color: @theme_button_insensitive_fg; + background-color: @theme_button_insensitive_bg; +} + +.menuitem.check, +.menuitem.radio { + background-color: transparent; + color: transparent; + border-color: transparent; +} + +.menuitem.radio:active, +.menuitem.check:active, +.menuitem.radio:inconsistent, +.menuitem.check:inconsistent { + color: @theme_active_color; +} + +.menuitem.radio:active:hover, +.menuitem.check:active:hover, +.menuitem.radio:inconsistent:hover, +.menuitem.check:inconsistent:hover { + color: @theme_base_color; +} + +.menuitem.radio:active:insensitive, +.menuitem.check:active:insensitive, +.menuitem.radio:inconsistent:insensitive, +.menuitem.check:inconsistent:insensitive { + color: @theme_button_insensitive_fg; +} + +/********* + * Views * + *********/ +.expander row:selected:focus { + color: @theme_base_color; +} + +GtkViewport { + background-color: @theme_view_bg; +} + +.view { + background-color: @theme_view_bg; + color: @theme_fg_color; +} + +.view:selected { + background-color: @theme_active_color; + color: @theme_base_color; +} + +.view:selected:focus { + background-color: @theme_fg_color; + color: @theme_base_color; +} + +GtkIconView.view.cell { + border-radius: 4px; +} + +/******* + * OSD * + *******/ +.osd { + color: @theme_base_color; + background-color: @theme_active_color; +} + +.osd.toolbar { + padding: 20px; + + border-style: solid; + border-color: @theme_internal_bg; + border-width: 2px; + + -GtkToolbar-button-relief: normal; +} + +.osd .button { + padding: 4px; + color: @theme_fg_color; + background-color: @theme_internal_bg; +} + +.osd GtkToolButton .button, +.osd .button:only-child { + border-width: 2px; + border-radius: 3px; + border-style: solid; +} + +.osd .button:hover { + color: @theme_base_color; +} + +.osd .button:active { + color: @theme_fg_color; + background-color: @theme_base_color; +} + +/********************** + * Fallback Mode Panel + **********************/ + +/* the panel bar itself */ +.gnome-panel-menu-bar, +PanelApplet > GtkMenuBar.menubar, +PanelToplevel, +PanelWidget, +PanelAppletFrame, +PanelApplet { + color: @os_chrome_fg_color; + + background-color: @os_chrome_bg_color; + background-image: none; +} + +/* applets on the panel */ +ClockBox, +.gnome-panel-menu-bar, +PanelApplet > GtkMenuBar.menubar { + font: bold; +} + +.gnome-panel-menu-bar .menuitem, +PanelApplet > GtkMenuBar.menubar .menuitem { + color: @os_chrome_fg_color; +} + +.gnome-panel-menu-bar .menuitem:hover, +PanelApplet > GtkMenuBar.menubar .menuitem:hover { + color: @os_chrome_selected_fg_color; + background-color: @os_chrome_selected_bg_color; +} + +.gnome-panel-menu-bar .menuitem *:hover, +PanelApplet > GtkMenuBar.menubar .menuitem *:hover { + text-shadow: 0 1px @os_chrome_bg_color; +} + +/* dropdown menus from applets */ +.gnome-panel-menu-bar .menu, +PanelApplet > GtkMenuBar.menubar .menu { + font: regular; +} + +.gnome-panel-menu-bar .menu *:hover, +PanelApplet > GtkMenuBar.menubar .menu *:hover { + text-shadow: none; +} + +.gnome-panel-menu-bar .menu .menuitem, +PanelApplet > GtkMenuBar.menubar .menu .menuitem { + color: @theme_fg_color; +} + +.gnome-panel-menu-bar .menu .menuitem:hover, +PanelApplet > GtkMenuBar.menubar .menu .menuitem:hover { + color: @os_chrome_selected_fg_color; + background-color: @os_chrome_selected_bg_color; +} + +/* application buttons */ +PanelApplet .button, +PanelApplet .button:hover { + padding: 4px; + + border-image: none; + border-width: 0; + border-radius: 0; + + background-image: none; + background-color: @os_chrome_bg_color; + + color: @os_chrome_fg_color; + text-shadow: none; +} + +PanelApplet .button:active:hover, +PanelApplet .button:active { + border-image: none; + background-image: none; + background-color: @os_chrome_selected_bg_color; + border-width: 0; + border-radius: 0; +} + +PanelApplet *:hover { + color: @os_chrome_selected_fg_color; +} + +PanelApplet *:active, +PanelApplet *:hover:active { + color: @os_chrome_selected_fg_color; + text-shadow: 0 1px @os_chrome_bg_color; +} + +WnckPager { + background-color: lighter(@os_chrome_selected_bg_color); +} + +NaTrayApplet { + -NaTrayApplet-icon-padding: 12; + -NaTrayApplet-icon-size: 16; +} + +/**************** + * App-specific * + ****************/ +TerminalScreen { + background-color: @theme_base_color; + color: @theme_fg_color; +} + +.nautilus-cluebar-label { + color: @theme_base_color; + font: bold; +} + +NautilusWindow .pane-separator { + border-style: solid; + border-width: 1px; + border-color: @theme_border_color; +} + +NautilusWindow .sidebar .frame { + border-style: solid; + border-width: 1px 0 0 0; +} + +.nautilus-inactive-pane .view { + background-color: @theme_insensitive_bg; +} + +.nautilus-desktop.nautilus-canvas-item { + color: @theme_base_color; + text-shadow: 1px 1px black; +} + +.nautilus-desktop.nautilus-canvas-item:selected { + color: @theme_base_color; +} + +.nautilus-desktop.nautilus-canvas-item:backdrop { + background-color: @theme_fg_color; +} + +.nautilus-desktop.nautilus-canvas-item:active, +.nautilus-desktop.nautilus-canvas-item:prelight, +.nautilus-desktop.nautilus-canvas-item:selected { + text-shadow: none; +} + +.documents-icon-bg { + background-color: @theme_internal_bg; + color: @theme_fg_color; + border-radius: 3px; +} + +.documents-collection-icon { + background-color: @theme_internal_bg; + border-radius: 6px; +} + +.documents-selection-mode.toolbar { + background-color: @theme_internal_bg; +} diff --git a/gtk-themes/ContrastHigh/gtk-3.0/gtk.css b/gtk-themes/ContrastHigh/gtk-3.0/gtk.css new file mode 100644 index 00000000..120fc154 --- /dev/null +++ b/gtk-themes/ContrastHigh/gtk-3.0/gtk.css @@ -0,0 +1,91 @@ +@define-color theme_base_color #fff; +@define-color theme_fg_color #000; +@define-color theme_active_color #555753; +@define-color theme_border_color @theme_active_color; + +@define-color theme_highlight_color #3465a4; +@define-color theme_highlight_alt #204a87; +@define-color theme_highlight_border #12294a; + +@define-color theme_internal_bg #d6d6d6; +@define-color theme_internal_border shade(@theme_internal_bg, 0.90); + +@define-color theme_insensitive_color #7a7a79; +@define-color theme_insensitive_bg #f4f4f2; +@define-color theme_insensitive_border #babdb6; + +@define-color theme_slider_bg #6f706d; + +@define-color theme_button_bg #eeeeec; +@define-color theme_button_fg #2e3436; +@define-color theme_button_active_bg @theme_slider_bg; +@define-color theme_button_active_border @theme_slider_bg; +@define-color theme_button_insensitive_bg #fafaf9; +@define-color theme_button_insensitive_fg #c6c8c8; +@define-color theme_button_insensitive_border #c1c2c3; +@define-color theme_button_insensitive_active_bg #cccdcc; +@define-color theme_button_insensitive_active_fg @theme_base_color; +@define-color theme_button_insensitive_active_border @theme_button_insensitive_active_bg; +@define-color theme_button_linked_border @theme_active_color; +@define-color theme_button_linked_insensitive_bg @theme_button_insensitive_bg; +@define-color theme_button_linked_insensitive_fg @theme_button_insensitive_fg; + +@define-color theme_entry_bg @theme_base_color; + +@define-color theme_notebook_bg @theme_base_color; +@define-color theme_notebook_border @theme_active_color; + +@define-color theme_scale_trough_bg @theme_active_color; +@define-color theme_scale_trough_insensitive_bg @theme_button_insensitive_active_bg; + +@define-color theme_switch_slider_bg @theme_active_color; +@define-color theme_switch_slider_border @theme_active_color; +@define-color theme_switch_slider_active_bg @theme_base_color; +@define-color theme_switch_slider_insensitive_bg @theme_trough_insensitive_fg; +@define-color theme_switch_slider_insensitive_border @theme_trough_insensitive_fg; +@define-color theme_switch_slider_active_insensitive_bg @theme_base_color; + +@define-color theme_trough_bg @theme_button_bg; +@define-color theme_trough_fg @theme_active_color; +@define-color theme_trough_insensitive_bg #fafaf9; +@define-color theme_trough_insensitive_fg @theme_button_insensitive_active_bg; +@define-color theme_trough_insensitive_border @theme_button_insensitive_active_bg; + +@define-color theme_toolbar_bg @theme_button_bg; +@define-color theme_inline_toolbar_button_bg @theme_base_color; +@define-color theme_inline_toolbar_button_fg @theme_fg_color; +@define-color theme_inline_toolbar_button_side #dddedb; + +@define-color theme_check_radio_bg @theme_button_bg; +@define-color theme_check_radio_border @theme_border_color; + +@define-color theme_view_bg @theme_base_color; + +@define-color theme_cursor_color @theme_fg_color; + +@define-color wm_border_color @theme_fg_color; +@define-color wm_border_bakcdrop_color @theme_insensitive_border; +@define-color wm_button_bg @theme_button_bg; +@define-color wm_button_fg @theme_button_fg; +@define-color wm_button_pressed_fg @theme_internal_bg; +@define-color wm_button_prelight_bg @theme_fg_color; +@define-color wm_button_pressed_bg @theme_fg_color; +@define-color wm_button_prelight_fg @theme_base_color; +@define-color wm_button_pressed_fg @theme_base_color; + +* { + /* Pidgin */ + -GtkIMHtml-hyperlink-color: #000060; + -GtkIMHtml-hyperlink-visited-color: #600000; + -GtkIMHtml-hyperlink-prelight-color: #404080; + + /* Evolution */ + -GtkHTML-link-color: #000060; + -GtkHTML-vlink-color: #600000; + -GtkHTML-cite-color: #003000; + + -GtkWidget-link-color: @theme_highlight_color; + -GtkWidget-visited-link-color: #ff80ff; +} + +@import url("resource:///org/mate/ContrastHigh/gtk-widgets.css"); diff --git a/gtk-themes/ContrastHigh/gtk-3.0/gtk.gresource.xml b/gtk-themes/ContrastHigh/gtk-3.0/gtk.gresource.xml new file mode 100644 index 00000000..57cdb701 --- /dev/null +++ b/gtk-themes/ContrastHigh/gtk-3.0/gtk.gresource.xml @@ -0,0 +1,6 @@ +<?xml version="1.0" encoding="UTF-8"?> +<gresources> + <gresource prefix="/org/mate/ContrastHigh"> + <file>gtk-widgets.css</file> + </gresource> +</gresources> diff --git a/gtk-themes/ContrastHigh/gtk-3.0/settings.ini b/gtk-themes/ContrastHigh/gtk-3.0/settings.ini new file mode 100644 index 00000000..4c46c2fc --- /dev/null +++ b/gtk-themes/ContrastHigh/gtk-3.0/settings.ini @@ -0,0 +1,2 @@ +[Settings] +gtk-visible-focus = automatic diff --git a/gtk-themes/ContrastHigh/metacity-1/Makefile.am b/gtk-themes/ContrastHigh/metacity-1/Makefile.am new file mode 100644 index 00000000..0d28f5af --- /dev/null +++ b/gtk-themes/ContrastHigh/metacity-1/Makefile.am @@ -0,0 +1,7 @@ +themedir = $(datadir)/themes/ContrastHigh/metacity-1 +theme_DATA = metacity-theme-3.xml + +EXTRA_DIST = $(theme_DATA) + + +-include $(top_srcdir)/git.mk diff --git a/gtk-themes/ContrastHigh/metacity-1/Makefile.in b/gtk-themes/ContrastHigh/metacity-1/Makefile.in new file mode 100644 index 00000000..a130cb26 --- /dev/null +++ b/gtk-themes/ContrastHigh/metacity-1/Makefile.in @@ -0,0 +1,499 @@ +# Makefile.in generated by automake 1.12.2 from Makefile.am. +# @configure_input@ + +# Copyright (C) 1994-2012 Free Software Foundation, Inc. + +# This Makefile.in is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY, to the extent permitted by law; without +# even the implied warranty of MERCHANTABILITY or FITNESS FOR A +# PARTICULAR PURPOSE. + +@SET_MAKE@ + +VPATH = @srcdir@ +am__make_dryrun = \ + { \ + am__dry=no; \ + case $$MAKEFLAGS in \ + *\\[\ \ ]*) \ + echo 'am--echo: ; @echo "AM" OK' | $(MAKE) -f - 2>/dev/null \ + | grep '^AM OK$$' >/dev/null || am__dry=yes;; \ + *) \ + for am__flg in $$MAKEFLAGS; do \ + case $$am__flg in \ + *=*|--*) ;; \ + *n*) am__dry=yes; break;; \ + esac; \ + done;; \ + esac; \ + test $$am__dry = yes; \ + } +pkgdatadir = $(datadir)/@PACKAGE@ +pkgincludedir = $(includedir)/@PACKAGE@ +pkglibdir = $(libdir)/@PACKAGE@ +pkglibexecdir = $(libexecdir)/@PACKAGE@ +am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd +install_sh_DATA = $(install_sh) -c -m 644 +install_sh_PROGRAM = $(install_sh) -c +install_sh_SCRIPT = $(install_sh) -c +INSTALL_HEADER = $(INSTALL_DATA) +transform = $(program_transform_name) +NORMAL_INSTALL = : +PRE_INSTALL = : +POST_INSTALL = : +NORMAL_UNINSTALL = : +PRE_UNINSTALL = : +POST_UNINSTALL = : +build_triplet = @build@ +host_triplet = @host@ +subdir = themes/HighContrast/metacity-1 +DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in \ + $(top_srcdir)/mkinstalldirs +ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 +am__aclocal_m4_deps = $(top_srcdir)/configure.ac +am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ + $(ACLOCAL_M4) +mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs +CONFIG_CLEAN_FILES = +CONFIG_CLEAN_VPATH_FILES = +AM_V_P = $(am__v_P_@AM_V@) +am__v_P_ = $(am__v_P_@AM_DEFAULT_V@) +am__v_P_0 = false +am__v_P_1 = : +AM_V_GEN = $(am__v_GEN_@AM_V@) +am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) +am__v_GEN_0 = @echo " GEN " $@; +am__v_GEN_1 = +AM_V_at = $(am__v_at_@AM_V@) +am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) +am__v_at_0 = @ +am__v_at_1 = +SOURCES = +DIST_SOURCES = +am__can_run_installinfo = \ + case $$AM_UPDATE_INFO_DIR in \ + n|no|NO) false;; \ + *) (install-info --version) >/dev/null 2>&1;; \ + esac +am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; +am__vpath_adj = case $$p in \ + $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ + *) f=$$p;; \ + esac; +am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`; +am__install_max = 40 +am__nobase_strip_setup = \ + srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'` +am__nobase_strip = \ + for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||" +am__nobase_list = $(am__nobase_strip_setup); \ + for p in $$list; do echo "$$p $$p"; done | \ + sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \ + $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \ + if (++n[$$2] == $(am__install_max)) \ + { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \ + END { for (dir in files) print dir, files[dir] }' +am__base_list = \ + sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \ + sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g' +am__uninstall_files_from_dir = { \ + test -z "$$files" \ + || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \ + || { echo " ( cd '$$dir' && rm -f" $$files ")"; \ + $(am__cd) "$$dir" && rm -f $$files; }; \ + } +am__installdirs = "$(DESTDIR)$(themedir)" +DATA = $(theme_DATA) +DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) +ACLOCAL = @ACLOCAL@ +ACLOCAL_AMFLAGS = @ACLOCAL_AMFLAGS@ +ALL_LINGUAS = @ALL_LINGUAS@ +AMTAR = @AMTAR@ +AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ +AR = @AR@ +AS = @AS@ +AUTOCONF = @AUTOCONF@ +AUTOHEADER = @AUTOHEADER@ +AUTOMAKE = @AUTOMAKE@ +AWK = @AWK@ +CATALOGS = @CATALOGS@ +CATOBJEXT = @CATOBJEXT@ +CC = @CC@ +CCDEPMODE = @CCDEPMODE@ +CFLAGS = @CFLAGS@ +CPP = @CPP@ +CPPFLAGS = @CPPFLAGS@ +CYGPATH_W = @CYGPATH_W@ +DATADIRNAME = @DATADIRNAME@ +DEFS = @DEFS@ +DEPDIR = @DEPDIR@ +DEPENDENCIES_CFLAGS = @DEPENDENCIES_CFLAGS@ +DEPENDENCIES_LIBS = @DEPENDENCIES_LIBS@ +DLLTOOL = @DLLTOOL@ +DSYMUTIL = @DSYMUTIL@ +DUMPBIN = @DUMPBIN@ +ECHO_C = @ECHO_C@ +ECHO_N = @ECHO_N@ +ECHO_T = @ECHO_T@ +EGREP = @EGREP@ +EXEEXT = @EXEEXT@ +FGREP = @FGREP@ +GETTEXT_PACKAGE = @GETTEXT_PACKAGE@ +GLIB_CFLAGS = @GLIB_CFLAGS@ +GLIB_COMPILE_RESOURCES = @GLIB_COMPILE_RESOURCES@ +GLIB_GENMARSHAL = @GLIB_GENMARSHAL@ +GLIB_LIBS = @GLIB_LIBS@ +GLIB_MKENUMS = @GLIB_MKENUMS@ +GMOFILES = @GMOFILES@ +GMSGFMT = @GMSGFMT@ +GOBJECT_QUERY = @GOBJECT_QUERY@ +GREP = @GREP@ +GTK2_ENGINE_CFLAGS = @GTK2_ENGINE_CFLAGS@ +GTK2_ENGINE_LIBS = @GTK2_ENGINE_LIBS@ +GTK2_VERSION = @GTK2_VERSION@ +GTK_UPDATE_ICON_CACHE = @GTK_UPDATE_ICON_CACHE@ +GTK_VERSION = @GTK_VERSION@ +HIGHCONTRAST_CFLAGS = @HIGHCONTRAST_CFLAGS@ +HIGHCONTRAST_LIBS = @HIGHCONTRAST_LIBS@ +INSTALL = @INSTALL@ +INSTALL_DATA = @INSTALL_DATA@ +INSTALL_PROGRAM = @INSTALL_PROGRAM@ +INSTALL_SCRIPT = @INSTALL_SCRIPT@ +INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ +INSTOBJEXT = @INSTOBJEXT@ +INTLLIBS = @INTLLIBS@ +INTLTOOL_EXTRACT = @INTLTOOL_EXTRACT@ +INTLTOOL_MERGE = @INTLTOOL_MERGE@ +INTLTOOL_PERL = @INTLTOOL_PERL@ +INTLTOOL_UPDATE = @INTLTOOL_UPDATE@ +INTLTOOL_V_MERGE = @INTLTOOL_V_MERGE@ +INTLTOOL_V_MERGE_OPTIONS = @INTLTOOL_V_MERGE_OPTIONS@ +INTLTOOL__v_MERGE_ = @INTLTOOL__v_MERGE_@ +INTLTOOL__v_MERGE_0 = @INTLTOOL__v_MERGE_0@ +LD = @LD@ +LDFLAGS = @LDFLAGS@ +LIBOBJS = @LIBOBJS@ +LIBS = @LIBS@ +LIBTOOL = @LIBTOOL@ +LIPO = @LIPO@ +LN_S = @LN_S@ +LTLIBOBJS = @LTLIBOBJS@ +MAKEINFO = @MAKEINFO@ +MANIFEST_TOOL = @MANIFEST_TOOL@ +MKDIR_P = @MKDIR_P@ +MKINSTALLDIRS = @MKINSTALLDIRS@ +MSGFMT = @MSGFMT@ +MSGFMT_OPTS = @MSGFMT_OPTS@ +MSGMERGE = @MSGMERGE@ +NM = @NM@ +NMEDIT = @NMEDIT@ +OBJDUMP = @OBJDUMP@ +OBJEXT = @OBJEXT@ +OTOOL = @OTOOL@ +OTOOL64 = @OTOOL64@ +PACKAGE = @PACKAGE@ +PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ +PACKAGE_NAME = @PACKAGE_NAME@ +PACKAGE_STRING = @PACKAGE_STRING@ +PACKAGE_TARNAME = @PACKAGE_TARNAME@ +PACKAGE_URL = @PACKAGE_URL@ +PACKAGE_VERSION = @PACKAGE_VERSION@ +PATH_SEPARATOR = @PATH_SEPARATOR@ +PKG_CONFIG = @PKG_CONFIG@ +PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ +PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ +POFILES = @POFILES@ +POSUB = @POSUB@ +PO_IN_DATADIR_FALSE = @PO_IN_DATADIR_FALSE@ +PO_IN_DATADIR_TRUE = @PO_IN_DATADIR_TRUE@ +RANLIB = @RANLIB@ +SED = @SED@ +SET_MAKE = @SET_MAKE@ +SHELL = @SHELL@ +STRIP = @STRIP@ +USE_NLS = @USE_NLS@ +VERSION = @VERSION@ +XGETTEXT = @XGETTEXT@ +abs_builddir = @abs_builddir@ +abs_srcdir = @abs_srcdir@ +abs_top_builddir = @abs_top_builddir@ +abs_top_srcdir = @abs_top_srcdir@ +ac_ct_AR = @ac_ct_AR@ +ac_ct_CC = @ac_ct_CC@ +ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ +am__include = @am__include@ +am__leading_dot = @am__leading_dot@ +am__quote = @am__quote@ +am__tar = @am__tar@ +am__untar = @am__untar@ +bindir = @bindir@ +build = @build@ +build_alias = @build_alias@ +build_cpu = @build_cpu@ +build_os = @build_os@ +build_vendor = @build_vendor@ +builddir = @builddir@ +datadir = @datadir@ +datarootdir = @datarootdir@ +docdir = @docdir@ +dvidir = @dvidir@ +exec_prefix = @exec_prefix@ +host = @host@ +host_alias = @host_alias@ +host_cpu = @host_cpu@ +host_os = @host_os@ +host_vendor = @host_vendor@ +htmldir = @htmldir@ +includedir = @includedir@ +infodir = @infodir@ +install_sh = @install_sh@ +intltool__v_merge_options_ = @intltool__v_merge_options_@ +intltool__v_merge_options_0 = @intltool__v_merge_options_0@ +libdir = @libdir@ +libexecdir = @libexecdir@ +localedir = @localedir@ +localstatedir = @localstatedir@ +mandir = @mandir@ +mkdir_p = @mkdir_p@ +oldincludedir = @oldincludedir@ +pdfdir = @pdfdir@ +prefix = @prefix@ +program_transform_name = @program_transform_name@ +psdir = @psdir@ +sbindir = @sbindir@ +sharedstatedir = @sharedstatedir@ +srcdir = @srcdir@ +sysconfdir = @sysconfdir@ +target_alias = @target_alias@ +top_build_prefix = @top_build_prefix@ +top_builddir = @top_builddir@ +top_srcdir = @top_srcdir@ +themedir = $(datadir)/themes/HighContrast/metacity-1 +theme_DATA = metacity-theme-3.xml +EXTRA_DIST = $(theme_DATA) +all: all-am + +.SUFFIXES: +$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) + @for dep in $?; do \ + case '$(am__configure_deps)' in \ + *$$dep*) \ + ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ + && { if test -f $@; then exit 0; else break; fi; }; \ + exit 1;; \ + esac; \ + done; \ + echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign themes/HighContrast/metacity-1/Makefile'; \ + $(am__cd) $(top_srcdir) && \ + $(AUTOMAKE) --foreign themes/HighContrast/metacity-1/Makefile +.PRECIOUS: Makefile +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status + @case '$?' in \ + *config.status*) \ + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ + *) \ + echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ + cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ + esac; + +$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh + +$(top_srcdir)/configure: $(am__configure_deps) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh +$(ACLOCAL_M4): $(am__aclocal_m4_deps) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh +$(am__aclocal_m4_deps): + +mostlyclean-libtool: + -rm -f *.lo + +clean-libtool: + -rm -rf .libs _libs +install-themeDATA: $(theme_DATA) + @$(NORMAL_INSTALL) + @list='$(theme_DATA)'; test -n "$(themedir)" || list=; \ + if test -n "$$list"; then \ + echo " $(MKDIR_P) '$(DESTDIR)$(themedir)'"; \ + $(MKDIR_P) "$(DESTDIR)$(themedir)" || exit 1; \ + fi; \ + for p in $$list; do \ + if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ + echo "$$d$$p"; \ + done | $(am__base_list) | \ + while read files; do \ + echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(themedir)'"; \ + $(INSTALL_DATA) $$files "$(DESTDIR)$(themedir)" || exit $$?; \ + done + +uninstall-themeDATA: + @$(NORMAL_UNINSTALL) + @list='$(theme_DATA)'; test -n "$(themedir)" || list=; \ + files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ + dir='$(DESTDIR)$(themedir)'; $(am__uninstall_files_from_dir) +tags: TAGS +TAGS: + +ctags: CTAGS +CTAGS: + +cscope cscopelist: + + +distdir: $(DISTFILES) + @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ + topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ + list='$(DISTFILES)'; \ + dist_files=`for file in $$list; do echo $$file; done | \ + sed -e "s|^$$srcdirstrip/||;t" \ + -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ + case $$dist_files in \ + */*) $(MKDIR_P) `echo "$$dist_files" | \ + sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ + sort -u` ;; \ + esac; \ + for file in $$dist_files; do \ + if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ + if test -d $$d/$$file; then \ + dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ + if test -d "$(distdir)/$$file"; then \ + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ + fi; \ + if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ + cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ + fi; \ + cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ + else \ + test -f "$(distdir)/$$file" \ + || cp -p $$d/$$file "$(distdir)/$$file" \ + || exit 1; \ + fi; \ + done +check-am: all-am +check: check-am +all-am: Makefile $(DATA) +installdirs: + for dir in "$(DESTDIR)$(themedir)"; do \ + test -z "$$dir" || $(MKDIR_P) "$$dir"; \ + done +install: install-am +install-exec: install-exec-am +install-data: install-data-am +uninstall: uninstall-am + +install-am: all-am + @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am + +installcheck: installcheck-am +install-strip: + if test -z '$(STRIP)'; then \ + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ + install; \ + else \ + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ + "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ + fi +mostlyclean-generic: + +clean-generic: + +distclean-generic: + -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) + -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) + +maintainer-clean-generic: + @echo "This command is intended for maintainers to use" + @echo "it deletes files that may require special tools to rebuild." +clean: clean-am + +clean-am: clean-generic clean-libtool mostlyclean-am + +distclean: distclean-am + -rm -f Makefile +distclean-am: clean-am distclean-generic + +dvi: dvi-am + +dvi-am: + +html: html-am + +html-am: + +info: info-am + +info-am: + +install-data-am: install-themeDATA + +install-dvi: install-dvi-am + +install-dvi-am: + +install-exec-am: + +install-html: install-html-am + +install-html-am: + +install-info: install-info-am + +install-info-am: + +install-man: + +install-pdf: install-pdf-am + +install-pdf-am: + +install-ps: install-ps-am + +install-ps-am: + +installcheck-am: + +maintainer-clean: maintainer-clean-am + -rm -f Makefile +maintainer-clean-am: distclean-am maintainer-clean-generic + +mostlyclean: mostlyclean-am + +mostlyclean-am: mostlyclean-generic mostlyclean-libtool + +pdf: pdf-am + +pdf-am: + +ps: ps-am + +ps-am: + +uninstall-am: uninstall-themeDATA + +.MAKE: install-am install-strip + +.PHONY: all all-am check check-am clean clean-generic clean-libtool \ + distclean distclean-generic distclean-libtool distdir dvi \ + dvi-am html html-am info info-am install install-am \ + install-data install-data-am install-dvi install-dvi-am \ + install-exec install-exec-am install-html install-html-am \ + install-info install-info-am install-man install-pdf \ + install-pdf-am install-ps install-ps-am install-strip \ + install-themeDATA installcheck installcheck-am installdirs \ + maintainer-clean maintainer-clean-generic mostlyclean \ + mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \ + uninstall uninstall-am uninstall-themeDATA + + +-include $(top_srcdir)/git.mk + +# Tell versions [3.59,3.63) of GNU make to not export all variables. +# Otherwise a system limit (for SysV at least) may be exceeded. +.NOEXPORT: diff --git a/gtk-themes/ContrastHigh/metacity-1/metacity-theme-3.xml b/gtk-themes/ContrastHigh/metacity-1/metacity-theme-3.xml new file mode 100644 index 00000000..58dab98b --- /dev/null +++ b/gtk-themes/ContrastHigh/metacity-1/metacity-theme-3.xml @@ -0,0 +1,1925 @@ +<?xml version="1.0"?> +<metacity_theme> +<info> + <name>HighContrast</name> + <author>GNOME Art Team <art.gnome.org></author> + <copyright>Â Intel, Â Red Hat, Lapo Calamandrei</copyright> + <date>2012</date> + <description>HighContrast GNOME 3 window theme</description> +</info> + +<!-- meaningfull constants --> + +<constant name="C_border_focused" value="gtk:custom(wm_border_color,#000000)" /> +<constant name="C_border_unfocused" value="gtk:custom(wm_border_backdrop_color,#babdb6)" /> +<constant name="C_titlebar_unfocused" value="gtk:custom(wm_border_backdrop_color,#babdb6)" /> +<constant name="C_title_focused" value="gtk:custom(wm_title,gtk:fg[NORMAL])" /> +<constant name="C_title_unfocused" value="blend/gtk:text[NORMAL]/gtk:bg[NORMAL]/0.7" /> +<!-- color of the button icons --> +<constant name="C_icons_focused" value="gtk:custom(wm_button_fg,gtk:text[NORMAL])" /> +<constant name="C_icons_focused_prelight" value="gtk:custom(wm_button_prelight_fg,#ffffff)" /> +<constant name="C_icons_focused_pressed" value="gtk:custom(wm_button_pressed_fg,#d6d6d6)" /> +<constant name="C_icons_unfocused" value="blend/gtk:text[NORMAL]/gtk:bg[NORMAL]/0.7" /> +<constant name="C_icons_unfocused_prelight" value="blend/gtk:bg[NORMAL]/gtk:fg[NORMAL]/0.3" /> +<constant name="C_icons_unfocused_pressed" value="blend/#000000/gtk:bg[NORMAL]/0.7" /> +<constant name="D_icons_unfocused_offset" value="1" /> <!-- offset of the unfocused icons --> +<constant name="D_icons_shrink" value="0" /> <!-- increasing this value makes the icons in buttons smaller --> +<constant name="D_icons_grow" value="0" /> <!-- increasing this value makes the icons in buttons bigger --> +<!-- geometries --> + +<frame_geometry name="normal" title_scale="medium" rounded_top_left="4" rounded_top_right="4"> + <distance name="left_width" value="2" /> + <distance name="right_width" value="2" /> + <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="9"/> + <border name="title_border" left="10" right="10" top="0" bottom="2"/> + <border name="button_border" left="0" right="0" top="0" bottom="2"/> + <aspect_ratio name="button" value="1"/> +</frame_geometry> + +<frame_geometry name="normal_unfocused" title_scale="medium" rounded_top_left="4" rounded_top_right="4" parent="normal"> + <distance name="left_titlebar_edge" value="1"/> + <distance name="right_titlebar_edge" value="1"/> +</frame_geometry> + +<frame_geometry name="max" 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="left_titlebar_edge" value="0"/> + <distance name="right_titlebar_edge" value="0"/> + <distance name="title_vertical_pad" value="8"/> <!-- + This needs to be 1 less then the + title_vertical_pad on normal state + or you'll have bigger buttons --> + <border name="title_border" left="10" right="10" top="1" bottom="2"/> + <border name="button_border" left="0" right="0" top="0" bottom="2"/> + <distance name="bottom_height" value="0" /> +</frame_geometry> + +<frame_geometry name="tiled_left" title_scale="medium" rounded_top_left="false" rounded_top_right="false" parent="max"> + <distance name="right_width" value="2" /> +</frame_geometry> + +<frame_geometry name="tiled_right" title_scale="medium" rounded_top_left="false" rounded_top_right="false" parent="max"> + <distance name="left_width" value="2" /> +</frame_geometry> + +<frame_geometry name="small" title_scale="small" parent="normal" rounded_top_left="false" rounded_top_right="false"> + <distance name="title_vertical_pad" value="7"/> + <border name="title_border" left="10" right="10" top="0" bottom="1"/> + <border name="button_border" left="0" right="0" top="0" bottom="2"/> +</frame_geometry> + +<frame_geometry name="small_unfocused" parent="small"> + <distance name="left_titlebar_edge" value="1"/> + <distance name="right_titlebar_edge" value="1"/> +</frame_geometry> + +<frame_geometry name="nobuttons" hide_buttons="true" parent="normal"> +</frame_geometry> + +<frame_geometry name="border" has_title="false" rounded_top_left="false" rounded_top_right="false" parent="normal" > + <distance name="left_width" value="2" /> + <distance name="right_width" value="2" /> + <distance name="bottom_height" value="2" /> + <border name="title_border" left="10" right="10" top="0" bottom="0" /> + <border name="button_border" left="0" right="0" top="0" bottom="0"/> + <distance name="title_vertical_pad" value="1" /> +</frame_geometry> + +<frame_geometry name="borderless" has_title="false" rounded_top_left="false" rounded_top_right="false" parent="normal" > + <distance name="left_width" value="0" /> + <distance name="right_width" value="0" /> + <distance name="bottom_height" value="0" /> + <distance name="title_vertical_pad" value="0" /> + <border name="button_border" left="0" right="0" top="0" bottom="0"/> + <border name="title_border" left="0" right="0" top="0" bottom="0" /> +</frame_geometry> + +<frame_geometry name="modal" title_scale="small" hide_buttons="true" rounded_top_left="false" rounded_top_right="false" parent="small"> + <distance name="title_vertical_pad" value="5"/> +</frame_geometry> + +<frame_geometry name="attached" title_scale="medium" hide_buttons="true" rounded_top_left="4" rounded_top_right="4" rounded_bottom_left="4" rounded_bottom_right="4" parent="normal"> + <distance name="title_vertical_pad" value="9"/> + <distance name="bottom_height" value="4"/> + <distance name="left_width" value="4"/> + <distance name="right_width" value="4"/> +</frame_geometry> + +<!-- drawing operations --> + + <!-- title --> + +<draw_ops name="title_focused"> + <title version="< 3.1" + x="(0 `max` ((width - title_width) / 2)) + 2" + y="(0 `max` ((height - title_height) / 2)) + 1" + color="C_title_focused" /> + <title version=">= 3.1" + x="(0 `max` ((frame_x_center - title_width / 2) `min` (width - title_width))) + 2" + y="(0 `max` ((height - title_height) / 2)) + 1" + ellipsize_width="width" + color="C_title_focused" /> +</draw_ops> + +<draw_ops name="title_unfocused"> + <title version="< 3.1" + x="(0 `max` ((width - title_width) / 2)) + 2" + y="(0 `max` ((height - title_height) / 2)) + 1" + color="C_title_unfocused"/> + <title version=">= 3.1" + x="(0 `max` ((frame_x_center - title_width/2) `min` (width - title_width))) + 2" + y="(0 `max` ((height - title_height) / 2)) + 1" + ellipsize_width="width" + color="C_title_unfocused"/> +</draw_ops> + + <!-- window decorations --> + +<draw_ops name="entire_background_focused"> + <!-- FIXME: insert a custom wm color here --> + <rectangle color="gtk:bg[NORMAL]" x="0" y="0" width="width" height="height" filled="true" /> +</draw_ops> + +<draw_ops name="entire_background_unfocused"> + <include name="entire_background_focused" /> +</draw_ops> + +<draw_ops name="titlebar_fill_focused"> + <!--<tint color="gtk:base[NORMAL]" alpha="1" x="0" y="0" width="width" height="height" /> --> +</draw_ops> + + +<draw_ops name="titlebar_fill_unfocused"> + <!-- <rectangle color="C_titlebar_unfocused" x="0" y="0" width="width" height="height" filled="true" /> --> +</draw_ops> + +<draw_ops name="titlebar_focused"> + <include name="titlebar_fill_focused" /> +</draw_ops> + +<draw_ops name="rounded_titlebar_focused"> + <include name="titlebar_fill_focused" /> +</draw_ops> + +<draw_ops name="rounded_titlebar_focused_alt"> + <include name="titlebar_fill_focused" /> +</draw_ops> + +<draw_ops name="border_focused"> + <rectangle color="#000000" x="0" y="0" width="width-1" height="height-1" filled="false" /> +</draw_ops> + +<draw_ops name="border_unfocused"> + <rectangle color="C_border_unfocused" x="0" y="0" width="width-1" height="height-1" filled="false" /> +</draw_ops> + +<draw_ops name="rounded_border_focused"> + <line color="C_border_focused" x1="4" y1="0" x2="width-5" y2="0" /> + <line color="C_border_focused" x1="4" y1="1" x2="width-5" y2="1" /> + <line color="C_border_focused" x1="0" y1="height-1" x2="width-1" y2="height-1" /> + <line color="C_border_focused" x1="0" y1="height-2" x2="width-1" y2="height-2" /> + <line color="C_border_focused" x1="0" y1="4" x2="0" y2="height-2" /> + <line color="C_border_focused" x1="1" y1="4" x2="1" y2="height-2" /> + <line color="C_border_focused" x1="width-1" y1="4" x2="width-1" y2="height-2" /> + <line color="C_border_focused" x1="width-2" y1="4" x2="width-2" y2="height-2" /> + <arc color="C_border_focused" x="0" y="0" width="8" height="8" start_angle="270" extent_angle="90" /> + <arc color="C_border_focused" x="1" y="1" width="6" height="6" start_angle="270" extent_angle="90" /> + <arc color="C_border_focused" x="0" y="0" width="8" height="8" start_angle="270" extent_angle="90" /> + <arc color="C_border_focused" x="1" y="1" width="6" height="6" start_angle="270" extent_angle="90" /> + <arc color="C_border_focused" x="width-9" y="0" width="8" height="8" start_angle="0" extent_angle="90" /> + <arc color="C_border_focused" x="width-8" y="1" width="6" height="6" start_angle="0" extent_angle="90" /> + <arc color="C_border_focused" x="width-9" y="0" width="8" height="8" start_angle="0" extent_angle="90" /> + <arc color="C_border_focused" x="width-8" y="1" width="6" height="6" start_angle="0" extent_angle="90" /> +</draw_ops> + +<draw_ops name="rounded_border_unfocused"> + <line color="C_border_unfocused" x1="4" y1="0" x2="width-5" y2="0" /> + <line color="C_border_unfocused" x1="4" y1="1" x2="width-5" y2="1" /> + <line color="C_border_unfocused" x1="0" y1="height-1" x2="width-1" y2="height-1" /> + <line color="C_border_unfocused" x1="0" y1="height-2" x2="width-1" y2="height-2" /> + <line color="C_border_unfocused" x1="0" y1="4" x2="0" y2="height-2" /> + <line color="C_border_unfocused" x1="1" y1="4" x2="1" y2="height-2" /> + <line color="C_border_unfocused" x1="width-1" y1="4" x2="width-1" y2="height-2" /> + <line color="C_border_unfocused" x1="width-2" y1="4" x2="width-2" y2="height-2" /> + <arc color="C_border_unfocused" x="0" y="0" width="8" height="8" start_angle="270" extent_angle="90" /> + <arc color="C_border_unfocused" x="1" y="1" width="6" height="6" start_angle="270" extent_angle="90" /> + <arc color="C_border_unfocused" x="0" y="0" width="8" height="8" start_angle="270" extent_angle="90" /> + <arc color="C_border_unfocused" x="1" y="1" width="6" height="6" start_angle="270" extent_angle="90" /> + <arc color="C_border_unfocused" x="width-9" y="0" width="8" height="8" start_angle="0" extent_angle="90" /> + <arc color="C_border_unfocused" x="width-8" y="1" width="6" height="6" start_angle="0" extent_angle="90" /> + <arc color="C_border_unfocused" x="width-9" y="0" width="8" height="8" start_angle="0" extent_angle="90" /> + <arc color="C_border_unfocused" x="width-8" y="1" width="6" height="6" start_angle="0" extent_angle="90" /> +</draw_ops> + + +<draw_ops name="border_right_focused"> + <line + x1="width-1" y1="0" + x2="width-1" y2="height" + color="C_border_focused" /> + <line + x1="width-2" y1="0" + x2="width-2" y2="height" + color="C_border_focused" /> +</draw_ops> + +<draw_ops name="border_right_unfocused"> + <line + x1="width-1" y1="0" + x2="width-1" y2="height" + color="C_border_unfocused" /> + <line + x1="width-2" y1="0" + x2="width-2" y2="height" + color="C_border_unfocused" /> +</draw_ops> + +<draw_ops name="border_left_focused"> + <line + x1="0" y1="0" + x2="0" y2="height" + color="C_border_focused" /> + <line + x1="1" y1="0" + x2="1" y2="height" + color="C_border_focused" /> +</draw_ops> + +<draw_ops name="border_left_unfocused"> + <line + x1="0" y1="0" + x2="0" y2="height" + color="C_border_unfocused" /> + <line + x1="1" y1="0" + x2="1" y2="height" + color="C_border_unfocused" /> +</draw_ops> + + <!-- button icons--> + +<draw_ops name="close_glyph_focused"> + <line + x1="(width-width%3)/3+D_icons_shrink-D_icons_grow" y1="(height-height%3)/3+D_icons_shrink-D_icons_grow" + x2="width-(width-width%3)/3-1-D_icons_shrink+D_icons_grow" y2="height-(height-height%3)/3-1-D_icons_shrink+D_icons_grow" + color="C_icons_focused" /> + <line + x1="(width-width%3)/3+1+D_icons_shrink-D_icons_grow" y1="(height-height%3)/3+D_icons_shrink-D_icons_grow" + x2="width-(width-width%3)/3-1-D_icons_shrink+D_icons_grow" y2="height-(height-height%3)/3-2-D_icons_shrink+D_icons_grow" + color="C_icons_focused" /> + <line + x1="(width-width%3)/3+D_icons_shrink-D_icons_grow" y1="(height-height%3)/3+1+D_icons_shrink-D_icons_grow" + x2="width-(width-width%3)/3-2-D_icons_shrink+D_icons_grow" y2="height-(height-height%3)/3-1-D_icons_shrink+D_icons_grow" + color="C_icons_focused" /> + <line + x1="width-(width-width%3)/3-1-D_icons_shrink+D_icons_grow" y1="(height-height%3)/3+D_icons_shrink-D_icons_grow" + x2="(width-width%3)/3+D_icons_shrink-D_icons_grow" y2="height-(height-height%3)/3-1-D_icons_shrink+D_icons_grow" + color="C_icons_focused" /> + <line + x1="width-(width-width%3)/3-2-D_icons_shrink+D_icons_grow" y1="(height-height%3)/3+D_icons_shrink-D_icons_grow" + x2="(width-width%3)/3+D_icons_shrink-D_icons_grow" y2="height-(height-height%3)/3-2-D_icons_shrink+D_icons_grow" + color="C_icons_focused" /> + <line + x1="width-(width-width%3)/3-1-D_icons_shrink+D_icons_grow" y1="(height-height%3)/3+1+D_icons_shrink-D_icons_grow" + x2="(width-width%3)/3+1+D_icons_shrink-D_icons_grow" y2="height-(height-height%3)/3-1-D_icons_shrink+D_icons_grow" + color="C_icons_focused" /> +</draw_ops> + +<draw_ops name="close_glyph_focused_prelight"> + <line + x1="(width-width%3)/3+D_icons_shrink-D_icons_grow" y1="(height-height%3)/3+D_icons_shrink-D_icons_grow" + x2="width-(width-width%3)/3-1-D_icons_shrink+D_icons_grow" y2="height-(height-height%3)/3-1-D_icons_shrink+D_icons_grow" + color="C_icons_focused_prelight" /> + <line + x1="(width-width%3)/3+1+D_icons_shrink-D_icons_grow" y1="(height-height%3)/3+D_icons_shrink-D_icons_grow" + x2="width-(width-width%3)/3-1-D_icons_shrink+D_icons_grow" y2="height-(height-height%3)/3-2-D_icons_shrink+D_icons_grow" + color="C_icons_focused_prelight" /> + <line + x1="(width-width%3)/3+D_icons_shrink-D_icons_grow" y1="(height-height%3)/3+1+D_icons_shrink-D_icons_grow" + x2="width-(width-width%3)/3-2-D_icons_shrink+D_icons_grow" y2="height-(height-height%3)/3-1-D_icons_shrink+D_icons_grow" + color="C_icons_focused_prelight" /> + <line + x1="width-(width-width%3)/3-1-D_icons_shrink+D_icons_grow" y1="(height-height%3)/3+D_icons_shrink-D_icons_grow" + x2="(width-width%3)/3+D_icons_shrink-D_icons_grow" y2="height-(height-height%3)/3-1-D_icons_shrink+D_icons_grow" + color="C_icons_focused_prelight" /> + <line + x1="width-(width-width%3)/3-2-D_icons_shrink+D_icons_grow" y1="(height-height%3)/3+D_icons_shrink-D_icons_grow" + x2="(width-width%3)/3+D_icons_shrink-D_icons_grow" y2="height-(height-height%3)/3-2-D_icons_shrink+D_icons_grow" + color="C_icons_focused_prelight" /> + <line + x1="width-(width-width%3)/3-1-D_icons_shrink+D_icons_grow" y1="(height-height%3)/3+1+D_icons_shrink-D_icons_grow" + x2="(width-width%3)/3+1+D_icons_shrink-D_icons_grow" y2="height-(height-height%3)/3-1-D_icons_shrink+D_icons_grow" + color="C_icons_focused_prelight" /> +</draw_ops> + +<draw_ops name="close_glyph_focused_pressed"> + <line + x1="(width-width%3)/3+D_icons_shrink-D_icons_grow" y1="(height-height%3)/3+D_icons_shrink-D_icons_grow" + x2="width-(width-width%3)/3-1-D_icons_shrink+D_icons_grow" y2="height-(height-height%3)/3-1-D_icons_shrink+D_icons_grow" + color="C_icons_focused_pressed" /> + <line + x1="(width-width%3)/3+1+D_icons_shrink-D_icons_grow" y1="(height-height%3)/3+D_icons_shrink-D_icons_grow" + x2="width-(width-width%3)/3-1-D_icons_shrink+D_icons_grow" y2="height-(height-height%3)/3-2-D_icons_shrink+D_icons_grow" + color="C_icons_focused_pressed" /> + <line + x1="(width-width%3)/3+D_icons_shrink-D_icons_grow" y1="(height-height%3)/3+1+D_icons_shrink-D_icons_grow" + x2="width-(width-width%3)/3-2-D_icons_shrink+D_icons_grow" y2="height-(height-height%3)/3-1-D_icons_shrink+D_icons_grow" + color="C_icons_focused_pressed" /> + <line + x1="width-(width-width%3)/3-1-D_icons_shrink+D_icons_grow" y1="(height-height%3)/3+D_icons_shrink-D_icons_grow" + x2="(width-width%3)/3+D_icons_shrink-D_icons_grow" y2="height-(height-height%3)/3-1-D_icons_shrink+D_icons_grow" + color="C_icons_focused_pressed" /> + <line + x1="width-(width-width%3)/3-2-D_icons_shrink+D_icons_grow" y1="(height-height%3)/3+D_icons_shrink-D_icons_grow" + x2="(width-width%3)/3+D_icons_shrink-D_icons_grow" y2="height-(height-height%3)/3-2-D_icons_shrink+D_icons_grow" + color="C_icons_focused_pressed" /> + <line + x1="width-(width-width%3)/3-1-D_icons_shrink+D_icons_grow" y1="(height-height%3)/3+1+D_icons_shrink-D_icons_grow" + x2="(width-width%3)/3+1+D_icons_shrink-D_icons_grow" y2="height-(height-height%3)/3-1-D_icons_shrink+D_icons_grow" + color="C_icons_focused_pressed" /> +</draw_ops> + +<draw_ops name="close_focused"> + <include name="close_glyph_focused" /> +</draw_ops> + +<draw_ops name="close_focused_prelight"> + <include name="close_glyph_focused_prelight" /> +</draw_ops> + +<draw_ops name="close_focused_pressed"> + <include name="close_glyph_focused_pressed" /> +</draw_ops> + +<draw_ops name="close_glyph_unfocused"> + <line + x1="(width-width%3)/3+D_icons_shrink-D_icons_grow" y1="(height-height%3)/3+D_icons_shrink-D_icons_grow" + x2="width-(width-width%3)/3-1-D_icons_shrink+D_icons_grow" y2="height-(height-height%3)/3-1-D_icons_shrink+D_icons_grow" + color="C_icons_unfocused" /> + <line + x1="(width-width%3)/3+1+D_icons_shrink-D_icons_grow" y1="(height-height%3)/3+D_icons_shrink-D_icons_grow" + x2="width-(width-width%3)/3-1-D_icons_shrink+D_icons_grow" y2="height-(height-height%3)/3-2-D_icons_shrink+D_icons_grow" + color="C_icons_unfocused" /> + <line + x1="(width-width%3)/3+D_icons_shrink-D_icons_grow" y1="(height-height%3)/3+1+D_icons_shrink-D_icons_grow" + x2="width-(width-width%3)/3-2-D_icons_shrink+D_icons_grow" y2="height-(height-height%3)/3-1-D_icons_shrink+D_icons_grow" + color="C_icons_unfocused" /> + <line + x1="width-(width-width%3)/3-1-D_icons_shrink+D_icons_grow" y1="(height-height%3)/3+D_icons_shrink-D_icons_grow" + x2="(width-width%3)/3+D_icons_shrink-D_icons_grow" y2="height-(height-height%3)/3-1-D_icons_shrink+D_icons_grow" + color="C_icons_unfocused" /> + <line + x1="width-(width-width%3)/3-2-D_icons_shrink+D_icons_grow" y1="(height-height%3)/3+D_icons_shrink-D_icons_grow" + x2="(width-width%3)/3+D_icons_shrink-D_icons_grow" y2="height-(height-height%3)/3-2-D_icons_shrink+D_icons_grow" + color="C_icons_unfocused" /> + <line + x1="width-(width-width%3)/3-1-D_icons_shrink+D_icons_grow" y1="(height-height%3)/3+1+D_icons_shrink-D_icons_grow" + x2="(width-width%3)/3+1+D_icons_shrink-D_icons_grow" y2="height-(height-height%3)/3-1-D_icons_shrink+D_icons_grow" + color="C_icons_unfocused" /> +</draw_ops> + +<draw_ops name="close_unfocused"> + <include name="close_glyph_unfocused" y="D_icons_unfocused_offset" /> + <include name="close_glyph_unfocused" y="D_icons_unfocused_offset" /> +</draw_ops> + +<draw_ops name="close_glyph_unfocused_prelight"> + <line + x1="(width-width%3)/3+D_icons_shrink-D_icons_grow" y1="(height-height%3)/3+D_icons_shrink-D_icons_grow" + x2="width-(width-width%3)/3-1-D_icons_shrink+D_icons_grow" y2="height-(height-height%3)/3-1-D_icons_shrink+D_icons_grow" + color="C_icons_unfocused_prelight" /> + <line + x1="(width-width%3)/3+1+D_icons_shrink-D_icons_grow" y1="(height-height%3)/3+D_icons_shrink-D_icons_grow" + x2="width-(width-width%3)/3-1-D_icons_shrink+D_icons_grow" y2="height-(height-height%3)/3-2-D_icons_shrink+D_icons_grow" + color="C_icons_unfocused_prelight" /> + <line + x1="(width-width%3)/3+D_icons_shrink-D_icons_grow" y1="(height-height%3)/3+1+D_icons_shrink-D_icons_grow" + x2="width-(width-width%3)/3-2-D_icons_shrink+D_icons_grow" y2="height-(height-height%3)/3-1-D_icons_shrink+D_icons_grow" + color="C_icons_unfocused_prelight" /> + <line + x1="width-(width-width%3)/3-1-D_icons_shrink+D_icons_grow" y1="(height-height%3)/3+D_icons_shrink-D_icons_grow" + x2="(width-width%3)/3+D_icons_shrink-D_icons_grow" y2="height-(height-height%3)/3-1-D_icons_shrink+D_icons_grow" + color="C_icons_unfocused_prelight" /> + <line + x1="width-(width-width%3)/3-2-D_icons_shrink+D_icons_grow" y1="(height-height%3)/3+D_icons_shrink-D_icons_grow" + x2="(width-width%3)/3+D_icons_shrink-D_icons_grow" y2="height-(height-height%3)/3-2-D_icons_shrink+D_icons_grow" + color="C_icons_unfocused_prelight" /> + <line + x1="width-(width-width%3)/3-1-D_icons_shrink+D_icons_grow" y1="(height-height%3)/3+1+D_icons_shrink-D_icons_grow" + x2="(width-width%3)/3+1+D_icons_shrink-D_icons_grow" y2="height-(height-height%3)/3-1-D_icons_shrink+D_icons_grow" + color="C_icons_unfocused_prelight" /> +</draw_ops> + +<draw_ops name="close_unfocused_prelight"> + <include name="close_glyph_unfocused_prelight" y="D_icons_unfocused_offset" /> + <include name="close_glyph_unfocused_prelight" y="D_icons_unfocused_offset" /> +</draw_ops> + +<draw_ops name="close_glyph_unfocused_pressed"> + <line + x1="(width-width%3)/3+D_icons_shrink-D_icons_grow" y1="(height-height%3)/3+D_icons_shrink-D_icons_grow" + x2="width-(width-width%3)/3-1-D_icons_shrink+D_icons_grow" y2="height-(height-height%3)/3-1-D_icons_shrink+D_icons_grow" + color="C_icons_unfocused_pressed" /> + <line + x1="(width-width%3)/3+1+D_icons_shrink-D_icons_grow" y1="(height-height%3)/3+D_icons_shrink-D_icons_grow" + x2="width-(width-width%3)/3-1-D_icons_shrink+D_icons_grow" y2="height-(height-height%3)/3-2-D_icons_shrink+D_icons_grow" + color="C_icons_unfocused_pressed" /> + <line + x1="(width-width%3)/3+D_icons_shrink-D_icons_grow" y1="(height-height%3)/3+1+D_icons_shrink-D_icons_grow" + x2="width-(width-width%3)/3-2-D_icons_shrink+D_icons_grow" y2="height-(height-height%3)/3-1-D_icons_shrink+D_icons_grow" + color="C_icons_unfocused_pressed" /> + <line + x1="width-(width-width%3)/3-1-D_icons_shrink+D_icons_grow" y1="(height-height%3)/3+D_icons_shrink-D_icons_grow" + x2="(width-width%3)/3+D_icons_shrink-D_icons_grow" y2="height-(height-height%3)/3-1-D_icons_shrink+D_icons_grow" + color="C_icons_unfocused_pressed" /> + <line + x1="width-(width-width%3)/3-2-D_icons_shrink+D_icons_grow" y1="(height-height%3)/3+D_icons_shrink-D_icons_grow" + x2="(width-width%3)/3+D_icons_shrink-D_icons_grow" y2="height-(height-height%3)/3-2-D_icons_shrink+D_icons_grow" + color="C_icons_unfocused_pressed" /> + <line + x1="width-(width-width%3)/3-1-D_icons_shrink+D_icons_grow" y1="(height-height%3)/3+1+D_icons_shrink-D_icons_grow" + x2="(width-width%3)/3+1+D_icons_shrink-D_icons_grow" y2="height-(height-height%3)/3-1-D_icons_shrink+D_icons_grow" + color="C_icons_unfocused_pressed" /> +</draw_ops> + +<draw_ops name="close_unfocused_pressed"> + <include name="close_glyph_unfocused_pressed" y="D_icons_unfocused_offset" /> + <include name="close_glyph_unfocused_pressed" y="D_icons_unfocused_offset" /> +</draw_ops> + +<draw_ops name="maximize_glyph_focused"> + <rectangle + x="(width-width%3)/3+D_icons_shrink-D_icons_grow" y="(height-height%3)/3+D_icons_shrink-D_icons_grow" + width="width-2*(width-width%3)/3-1-2*D_icons_shrink+2*D_icons_grow" height="height-2*(height-height%3)/3-1-2*D_icons_shrink+2*D_icons_grow" + color="C_icons_focused" /> + <rectangle + x="(width-width%3)/3+1+D_icons_shrink-D_icons_grow" y="(height-height%3)/3+1+D_icons_shrink-D_icons_grow" + width="width-2*(width-width%3)/3-3-2*D_icons_shrink+2*D_icons_grow" height="height-2*(height-height%3)/3-3-2*D_icons_shrink+2*D_icons_grow" + color="C_icons_focused" /> +</draw_ops> + +<draw_ops name="maximize_glyph_focused_prelight"> + <rectangle + x="(width-width%3)/3+D_icons_shrink-D_icons_grow" y="(height-height%3)/3+D_icons_shrink-D_icons_grow" + width="width-2*(width-width%3)/3-1-2*D_icons_shrink+2*D_icons_grow" height="height-2*(height-height%3)/3-1-2*D_icons_shrink+2*D_icons_grow" + color="C_icons_focused_prelight" /> + <rectangle + x="(width-width%3)/3+1+D_icons_shrink-D_icons_grow" y="(height-height%3)/3+1+D_icons_shrink-D_icons_grow" + width="width-2*(width-width%3)/3-3-2*D_icons_shrink+2*D_icons_grow" height="height-2*(height-height%3)/3-3-2*D_icons_shrink+2*D_icons_grow" + color="C_icons_focused_prelight" /> +</draw_ops> + +<draw_ops name="maximize_glyph_focused_pressed"> + <rectangle + x="(width-width%3)/3+D_icons_shrink-D_icons_grow" y="(height-height%3)/3+D_icons_shrink-D_icons_grow" + width="width-2*(width-width%3)/3-1-2*D_icons_shrink+2*D_icons_grow" height="height-2*(height-height%3)/3-1-2*D_icons_shrink+2*D_icons_grow" + color="C_icons_focused_pressed" /> + <rectangle + x="(width-width%3)/3+1+D_icons_shrink-D_icons_grow" y="(height-height%3)/3+1+D_icons_shrink-D_icons_grow" + width="width-2*(width-width%3)/3-3-2*D_icons_shrink+2*D_icons_grow" height="height-2*(height-height%3)/3-3-2*D_icons_shrink+2*D_icons_grow" + color="C_icons_focused_pressed" /> +</draw_ops> + + +<draw_ops name="maximize_focused"> + <include name="maximize_glyph_focused" /> +</draw_ops> + +<draw_ops name="maximize_focused_prelight"> + <include name="maximize_glyph_focused_prelight" /> +</draw_ops> + +<draw_ops name="maximize_focused_pressed"> + <include name="maximize_glyph_focused_pressed" /> +</draw_ops> + +<draw_ops name="maximize_glyph_unfocused"> + <rectangle + x="(width-width%3)/3+D_icons_shrink-D_icons_grow" y="(height-height%3)/3+D_icons_shrink-D_icons_grow" + width="width-2*(width-width%3)/3-1-2*D_icons_shrink+2*D_icons_grow" height="height-2*(height-height%3)/3-1-2*D_icons_shrink+2*D_icons_grow" + color="C_icons_unfocused" /> + <rectangle + x="(width-width%3)/3+1+D_icons_shrink-D_icons_grow" y="(height-height%3)/3+1+D_icons_shrink-D_icons_grow" + width="width-2*(width-width%3)/3-3-2*D_icons_shrink+2*D_icons_grow" height="height-2*(height-height%3)/3-3-2*D_icons_shrink+2*D_icons_grow" + color="C_icons_unfocused" /> +</draw_ops> + +<draw_ops name="maximize_unfocused"> + <include name="maximize_glyph_unfocused" y="D_icons_unfocused_offset" /> +</draw_ops> + +<draw_ops name="maximize_glyph_unfocused_prelight"> + <rectangle + x="(width-width%3)/3+D_icons_shrink-D_icons_grow" y="(height-height%3)/3+D_icons_shrink-D_icons_grow" + width="width-2*(width-width%3)/3-1-2*D_icons_shrink+2*D_icons_grow" height="height-2*(height-height%3)/3-1-2*D_icons_shrink+2*D_icons_grow" + color="C_icons_unfocused_prelight" /> + <rectangle + x="(width-width%3)/3+1+D_icons_shrink-D_icons_grow" y="(height-height%3)/3+1+D_icons_shrink-D_icons_grow" + width="width-2*(width-width%3)/3-3-2*D_icons_shrink+2*D_icons_grow" height="height-2*(height-height%3)/3-3-2*D_icons_shrink+2*D_icons_grow" + color="C_icons_unfocused_prelight" /> +</draw_ops> + +<draw_ops name="maximize_unfocused_prelight"> + <include name="maximize_glyph_unfocused_prelight" y="D_icons_unfocused_offset" /> +</draw_ops> + +<draw_ops name="maximize_glyph_unfocused_pressed"> + <rectangle + x="(width-width%3)/3+D_icons_shrink-D_icons_grow" y="(height-height%3)/3+D_icons_shrink-D_icons_grow" + width="width-2*(width-width%3)/3-1-2*D_icons_shrink+2*D_icons_grow" height="height-2*(height-height%3)/3-1-2*D_icons_shrink+2*D_icons_grow" + color="C_icons_unfocused_pressed" /> + <rectangle + x="(width-width%3)/3+1+D_icons_shrink-D_icons_grow" y="(height-height%3)/3+1+D_icons_shrink-D_icons_grow" + width="width-2*(width-width%3)/3-3-2*D_icons_shrink+2*D_icons_grow" height="height-2*(height-height%3)/3-3-2*D_icons_shrink+2*D_icons_grow" + color="C_icons_unfocused_pressed" /> +</draw_ops> + +<draw_ops name="maximize_unfocused_pressed"> + <include name="maximize_glyph_unfocused_pressed" y="D_icons_unfocused_offset" /> +</draw_ops> + +<draw_ops name="minimize_glyph_focused"> + <rectangle + x="(width-width%3)/3+1+D_icons_shrink-D_icons_grow" y="height-(height-height%3)/3-2-D_icons_shrink+D_icons_grow" + width="width-2*(width-width%3)/3-2-2*D_icons_shrink+2*D_icons_grow" height="2" filled="true" + color="C_icons_focused" /> +</draw_ops> + +<draw_ops name="minimize_glyph_focused_prelight"> + <rectangle + x="(width-width%3)/3+1+D_icons_shrink-D_icons_grow" y="height-(height-height%3)/3-2-D_icons_shrink+D_icons_grow" + width="width-2*(width-width%3)/3-2-2*D_icons_shrink+2*D_icons_grow" height="2" filled="true" + color="C_icons_focused_prelight" /> +</draw_ops> + +<draw_ops name="minimize_glyph_focused_pressed"> + <rectangle + x="(width-width%3)/3+1+D_icons_shrink-D_icons_grow" y="height-(height-height%3)/3-2-D_icons_shrink+D_icons_grow" + width="width-2*(width-width%3)/3-2-2*D_icons_shrink+2*D_icons_grow" height="2" filled="true" + color="C_icons_focused_pressed" /> +</draw_ops> + +<draw_ops name="minimize_focused"> + <include name="minimize_glyph_focused" /> +</draw_ops> + +<draw_ops name="minimize_focused_prelight"> + <include name="minimize_glyph_focused_prelight" /> +</draw_ops> + +<draw_ops name="minimize_focused_pressed"> + <include name="minimize_glyph_focused_pressed" /> +</draw_ops> + +<draw_ops name="minimize_glyph_unfocused"> + <rectangle + x="(width-width%3)/3+1+D_icons_shrink-D_icons_grow" y="height-(height-height%3)/3-2-D_icons_shrink+D_icons_grow" + width="width-2*(width-width%3)/3-2-2*D_icons_shrink+2*D_icons_grow" height="2" filled="true" + color="C_icons_unfocused" /> +</draw_ops> + +<draw_ops name="minimize_unfocused"> + <include name="minimize_glyph_unfocused" y="D_icons_unfocused_offset" /> +</draw_ops> + +<draw_ops name="minimize_glyph_unfocused_prelight"> + <rectangle + x="(width-width%3)/3+1+D_icons_shrink-D_icons_grow" y="height-(height-height%3)/3-2-D_icons_shrink+D_icons_grow" + width="width-2*(width-width%3)/3-2-2*D_icons_shrink+2*D_icons_grow" height="2" filled="true" + color="C_icons_unfocused_prelight" /> +</draw_ops> + +<draw_ops name="minimize_unfocused_prelight"> + <include name="minimize_glyph_unfocused_prelight" y="D_icons_unfocused_offset" /> +</draw_ops> + +<draw_ops name="minimize_glyph_unfocused_pressed"> + <rectangle + x="(width-width%3)/3+1+D_icons_shrink-D_icons_grow" y="height-(height-height%3)/3-2-D_icons_shrink+D_icons_grow" + width="width-2*(width-width%3)/3-2-2*D_icons_shrink+2*D_icons_grow" height="2" filled="true" + color="C_icons_unfocused_pressed" /> +</draw_ops> + +<draw_ops name="minimize_unfocused_pressed"> + <include name="minimize_glyph_unfocused_pressed" y="D_icons_unfocused_offset" /> +</draw_ops> + +<draw_ops name="menu_glyph_focused"> + <rectangle + x="(width-width%3)/3+1+D_icons_shrink-D_icons_grow" y="(height-height%3)/3+D_icons_shrink-D_icons_grow" + width="width-2*(width-width%3)/3-3-2*D_icons_shrink+2*D_icons_grow" height="height-2*(height-height%3)/3-1-2*D_icons_shrink+2*D_icons_grow" + color="C_icons_focused" /> + <rectangle + x="(width-width%3)/3+2+D_icons_shrink-D_icons_grow" y="(height-height%3)/3+1+D_icons_shrink-D_icons_grow" + width="width-2*(width-width%3)/3-5-2*D_icons_shrink+2*D_icons_grow" height="height-2*(height-height%3)/3-3-2*D_icons_shrink+2*D_icons_grow" + color="C_icons_focused" /> + <rectangle + x="(width-width%3)/3+4+D_icons_shrink-D_icons_grow" y="height/2-1-D_icons_shrink+D_icons_grow" + width="width-2*(width-width%3)/3-8-2*D_icons_shrink+2*D_icons_grow" height="2" filled="true" + color="C_icons_focused" /> +</draw_ops> + +<draw_ops name="menu_glyph_focused_prelight"> + <rectangle + x="(width-width%3)/3+1+D_icons_shrink-D_icons_grow" y="(height-height%3)/3+D_icons_shrink-D_icons_grow" + width="width-2*(width-width%3)/3-3-2*D_icons_shrink+2*D_icons_grow" height="height-2*(height-height%3)/3-1-2*D_icons_shrink+2*D_icons_grow" + color="C_icons_focused_prelight" /> + <rectangle + x="(width-width%3)/3+2+D_icons_shrink-D_icons_grow" y="(height-height%3)/3+1+D_icons_shrink-D_icons_grow" + width="width-2*(width-width%3)/3-5-2*D_icons_shrink+2*D_icons_grow" height="height-2*(height-height%3)/3-3-2*D_icons_shrink+2*D_icons_grow" + color="C_icons_focused_prelight" /> + <rectangle + x="(width-width%3)/3+4+D_icons_shrink-D_icons_grow" y="height/2-1-D_icons_shrink+D_icons_grow" + width="width-2*(width-width%3)/3-8-2*D_icons_shrink+2*D_icons_grow" height="2" filled="true" + color="C_icons_focused_prelight" /> +</draw_ops> + +<draw_ops name="menu_glyph_focused_pressed"> + <rectangle + x="(width-width%3)/3+1+D_icons_shrink-D_icons_grow" y="(height-height%3)/3+D_icons_shrink-D_icons_grow" + width="width-2*(width-width%3)/3-3-2*D_icons_shrink+2*D_icons_grow" height="height-2*(height-height%3)/3-1-2*D_icons_shrink+2*D_icons_grow" + color="C_icons_focused_pressed" /> + <rectangle + x="(width-width%3)/3+2+D_icons_shrink-D_icons_grow" y="(height-height%3)/3+1+D_icons_shrink-D_icons_grow" + width="width-2*(width-width%3)/3-5-2*D_icons_shrink+2*D_icons_grow" height="height-2*(height-height%3)/3-3-2*D_icons_shrink+2*D_icons_grow" + color="C_icons_focused_pressed" /> + <rectangle + x="(width-width%3)/3+4+D_icons_shrink-D_icons_grow" y="height/2-1-D_icons_shrink+D_icons_grow" + width="width-2*(width-width%3)/3-8-2*D_icons_shrink+2*D_icons_grow" height="2" filled="true" + color="C_icons_focused_pressed" /> +</draw_ops> + +<draw_ops name="menu_focused"> + <include name="menu_glyph_focused" /> +</draw_ops> + +<draw_ops name="menu_focused_prelight"> + <include name="menu_glyph_focused_prelight" /> +</draw_ops> + +<draw_ops name="menu_focused_pressed"> + <include name="menu_glyph_focused_pressed" /> +</draw_ops> + +<draw_ops name="menu_glyph_unfocused"> + <rectangle + x="(width-width%3)/3+1+D_icons_shrink-D_icons_grow" y="(height-height%3)/3+D_icons_shrink-D_icons_grow" + width="width-2*(width-width%3)/3-3-2*D_icons_shrink+2*D_icons_grow" height="height-2*(height-height%3)/3-1-2*D_icons_shrink+2*D_icons_grow" + color="C_icons_unfocused" /> + <rectangle + x="(width-width%3)/3+2+D_icons_shrink-D_icons_grow" y="(height-height%3)/3+1+D_icons_shrink-D_icons_grow" + width="width-2*(width-width%3)/3-5-2*D_icons_shrink+2*D_icons_grow" height="height-2*(height-height%3)/3-3-2*D_icons_shrink+2*D_icons_grow" + color="C_icons_unfocused" /> + <rectangle + x="(width-width%3)/3+4+D_icons_shrink-D_icons_grow" y="height/2-1-D_icons_shrink+D_icons_grow" + width="width-2*(width-width%3)/3-8-2*D_icons_shrink+2*D_icons_grow" height="2" filled="true" + color="C_icons_unfocused" /> +</draw_ops> + +<draw_ops name="menu_unfocused"> + <include name="menu_glyph_unfocused" y="D_icons_unfocused_offset" /> +</draw_ops> + +<draw_ops name="menu_glyph_unfocused_prelight"> + <rectangle + x="(width-width%3)/3+1+D_icons_shrink-D_icons_grow" y="(height-height%3)/3+D_icons_shrink-D_icons_grow" + width="width-2*(width-width%3)/3-3-2*D_icons_shrink+2*D_icons_grow" height="height-2*(height-height%3)/3-1-2*D_icons_shrink+2*D_icons_grow" + color="C_icons_unfocused_prelight" /> + <rectangle + x="(width-width%3)/3+2+D_icons_shrink-D_icons_grow" y="(height-height%3)/3+1+D_icons_shrink-D_icons_grow" + width="width-2*(width-width%3)/3-5-2*D_icons_shrink+2*D_icons_grow" height="height-2*(height-height%3)/3-3-2*D_icons_shrink+2*D_icons_grow" + color="C_icons_unfocused_prelight" /> + <rectangle + x="(width-width%3)/3+4+D_icons_shrink-D_icons_grow" y="height/2-1-D_icons_shrink+D_icons_grow" + width="width-2*(width-width%3)/3-8-2*D_icons_shrink+2*D_icons_grow" height="2" filled="true" + color="C_icons_unfocused_prelight" /> +</draw_ops> + +<draw_ops name="menu_unfocused_prelight"> + <include name="menu_glyph_unfocused_prelight" y="D_icons_unfocused_offset" /> +</draw_ops> + +<draw_ops name="menu_glyph_unfocused_pressed"> + <rectangle + x="(width-width%3)/3+1+D_icons_shrink-D_icons_grow" y="(height-height%3)/3+D_icons_shrink-D_icons_grow" + width="width-2*(width-width%3)/3-3-2*D_icons_shrink+2*D_icons_grow" height="height-2*(height-height%3)/3-1-2*D_icons_shrink+2*D_icons_grow" + color="C_icons_unfocused_pressed" /> + <rectangle + x="(width-width%3)/3+2+D_icons_shrink-D_icons_grow" y="(height-height%3)/3+1+D_icons_shrink-D_icons_grow" + width="width-2*(width-width%3)/3-5-2*D_icons_shrink+2*D_icons_grow" height="height-2*(height-height%3)/3-3-2*D_icons_shrink+2*D_icons_grow" + color="C_icons_unfocused_pressed" /> + <rectangle + x="(width-width%3)/3+4+D_icons_shrink-D_icons_grow" y="height/2-1-D_icons_shrink+D_icons_grow" + width="width-2*(width-width%3)/3-8-2*D_icons_shrink+2*D_icons_grow" height="2" filled="true" + color="C_icons_unfocused_pressed" /> +</draw_ops> + +<draw_ops name="menu_unfocused_pressed"> + <include name="menu_glyph_unfocused_pressed" y="D_icons_unfocused_offset" /> +</draw_ops> + +<draw_ops name="shade_glyph_focused"> + <rectangle + x="(width-width%3)/3+D_icons_shrink-D_icons_grow" y="(height-height%3)/3+D_icons_shrink-D_icons_grow" + width="width-2*(width-width%3)/3-2*D_icons_shrink+2*D_icons_grow" height="2" filled="true" + color="C_icons_focused" /> + <rectangle + x="(width-width%3)/3+D_icons_shrink-D_icons_grow" y="height-(height-height%3)/3-2-D_icons_shrink+D_icons_grow" + width="width-2*(width-width%3)/3-2*D_icons_shrink+2*D_icons_grow" height="2" filled="true" + color="C_icons_focused" /> + <rectangle + x="(width-width%3)/3+D_icons_shrink-D_icons_grow" y="(height-height%3)/3+3+D_icons_shrink-D_icons_grow" + width="2" height="height-2*(height-height%3)/3-6-D_icons_shrink+D_icons_grow" filled="true" + color="C_icons_focused" /> + <rectangle + x="width-(width-width%3)/3-2-D_icons_shrink+D_icons_grow" y="(height-height%3)/3+3+D_icons_shrink-D_icons_grow" + width="2" height="height-2*(height-height%3)/3-6-D_icons_shrink+D_icons_grow" filled="true" + color="C_icons_focused" /> +</draw_ops> + +<draw_ops name="shade_glyph_focused_prelight"> + <rectangle + x="(width-width%3)/3+D_icons_shrink-D_icons_grow" y="(height-height%3)/3+D_icons_shrink-D_icons_grow" + width="width-2*(width-width%3)/3-2*D_icons_shrink+2*D_icons_grow" height="2" filled="true" + color="C_icons_focused_prelight" /> + <rectangle + x="(width-width%3)/3+D_icons_shrink-D_icons_grow" y="height-(height-height%3)/3-2-D_icons_shrink+D_icons_grow" + width="width-2*(width-width%3)/3-2*D_icons_shrink+2*D_icons_grow" height="2" filled="true" + color="C_icons_focused_prelight" /> + <rectangle + x="(width-width%3)/3+D_icons_shrink-D_icons_grow" y="(height-height%3)/3+3+D_icons_shrink-D_icons_grow" + width="2" height="height-2*(height-height%3)/3-6-D_icons_shrink+D_icons_grow" filled="true" + color="C_icons_focused_prelight" /> + <rectangle + x="width-(width-width%3)/3-2-D_icons_shrink+D_icons_grow" y="(height-height%3)/3+3+D_icons_shrink-D_icons_grow" + width="2" height="height-2*(height-height%3)/3-6-D_icons_shrink+D_icons_grow" filled="true" + color="C_icons_focused_prelight" /> +</draw_ops> + +<draw_ops name="shade_glyph_focused_pressed"> + <rectangle + x="(width-width%3)/3+D_icons_shrink-D_icons_grow" y="(height-height%3)/3+D_icons_shrink-D_icons_grow" + width="width-2*(width-width%3)/3-2*D_icons_shrink+2*D_icons_grow" height="2" filled="true" + color="C_icons_focused_pressed" /> + <rectangle + x="(width-width%3)/3+D_icons_shrink-D_icons_grow" y="height-(height-height%3)/3-2-D_icons_shrink+D_icons_grow" + width="width-2*(width-width%3)/3-2*D_icons_shrink+2*D_icons_grow" height="2" filled="true" + color="C_icons_focused_pressed" /> + <rectangle + x="(width-width%3)/3+D_icons_shrink-D_icons_grow" y="(height-height%3)/3+3+D_icons_shrink-D_icons_grow" + width="2" height="height-2*(height-height%3)/3-6-D_icons_shrink+D_icons_grow" filled="true" + color="C_icons_focused_pressed" /> + <rectangle + x="width-(width-width%3)/3-2-D_icons_shrink+D_icons_grow" y="(height-height%3)/3+3+D_icons_shrink-D_icons_grow" + width="2" height="height-2*(height-height%3)/3-6-D_icons_shrink+D_icons_grow" filled="true" + color="C_icons_focused_pressed" /> +</draw_ops> + +<draw_ops name="shade_focused"> + <include name="shade_glyph_focused" /> +</draw_ops> + +<draw_ops name="shade_focused_prelight"> + <include name="shade_glyph_focused_prelight" /> +</draw_ops> + +<draw_ops name="shade_focused_pressed"> + <include name="shade_glyph_focused_pressed" /> +</draw_ops> + +<draw_ops name="shade_glyph_unfocused"> + <rectangle + x="(width-width%3)/3+D_icons_shrink-D_icons_grow" y="(height-height%3)/3+D_icons_shrink-D_icons_grow" + width="width-2*(width-width%3)/3-2*D_icons_shrink+2*D_icons_grow" height="2" filled="true" + color="C_icons_unfocused" /> + <rectangle + x="(width-width%3)/3+D_icons_shrink-D_icons_grow" y="height-(height-height%3)/3-2-D_icons_shrink+D_icons_grow" + width="width-2*(width-width%3)/3-2*D_icons_shrink+2*D_icons_grow" height="2" filled="true" + color="C_icons_unfocused" /> + <rectangle + x="(width-width%3)/3+D_icons_shrink-D_icons_grow" y="(height-height%3)/3+3+D_icons_shrink-D_icons_grow" + width="2" height="height-2*(height-height%3)/3-6-D_icons_shrink+D_icons_grow" filled="true" + color="C_icons_unfocused" /> + <rectangle + x="width-(width-width%3)/3-2-D_icons_shrink+D_icons_grow" y="(height-height%3)/3+3+D_icons_shrink-D_icons_grow" + width="2" height="height-2*(height-height%3)/3-6-D_icons_shrink+D_icons_grow" filled="true" + color="C_icons_unfocused" /> +</draw_ops> + +<draw_ops name="shade_unfocused"> + <include name="shade_glyph_unfocused" y="D_icons_unfocused_offset" /> +</draw_ops> + +<draw_ops name="shade_glyph_unfocused_prelight"> + <rectangle + x="(width-width%3)/3+D_icons_shrink-D_icons_grow" y="(height-height%3)/3+D_icons_shrink-D_icons_grow" + width="width-2*(width-width%3)/3-2*D_icons_shrink+2*D_icons_grow" height="2" filled="true" + color="C_icons_unfocused_prelight" /> + <rectangle + x="(width-width%3)/3+D_icons_shrink-D_icons_grow" y="height-(height-height%3)/3-2-D_icons_shrink+D_icons_grow" + width="width-2*(width-width%3)/3-2*D_icons_shrink+2*D_icons_grow" height="2" filled="true" + color="C_icons_unfocused_prelight" /> + <rectangle + x="(width-width%3)/3+D_icons_shrink-D_icons_grow" y="(height-height%3)/3+3+D_icons_shrink-D_icons_grow" + width="2" height="height-2*(height-height%3)/3-6-D_icons_shrink+D_icons_grow" filled="true" + color="C_icons_unfocused_prelight" /> + <rectangle + x="width-(width-width%3)/3-2-D_icons_shrink+D_icons_grow" y="(height-height%3)/3+3+D_icons_shrink-D_icons_grow" + width="2" height="height-2*(height-height%3)/3-6-D_icons_shrink+D_icons_grow" filled="true" + color="C_icons_unfocused_prelight" /> +</draw_ops> + +<draw_ops name="shade_unfocused_prelight"> + <include name="shade_glyph_unfocused_prelight" y="D_icons_unfocused_offset" /> +</draw_ops> + +<draw_ops name="shade_glyph_unfocused_pressed"> + <rectangle + x="(width-width%3)/3+D_icons_shrink-D_icons_grow" y="(height-height%3)/3+D_icons_shrink-D_icons_grow" + width="width-2*(width-width%3)/3-2*D_icons_shrink+2*D_icons_grow" height="2" filled="true" + color="C_icons_unfocused_pressed" /> + <rectangle + x="(width-width%3)/3+D_icons_shrink-D_icons_grow" y="height-(height-height%3)/3-2-D_icons_shrink+D_icons_grow" + width="width-2*(width-width%3)/3-2*D_icons_shrink+2*D_icons_grow" height="2" filled="true" + color="C_icons_unfocused_pressed" /> + <rectangle + x="(width-width%3)/3+D_icons_shrink-D_icons_grow" y="(height-height%3)/3+3+D_icons_shrink-D_icons_grow" + width="2" height="height-2*(height-height%3)/3-6-D_icons_shrink+D_icons_grow" filled="true" + color="C_icons_unfocused_pressed" /> + <rectangle + x="width-(width-width%3)/3-2-D_icons_shrink+D_icons_grow" y="(height-height%3)/3+3+D_icons_shrink-D_icons_grow" + width="2" height="height-2*(height-height%3)/3-6-D_icons_shrink+D_icons_grow" filled="true" + color="C_icons_unfocused_pressed" /> +</draw_ops> + +<draw_ops name="shade_unfocused_pressed"> + <include name="shade_glyph_unfocused_pressed" y="D_icons_unfocused_offset" /> +</draw_ops> + + + <!-- button backgrounds --> + +<draw_ops name="button_fill"> <!-- button background --> + <tint color="gtk:custom(wm_button_bg,gtk:bg[NORMAL])" alpha="1" x="0" y="0" width="width" height="height-2" /> +</draw_ops> + +<draw_ops name="button_fill_prelight"> <!-- button background for prelight status --> + <tint color="gtk:custom(wm_button_prelight_bg,#000000)" alpha="1" x="0" y="0" width="width" height="height-2" /> +</draw_ops> + +<draw_ops name="button_bottom"> + <line x1="0" y1="height-2" x2="width-1" y2="height-2" color="C_border_focused" /> + <line x1="0" y1="height-3" x2="width-1" y2="height-3" color="C_border_focused" /> +</draw_ops> + +<draw_ops name="button_separator_left"> + <line x1="0" y1="0" x2="0" y2="height-3" color="C_border_focused" /> +</draw_ops> + +<draw_ops name="button_separator_right"> + <line x1="width-1" y1="0" x2="width-1" y2="height-3" color="C_border_focused" /> +</draw_ops> + + +<draw_ops name="button"> + <include name="button_fill" /> + <include name="button_separator_left" /> + <include name="button_separator_right" /> + <include name="button_bottom" /> +</draw_ops> + +<draw_ops name="button_prelight"> + <include name="button_fill_prelight" /> + <include name="button_bottom" /> +</draw_ops> + +<draw_ops name="button_pressed"> + <include name="button_fill_prelight" /> + <include name="button_bottom" /> +</draw_ops> + +<draw_ops name="button_inner_right_fill"> + <tint color="gtk:custom(wm_button_bg,gtk:bg[NORMAL])" alpha="1" x="2" y="0" width="width-2" height="height-3" /> +</draw_ops> + +<draw_ops name="button_inner_right_fill_prelight"> + <tint color="gtk:custom(wm_button_prelight_bg,gtk:fg[NORMAL])" alpha="1" x="2" y="0" width="width-2" height="height-3" /> +</draw_ops> + +<draw_ops name="button_inner_right_fill_pressed"> + <tint color="gtk:custom(wm_button_pressed_bg,gtk:text[NORMAL])" alpha="1" x="2" y="0" width="width-2" height="height-3" /> +</draw_ops> + +<draw_ops name="button_inner_right_border"> + <arc color="C_border_focused" x="0" y="height-10" width="8" height="8" start_angle="180" extent_angle="90" /> + <arc color="C_border_focused" x="1" y="height-9" width="6" height="6" start_angle="180" extent_angle="90" /> + <line color="C_border_focused" x1="0" y1="0" x2="0" y2="height-6"/> + <line color="C_border_focused" x1="1" y1="0" x2="1" y2="height-6"/> + <line x1="4" y1="height-2" x2="width-1" y2="height-2" color="C_border_focused" /> + <line x1="4" y1="height-3" x2="width-1" y2="height-3" color="C_border_focused" /> +</draw_ops> + +<draw_ops name="button_inner_right"> + <include name="button_inner_right_fill" /> + <include name="button_separator_right" /> + <include name="button_inner_right_border" /> +</draw_ops> + +<draw_ops name="button_inner_right_prelight"> + <include name="button_inner_right_fill_prelight" /> + <include name="button_separator_right" /> + <include name="button_inner_right_border" /> +</draw_ops> + +<draw_ops name="button_inner_right_pressed"> + <include name="button_inner_right_fill_pressed" /> + <include name="button_separator_right" /> + <include name="button_inner_right_border" /> +</draw_ops> + +<draw_ops name="button_inner_left_fill"> + <tint color="gtk:custom(wm_button_bg,gtk:bg[NORMAL])" alpha="1" x="1" y="0" width="width-2" height="height-3" /> +</draw_ops> + +<draw_ops name="button_inner_left_fill_prelight"> + <tint color="gtk:custom(wm_button_prelight_bg,gtk:fg[NORMAL])" alpha="1" x="1" y="0" width="width-2" height="height-3" /> +</draw_ops> + +<draw_ops name="button_inner_left_fill_pressed"> + <tint color="gtk:custom(wm_button_pressed_bg,gtk:text[NORMAL])" alpha="1" x="1" y="0" width="width-2" height="height-3" /> +</draw_ops> + +<draw_ops name="button_inner_left_border"> + <arc color="C_border_focused" x="width-9" y="height-10" width="8" height="8" start_angle="90" extent_angle="90" /> + <arc color="C_border_focused" x="width-8" y="height-9" width="6" height="6" start_angle="90" extent_angle="90" /> + <line color="C_border_focused" x1="width-1" y1="0" x2="width-1" y2="height-6"/> + <line color="C_border_focused" x1="width-2" y1="0" x2="width-2" y2="height-6"/> + <line x1="0" y1="height-2" x2="width-5" y2="height-2" color="C_border_focused" /> + <line x1="0" y1="height-3" x2="width-5" y2="height-3" color="C_border_focused" /> +</draw_ops> + +<draw_ops name="button_inner_left"> + <include name="button_inner_left_fill" /> + <include name="button_separator_left" /> + <include name="button_inner_left_border" /> +</draw_ops> + +<draw_ops name="button_inner_left_prelight"> + <include name="button_inner_left_fill_prelight" /> + <include name="button_separator_left" /> + <include name="button_inner_left_border" /> +</draw_ops> + +<draw_ops name="button_inner_left_pressed"> + <include name="button_inner_left_fill_pressed" /> + <include name="button_separator_left" /> + <include name="button_inner_left_border" /> +</draw_ops> + + +<!-- frame styles --> + +<frame_style name="normal_focused" geometry="normal"> + <piece position="entire_background" draw_ops="entire_background_focused" /> + <piece position="titlebar" draw_ops="rounded_titlebar_focused" /> + <piece position="title" draw_ops="title_focused" /> + <piece position="overlay" draw_ops="rounded_border_focused" /> + <button function="close" state="normal" draw_ops="close_focused" /> + <button function="close" state="prelight" draw_ops="close_focused_prelight" /> + <button function="close" state="pressed" draw_ops="close_focused_pressed" /> + <button function="maximize" state="normal" draw_ops="maximize_focused" /> + <button function="maximize" state="prelight" draw_ops="maximize_focused_prelight" /> + <button function="maximize" state="pressed" draw_ops="maximize_focused_pressed" /> + <button function="minimize" state="normal" draw_ops="minimize_focused" /> + <button function="minimize" state="prelight" draw_ops="minimize_focused_prelight" /> + <button function="minimize" state="pressed" draw_ops="minimize_focused_pressed" /> + <button function="menu" state="normal" draw_ops="menu_focused" /> + <button function="menu" state="prelight" draw_ops="menu_focused_prelight" /> + <button function="menu" state="pressed" draw_ops="menu_focused_pressed" /> + <button function="shade" state="normal" draw_ops="shade_focused" /> + <button function="shade" state="prelight" draw_ops="shade_focused_prelight" /> + <button function="shade" state="pressed" draw_ops="shade_focused_pressed" /> + <button function="unshade" state="normal" draw_ops="shade_focused" /> + <button function="unshade" state="prelight" draw_ops="shade_focused_prelight" /> + <button function="unshade" state="pressed" draw_ops="shade_focused_pressed" /> + + <button function="left_middle_background" state="normal" draw_ops="button"/> + <button function="left_middle_background" state="prelight" draw_ops="button_prelight"/> + <button function="left_middle_background" state="pressed" draw_ops="button_pressed"/> + <button function="left_right_background" state="normal" draw_ops="button_inner_left"/> + <button function="left_right_background" state="prelight" draw_ops="button_inner_left_prelight"/> + <button function="left_right_background" state="pressed" draw_ops="button_inner_left_pressed"/> + + <button function="right_middle_background" state="normal" draw_ops="button"/> + <button function="right_middle_background" state="prelight" draw_ops="button_prelight"/> + <button function="right_middle_background" state="pressed" draw_ops="button_pressed"/> + <button function="right_left_background" state="normal" draw_ops="button_inner_right"/> + <button function="right_left_background" state="prelight" draw_ops="button_inner_right_prelight"/> + <button function="right_left_background" state="pressed" draw_ops="button_inner_right_pressed"/> + + <button version=">= 3.3" function="left_single_background" state="normal" draw_ops="button_inner_left"/> + <button version=">= 3.3" function="left_single_background" state="prelight" draw_ops="button_inner_left_prelight"/> + <button version=">= 3.3" function="left_single_background" state="pressed" draw_ops="button_inner_left_pressed"/> + <button version=">= 3.3" function="right_single_background" state="normal" draw_ops="button_inner_right"/> + <button version=">= 3.3" function="right_single_background" state="prelight" draw_ops="button_inner_right_prelight"/> + <button version=">= 3.3" function="right_single_background" state="pressed" draw_ops="button_inner_right_pressed"/> + + <button function="above" state="normal"><draw_ops></draw_ops></button> + <button function="above" state="pressed"><draw_ops></draw_ops></button> + <button function="unabove" state="normal"><draw_ops></draw_ops></button> + <button function="unabove" state="pressed"><draw_ops></draw_ops></button> + <button function="stick" state="normal"><draw_ops></draw_ops></button> + <button function="stick" state="pressed"><draw_ops></draw_ops></button> + <button function="unstick" state="normal"><draw_ops></draw_ops></button> + <button function="unstick" state="pressed"><draw_ops></draw_ops></button> +</frame_style> + +<frame_style name="normal_unfocused" geometry="normal_unfocused"> + <piece position="entire_background" draw_ops="entire_background_unfocused" /> + <piece position="titlebar" draw_ops="titlebar_fill_unfocused" /> + <piece position="title" draw_ops="title_unfocused" /> + <piece position="overlay" draw_ops="rounded_border_unfocused" /> + <button function="close" state="normal" draw_ops="close_unfocused"/> + <button function="close" state="prelight" draw_ops="close_unfocused_prelight"/> + <button function="close" state="pressed" draw_ops="close_unfocused_pressed"/> + <button function="maximize" state="normal" draw_ops="maximize_unfocused"/> + <button function="maximize" state="prelight" draw_ops="maximize_unfocused_prelight"/> + <button function="maximize" state="pressed" draw_ops="maximize_unfocused_pressed"/> + <button function="minimize" state="normal" draw_ops="minimize_unfocused"/> + <button function="minimize" state="prelight" draw_ops="minimize_unfocused_prelight"/> + <button function="minimize" state="pressed" draw_ops="minimize_unfocused_pressed"/> + <button function="menu" state="normal" draw_ops="menu_unfocused" /> + <button function="menu" state="prelight" draw_ops="menu_unfocused_prelight" /> + <button function="menu" state="pressed" draw_ops="menu_unfocused_pressed" /> + <button function="shade" state="normal" draw_ops="shade_unfocused" /> + <button function="shade" state="prelight" draw_ops="shade_unfocused_prelight" /> + <button function="shade" state="pressed" draw_ops="shade_unfocused_pressed" /> + <button function="unshade" state="normal" draw_ops="shade_unfocused" /> + <button function="unshade" state="prelight" draw_ops="shade_unfocused_prelight" /> + <button function="unshade" state="pressed" draw_ops="shade_unfocused_pressed" /> + <button function="above" state="normal"><draw_ops></draw_ops></button> + <button function="above" state="pressed"><draw_ops></draw_ops></button> + <button function="unabove" state="normal"><draw_ops></draw_ops></button> + <button function="unabove" state="pressed"><draw_ops></draw_ops></button> + <button function="stick" state="normal"><draw_ops></draw_ops></button> + <button function="stick" state="pressed"><draw_ops></draw_ops></button> + <button function="unstick" state="normal"><draw_ops></draw_ops></button> + <button function="unstick" state="pressed"><draw_ops></draw_ops></button> +</frame_style> + +<frame_style name="normal_max_focused" geometry="max"> + <piece position="entire_background" draw_ops="entire_background_focused" /> + <piece position="titlebar" draw_ops="titlebar_fill_focused" /> + <piece position="title" draw_ops="title_focused" /> + <button function="close" state="normal" draw_ops="close_focused" /> + <button function="close" state="prelight" draw_ops="close_focused_prelight" /> + <button function="close" state="pressed" draw_ops="close_focused_pressed" /> + <button function="maximize" state="normal" draw_ops="maximize_focused" /> + <button function="maximize" state="prelight" draw_ops="maximize_focused" /> + <button function="maximize" state="pressed" draw_ops="maximize_focused_pressed" /> + <button function="minimize" state="normal" draw_ops="minimize_focused" /> + <button function="minimize" state="prelight" draw_ops="minimize_focused_prelight" /> + <button function="minimize" state="pressed" draw_ops="minimize_focused_pressed" /> + <button function="menu" state="normal" draw_ops="menu_focused" /> + <button function="menu" state="prelight" draw_ops="menu_focused_prelight" /> + <button function="menu" state="pressed" draw_ops="menu_focused_pressed" /> + <button function="shade" state="normal" draw_ops="shade_focused" /> + <button function="shade" state="prelight" draw_ops="shade_focused_prelight" /> + <button function="shade" state="pressed" draw_ops="shade_focused_pressed" /> + <button function="unshade" state="normal" draw_ops="shade_focused" /> + <button function="unshade" state="prelight" draw_ops="shade_focused_prelight" /> + <button function="unshade" state="pressed" draw_ops="shade_focused_pressed" /> + + <button function="left_middle_background" state="normal" draw_ops="button"/> + <button function="left_middle_background" state="prelight" draw_ops="button_prelight"/> + <button function="left_middle_background" state="pressed" draw_ops="button_pressed"/> + <button function="left_right_background" state="normal" draw_ops="button_inner_left"/> + <button function="left_right_background" state="prelight" draw_ops="button_inner_left_prelight"/> + <button function="left_right_background" state="pressed" draw_ops="button_inner_left_pressed"/> + + <button function="right_middle_background" state="normal" draw_ops="button"/> + <button function="right_middle_background" state="prelight" draw_ops="button_prelight"/> + <button function="right_middle_background" state="pressed" draw_ops="button_pressed"/> + <button function="right_left_background" state="normal" draw_ops="button_inner_right"/> + <button function="right_left_background" state="prelight" draw_ops="button_inner_right_prelight"/> + <button function="right_left_background" state="pressed" draw_ops="button_inner_right_pressed"/> + + <button version=">= 3.3" function="left_single_background" state="normal" draw_ops="button_inner_left"/> + <button version=">= 3.3" function="left_single_background" state="prelight" draw_ops="button_inner_left_prelight"/> + <button version=">= 3.3" function="left_single_background" state="pressed" draw_ops="button_inner_left_pressed"/> + <button version=">= 3.3" function="right_single_background" state="normal" draw_ops="button_inner_right"/> + <button version=">= 3.3" function="right_single_background" state="prelight" draw_ops="button_inner_right_prelight"/> + <button version=">= 3.3" function="right_single_background" state="pressed" draw_ops="button_inner_right_pressed"/> + + <button function="above" state="normal"><draw_ops></draw_ops></button> + <button function="above" state="pressed"><draw_ops></draw_ops></button> + <button function="unabove" state="normal"><draw_ops></draw_ops></button> + <button function="unabove" state="pressed"><draw_ops></draw_ops></button> + <button function="stick" state="normal"><draw_ops></draw_ops></button> + <button function="stick" state="pressed"><draw_ops></draw_ops></button> + <button function="unstick" state="normal"><draw_ops></draw_ops></button> + <button function="unstick" state="pressed"><draw_ops></draw_ops></button> +</frame_style> + +<frame_style name="normal_max_unfocused" geometry="max"> + <piece position="entire_background" draw_ops="entire_background_unfocused" /> + <piece position="titlebar" draw_ops="titlebar_fill_unfocused" /> + <piece position="title" draw_ops="title_unfocused" /> + <button function="close" state="normal" draw_ops="close_unfocused"/> + <button function="close" state="prelight" draw_ops="close_unfocused_prelight"/> + <button function="close" state="pressed" draw_ops="close_unfocused_pressed"/> + <button function="maximize" state="normal" draw_ops="maximize_unfocused"/> + <button function="maximize" state="prelight" draw_ops="maximize_unfocused_prelight"/> + <button function="maximize" state="pressed" draw_ops="maximize_unfocused_pressed"/> + <button function="minimize" state="normal" draw_ops="minimize_unfocused"/> + <button function="minimize" state="prelight" draw_ops="minimize_unfocused_prelight"/> + <button function="minimize" state="pressed" draw_ops="minimize_unfocused_pressed"/> + <button function="menu" state="normal" draw_ops="menu_unfocused" /> + <button function="menu" state="prelight" draw_ops="menu_unfocused_prelight" /> + <button function="menu" state="pressed" draw_ops="menu_unfocused_pressed" /> + <button function="shade" state="normal" draw_ops="shade_unfocused" /> + <button function="shade" state="prelight" draw_ops="shade_unfocused_prelight" /> + <button function="shade" state="pressed" draw_ops="shade_unfocused_pressed" /> + <button function="unshade" state="normal" draw_ops="shade_unfocused" /> + <button function="unshade" state="prelight" draw_ops="shade_unfocused_prelight" /> + <button function="unshade" state="pressed" draw_ops="shade_unfocused_pressed" /> + <button function="above" state="normal"><draw_ops></draw_ops></button> + <button function="above" state="pressed"><draw_ops></draw_ops></button> + <button function="unabove" state="normal"><draw_ops></draw_ops></button> + <button function="unabove" state="pressed"><draw_ops></draw_ops></button> + <button function="stick" state="normal"><draw_ops></draw_ops></button> + <button function="stick" state="pressed"><draw_ops></draw_ops></button> + <button function="unstick" state="normal"><draw_ops></draw_ops></button> + <button function="unstick" state="pressed"><draw_ops></draw_ops></button> +</frame_style> + +<frame_style name="normal_max_shaded_focused" geometry="max"> + <piece position="entire_background" draw_ops="entire_background_focused" /> + <piece position="titlebar" draw_ops="titlebar_fill_focused" /> + <piece position="title" draw_ops="title_focused" /> + <piece position="overlay"><draw_ops><line x1="0" y1="height-1" x2="width" y2="height-1" color="C_border_focused" /></draw_ops></piece> + <button function="close" state="normal" draw_ops="close_focused" /> + <button function="close" state="prelight" draw_ops="close_focused_prelight" /> + <button function="close" state="pressed" draw_ops="close_focused_pressed" /> + <button function="maximize" state="normal" draw_ops="maximize_focused" /> + <button function="maximize" state="prelight" draw_ops="maximize_focused_prelight" /> + <button function="maximize" state="pressed" draw_ops="maximize_focused_pressed" /> + <button function="minimize" state="normal" draw_ops="minimize_focused" /> + <button function="minimize" state="prelight" draw_ops="minimize_focused_prelight" /> + <button function="minimize" state="pressed" draw_ops="minimize_focused_pressed" /> + <button function="menu" state="normal" draw_ops="menu_focused" /> + <button function="menu" state="prelight" draw_ops="menu_focused_prelight" /> + <button function="menu" state="pressed" draw_ops="menu_focused_pressed" /> + <button function="shade" state="normal" draw_ops="shade_focused" /> + <button function="shade" state="prelight" draw_ops="shade_focused_prelight" /> + <button function="shade" state="pressed" draw_ops="shade_focused_pressed" /> + <button function="unshade" state="normal" draw_ops="shade_focused" /> + <button function="unshade" state="prelight" draw_ops="shade_focused_prelight" /> + <button function="unshade" state="pressed" draw_ops="shade_focused_pressed" /> + + <button function="left_middle_background" state="normal" draw_ops="button"/> + <button function="left_middle_background" state="prelight" draw_ops="button_prelight"/> + <button function="left_middle_background" state="pressed" draw_ops="button_pressed"/> + <button function="left_right_background" state="normal" draw_ops="button_inner_left"/> + <button function="left_right_background" state="prelight" draw_ops="button_inner_left_prelight"/> + <button function="left_right_background" state="pressed" draw_ops="button_inner_left_pressed"/> + + <button function="right_middle_background" state="normal" draw_ops="button"/> + <button function="right_middle_background" state="prelight" draw_ops="button_prelight"/> + <button function="right_middle_background" state="pressed" draw_ops="button_pressed"/> + <button function="right_left_background" state="normal" draw_ops="button_inner_right"/> + <button function="right_left_background" state="prelight" draw_ops="button_inner_right_prelight"/> + <button function="right_left_background" state="pressed" draw_ops="button_inner_right_pressed"/> + + <button version=">= 3.3" function="left_single_background" state="normal" draw_ops="button_inner_left"/> + <button version=">= 3.3" function="left_single_background" state="prelight" draw_ops="button_inner_left_prelight"/> + <button version=">= 3.3" function="left_single_background" state="pressed" draw_ops="button_inner_left_pressed"/> + <button version=">= 3.3" function="right_single_background" state="normal" draw_ops="button_inner_right"/> + <button version=">= 3.3" function="right_single_background" state="prelight" draw_ops="button_inner_right_prelight"/> + <button version=">= 3.3" function="right_single_background" state="pressed" draw_ops="button_inner_right_pressed"/> + + <button function="above" state="normal"><draw_ops></draw_ops></button> + <button function="above" state="pressed"><draw_ops></draw_ops></button> + <button function="unabove" state="normal"><draw_ops></draw_ops></button> + <button function="unabove" state="pressed"><draw_ops></draw_ops></button> + <button function="stick" state="normal"><draw_ops></draw_ops></button> + <button function="stick" state="pressed"><draw_ops></draw_ops></button> + <button function="unstick" state="normal"><draw_ops></draw_ops></button> + <button function="unstick" state="pressed"><draw_ops></draw_ops></button> +</frame_style> + +<frame_style name="normal_max_shaded_unfocused" geometry="max"> + <piece position="entire_background" draw_ops="entire_background_unfocused" /> + <piece position="titlebar" draw_ops="titlebar_fill_unfocused" /> + <piece position="title" draw_ops="title_unfocused" /> + <piece position="overlay"><draw_ops><line x1="0" y1="height-1" x2="width" y2="height-1" color="C_border_unfocused" /></draw_ops></piece> + <button function="close" state="normal" draw_ops="close_unfocused"/> + <button function="close" state="prelight" draw_ops="close_unfocused_prelight"/> + <button function="close" state="pressed" draw_ops="close_unfocused_pressed"/> + <button function="maximize" state="normal" draw_ops="maximize_unfocused"/> + <button function="maximize" state="prelight" draw_ops="maximize_unfocused_prelight"/> + <button function="maximize" state="pressed" draw_ops="maximize_unfocused_pressed"/> + <button function="minimize" state="normal" draw_ops="minimize_unfocused"/> + <button function="minimize" state="prelight" draw_ops="minimize_unfocused_prelight"/> + <button function="minimize" state="pressed" draw_ops="minimize_unfocused_pressed"/> + <button function="menu" state="normal" draw_ops="menu_unfocused" /> + <button function="menu" state="prelight" draw_ops="menu_unfocused_prelight" /> + <button function="menu" state="pressed" draw_ops="menu_unfocused_pressed" /> + <button function="shade" state="normal" draw_ops="shade_unfocused" /> + <button function="shade" state="prelight" draw_ops="shade_unfocused_prelight" /> + <button function="shade" state="pressed" draw_ops="shade_unfocused_pressed" /> + <button function="unshade" state="normal" draw_ops="shade_unfocused" /> + <button function="unshade" state="prelight" draw_ops="shade_unfocused_prelight" /> + <button function="unshade" state="pressed" draw_ops="shade_unfocused_pressed" /> + <button function="above" state="normal"><draw_ops></draw_ops></button> + <button function="above" state="pressed"><draw_ops></draw_ops></button> + <button function="unabove" state="normal"><draw_ops></draw_ops></button> + <button function="unabove" state="pressed"><draw_ops></draw_ops></button> + <button function="stick" state="normal"><draw_ops></draw_ops></button> + <button function="stick" state="pressed"><draw_ops></draw_ops></button> + <button function="unstick" state="normal"><draw_ops></draw_ops></button> + <button function="unstick" state="pressed"><draw_ops></draw_ops></button> +</frame_style> + +<frame_style name="dialog_focused" geometry="nobuttons"> + <piece position="entire_background" draw_ops="entire_background_focused" /> + <piece position="titlebar" draw_ops="rounded_titlebar_focused" /> + <piece position="title" draw_ops="title_focused" /> + <piece position="overlay" draw_ops="rounded_border_focused" /> + <button function="close" state="normal" draw_ops="close_focused" /> + <button function="close" state="prelight" draw_ops="close_focused_prelight" /> + <button function="close" state="pressed" draw_ops="close_focused_pressed" /> + <button function="maximize" state="normal" draw_ops="maximize_focused" /> + <button function="maximize" state="prelight" draw_ops="maximize_focused_prelight" /> + <button function="maximize" state="pressed" draw_ops="maximize_focused_pressed" /> + <button function="minimize" state="normal" draw_ops="minimize_focused" /> + <button function="minimize" state="prelight" draw_ops="minimize_focused_prelight" /> + <button function="minimize" state="pressed" draw_ops="minimize_focused_pressed" /> + <button function="menu" state="normal" draw_ops="menu_focused" /> + <button function="menu" state="prelight" draw_ops="menu_focused_prelight" /> + <button function="menu" state="pressed" draw_ops="menu_focused_pressed" /> + <button function="shade" state="normal" draw_ops="shade_focused" /> + <button function="shade" state="prelight" draw_ops="shade_focused_prelight" /> + <button function="shade" state="pressed" draw_ops="shade_focused_pressed" /> + <button function="unshade" state="normal" draw_ops="shade_focused" /> + <button function="unshade" state="prelight" draw_ops="shade_focused_prelight" /> + <button function="unshade" state="pressed" draw_ops="shade_focused_pressed" /> + + <button function="left_middle_background" state="normal" draw_ops="button"/> + <button function="left_middle_background" state="prelight" draw_ops="button_prelight"/> + <button function="left_middle_background" state="pressed" draw_ops="button_pressed"/> + <button function="left_right_background" state="normal" draw_ops="button_inner_left"/> + <button function="left_right_background" state="prelight" draw_ops="button_inner_left_prelight"/> + <button function="left_right_background" state="pressed" draw_ops="button_inner_left_pressed"/> + + <button function="right_middle_background" state="normal" draw_ops="button"/> + <button function="right_middle_background" state="prelight" draw_ops="button_prelight"/> + <button function="right_middle_background" state="pressed" draw_ops="button_pressed"/> + <button function="right_left_background" state="normal" draw_ops="button_inner_right"/> + <button function="right_left_background" state="prelight" draw_ops="button_inner_right_prelight"/> + <button function="right_left_background" state="pressed" draw_ops="button_inner_right_pressed"/> + + <button version=">= 3.3" function="left_single_background" state="normal" draw_ops="button_inner_left"/> + <button version=">= 3.3" function="left_single_background" state="prelight" draw_ops="button_inner_left_prelight"/> + <button version=">= 3.3" function="left_single_background" state="pressed" draw_ops="button_inner_left_pressed"/> + <button version=">= 3.3" function="right_single_background" state="normal" draw_ops="button_inner_right"/> + <button version=">= 3.3" function="right_single_background" state="prelight" draw_ops="button_inner_right_prelight"/> + <button version=">= 3.3" function="right_single_background" state="pressed" draw_ops="button_inner_right_pressed"/> + + <button function="above" state="normal"><draw_ops></draw_ops></button> + <button function="above" state="pressed"><draw_ops></draw_ops></button> + <button function="unabove" state="normal"><draw_ops></draw_ops></button> + <button function="unabove" state="pressed"><draw_ops></draw_ops></button> + <button function="stick" state="normal"><draw_ops></draw_ops></button> + <button function="stick" state="pressed"><draw_ops></draw_ops></button> + <button function="unstick" state="normal"><draw_ops></draw_ops></button> + <button function="unstick" state="pressed"><draw_ops></draw_ops></button> +</frame_style> + +<frame_style name="dialog_unfocused" geometry="nobuttons"> + <piece position="entire_background" draw_ops="entire_background_unfocused" /> + <piece position="titlebar" draw_ops="titlebar_fill_unfocused" /> + <piece position="title" draw_ops="title_unfocused" /> + <piece position="overlay" draw_ops="rounded_border_unfocused" /> + <button function="close" state="normal" draw_ops="close_unfocused"/> + <button function="close" state="prelight" draw_ops="close_unfocused_prelight"/> + <button function="close" state="pressed" draw_ops="close_unfocused_pressed"/> + <button function="maximize" state="normal" draw_ops="maximize_unfocused"/> + <button function="maximize" state="prelight" draw_ops="maximize_unfocused_prelight"/> + <button function="maximize" state="pressed" draw_ops="maximize_unfocused_pressed"/> + <button function="minimize" state="normal" draw_ops="minimize_unfocused"/> + <button function="minimize" state="prelight" draw_ops="minimize_unfocused_prelight"/> + <button function="minimize" state="pressed" draw_ops="minimize_unfocused_pressed"/> + <button function="menu" state="normal" draw_ops="menu_unfocused" /> + <button function="menu" state="prelight" draw_ops="menu_unfocused_prelight" /> + <button function="menu" state="pressed" draw_ops="menu_unfocused_pressed" /> + <button function="shade" state="normal"><draw_ops></draw_ops></button> + <button function="shade" state="pressed"><draw_ops></draw_ops></button> + <button function="unshade" state="normal"><draw_ops></draw_ops></button> + <button function="unshade" state="pressed"><draw_ops></draw_ops></button> + <button function="above" state="normal"><draw_ops></draw_ops></button> + <button function="above" state="pressed"><draw_ops></draw_ops></button> + <button function="unabove" state="normal"><draw_ops></draw_ops></button> + <button function="unabove" state="pressed"><draw_ops></draw_ops></button> + <button function="stick" state="normal"><draw_ops></draw_ops></button> + <button function="stick" state="pressed"><draw_ops></draw_ops></button> + <button function="unstick" state="normal"><draw_ops></draw_ops></button> + <button function="unstick" state="pressed"><draw_ops></draw_ops></button> +</frame_style> + +<frame_style name="modal_dialog_focused" geometry="modal"> + <piece position="entire_background" draw_ops="entire_background_focused" /> + <piece position="titlebar" draw_ops="titlebar_focused" /> + <piece position="title" draw_ops="title_focused" /> + <piece position="overlay" draw_ops="border_focused" /> + <button function="close" state="normal" draw_ops="close_focused" /> + <button function="close" state="prelight" draw_ops="close_focused_prelight" /> + <button function="close" state="pressed" draw_ops="close_focused_pressed" /> + <button function="maximize" state="normal" draw_ops="maximize_focused" /> + <button function="maximize" state="prelight" draw_ops="maximize_focused_prelight" /> + <button function="maximize" state="pressed" draw_ops="maximize_focused_pressed" /> + <button function="minimize" state="normal" draw_ops="minimize_focused" /> + <button function="minimize" state="prelight" draw_ops="minimize_focused_prelight" /> + <button function="minimize" state="pressed" draw_ops="minimize_focused_pressed" /> + <button function="menu" state="normal" draw_ops="menu_focused" /> + <button function="menu" state="prelight" draw_ops="menu_focused_prelight" /> + <button function="menu" state="pressed" draw_ops="menu_focused_pressed" /> + <button function="shade" state="normal" draw_ops="shade_focused" /> + <button function="shade" state="prelight" draw_ops="shade_focused_prelight" /> + <button function="shade" state="pressed" draw_ops="shade_focused_pressed" /> + <button function="unshade" state="normal" draw_ops="shade_focused" /> + <button function="unshade" state="prelight" draw_ops="shade_focused_prelight" /> + <button function="unshade" state="pressed" draw_ops="shade_focused_pressed" /> + + <button function="left_middle_background" state="normal" draw_ops="button"/> + <button function="left_middle_background" state="prelight" draw_ops="button_prelight"/> + <button function="left_middle_background" state="pressed" draw_ops="button_pressed"/> + <button function="left_right_background" state="normal" draw_ops="button_inner_left"/> + <button function="left_right_background" state="prelight" draw_ops="button_inner_left_prelight"/> + <button function="left_right_background" state="pressed" draw_ops="button_inner_left_pressed"/> + + <button function="right_middle_background" state="normal" draw_ops="button"/> + <button function="right_middle_background" state="prelight" draw_ops="button_prelight"/> + <button function="right_middle_background" state="pressed" draw_ops="button_pressed"/> + <button function="right_left_background" state="normal" draw_ops="button_inner_right"/> + <button function="right_left_background" state="prelight" draw_ops="button_inner_right_prelight"/> + <button function="right_left_background" state="pressed" draw_ops="button_inner_right_pressed"/> + + <button version=">= 3.3" function="left_single_background" state="normal" draw_ops="button_inner_left"/> + <button version=">= 3.3" function="left_single_background" state="prelight" draw_ops="button_inner_left_prelight"/> + <button version=">= 3.3" function="left_single_background" state="pressed" draw_ops="button_inner_left_pressed"/> + <button version=">= 3.3" function="right_single_background" state="normal" draw_ops="button_inner_right"/> + <button version=">= 3.3" function="right_single_background" state="prelight" draw_ops="button_inner_right_prelight"/> + <button version=">= 3.3" function="right_single_background" state="pressed" draw_ops="button_inner_right_pressed"/> + + <button function="above" state="normal"><draw_ops></draw_ops></button> + <button function="above" state="pressed"><draw_ops></draw_ops></button> + <button function="unabove" state="normal"><draw_ops></draw_ops></button> + <button function="unabove" state="pressed"><draw_ops></draw_ops></button> + <button function="stick" state="normal"><draw_ops></draw_ops></button> + <button function="stick" state="pressed"><draw_ops></draw_ops></button> + <button function="unstick" state="normal"><draw_ops></draw_ops></button><button function="unstick" state="pressed"><draw_ops></draw_ops></button> +</frame_style> + +<frame_style name="modal_dialog_unfocused" geometry="modal"> + <piece position="entire_background" draw_ops="entire_background_unfocused" /> + <piece position="titlebar" draw_ops="titlebar_fill_unfocused" /> + <piece position="title" draw_ops="title_unfocused" /> + <piece position="overlay" draw_ops="border_unfocused" /> + <button function="close" state="normal" draw_ops="close_unfocused"/> + <button function="close" state="prelight" draw_ops="close_unfocused_prelight"/> + <button function="close" state="pressed" draw_ops="close_unfocused_pressed"/> + <button function="maximize" state="normal" draw_ops="maximize_unfocused"/> + <button function="maximize" state="prelight" draw_ops="maximize_unfocused_prelight"/> + <button function="maximize" state="pressed" draw_ops="maximize_unfocused_pressed"/> + <button function="minimize" state="normal" draw_ops="minimize_unfocused"/> + <button function="minimize" state="prelight" draw_ops="minimize_unfocused_prelight"/> + <button function="minimize" state="pressed" draw_ops="minimize_unfocused_pressed"/> + <button function="menu" state="normal" draw_ops="menu_unfocused" /> + <button function="menu" state="prelight" draw_ops="menu_unfocused_prelight" /> + <button function="menu" state="pressed" draw_ops="menu_unfocused_pressed" /> + <button function="shade" state="normal" draw_ops="shade_unfocused" /> + <button function="shade" state="prelight" draw_ops="shade_unfocused_prelight" /> + <button function="shade" state="pressed" draw_ops="shade_unfocused_pressed" /> + <button function="unshade" state="normal" draw_ops="shade_unfocused" /> + <button function="unshade" state="prelight" draw_ops="shade_unfocused_prelight" /> + <button function="unshade" state="pressed" draw_ops="shade_unfocused_pressed" /> + <button function="above" state="normal"><draw_ops></draw_ops></button> + <button function="above" state="pressed"><draw_ops></draw_ops></button> + <button function="unabove" state="normal"><draw_ops></draw_ops></button> + <button function="unabove" state="pressed"><draw_ops></draw_ops></button> + <button function="stick" state="normal"><draw_ops></draw_ops></button> + <button function="stick" state="pressed"><draw_ops></draw_ops></button> + <button function="unstick" state="normal"><draw_ops></draw_ops></button> + <button function="unstick" state="pressed"><draw_ops></draw_ops></button> +</frame_style> + +<frame_style name="utility_focused" geometry="small"> + <piece position="entire_background" draw_ops="entire_background_focused" /> + <piece position="titlebar" draw_ops="titlebar_focused" /> + <piece position="title" draw_ops="title_focused" /> + <piece position="overlay" draw_ops="border_focused" /> + <button function="close" state="normal" draw_ops="close_focused" /> + <button function="close" state="prelight" draw_ops="close_focused_prelight" /> + <button function="close" state="pressed" draw_ops="close_focused_pressed" /> + <button function="maximize" state="normal" draw_ops="maximize_focused" /> + <button function="maximize" state="prelight" draw_ops="maximize_focused_prelight" /> + <button function="maximize" state="pressed" draw_ops="maximize_focused_pressed" /> + <button function="minimize" state="normal" draw_ops="minimize_focused" /> + <button function="minimize" state="prelight" draw_ops="minimize_focused_prelight" /> + <button function="minimize" state="pressed" draw_ops="minimize_focused_pressed" /> + <button function="menu" state="normal" draw_ops="menu_focused" /> + <button function="menu" state="prelight" draw_ops="menu_focused_prelight" /> + <button function="menu" state="pressed" draw_ops="menu_focused_pressed" /> + <button function="shade" state="normal" draw_ops="shade_focused" /> + <button function="shade" state="prelight" draw_ops="shade_focused_prelight" /> + <button function="shade" state="pressed" draw_ops="shade_focused_pressed" /> + <button function="unshade" state="normal" draw_ops="shade_focused" /> + <button function="unshade" state="prelight" draw_ops="shade_focused_prelight" /> + <button function="unshade" state="pressed" draw_ops="shade_focused_pressed" /> + + <button version="< 3.3" function="left_middle_background" state="normal" draw_ops="button_inner_left"/> + <button version="< 3.3" function="left_middle_background" state="prelight" draw_ops="button_inner_left_prelight"/> + <button version="< 3.3" function="left_middle_background" state="pressed" draw_ops="button_inner_left_pressed"/> + + <button version="< 3.3" function="right_middle_background" state="normal" draw_ops="button_inner_right"/> + <button version="< 3.3" function="right_middle_background" state="prelight" draw_ops="button_inner_right_prelight"/> + <button version="< 3.3" function="right_middle_background" state="pressed" draw_ops="button_inner_right_pressed"/> + + <button version=">= 3.3" function="left_middle_background" state="normal" draw_ops="button"/> + <button version=">= 3.3" function="left_middle_background" state="prelight" draw_ops="button_prelight"/> + <button version=">= 3.3" function="left_middle_background" state="pressed" draw_ops="button_pressed"/> + + <button version=">= 3.3"function="right_middle_background" state="normal" draw_ops="button"/> + <button version=">= 3.3"function="right_middle_background" state="prelight" draw_ops="button_prelight"/> + <button version=">= 3.3"function="right_middle_background" state="pressed" draw_ops="button_pressed"/> + + <button version=">= 3.3" function="left_single_background" state="normal" draw_ops="button_inner_left"/> + <button version=">= 3.3" function="left_single_background" state="prelight" draw_ops="button_inner_left_prelight"/> + <button version=">= 3.3" function="left_single_background" state="pressed" draw_ops="button_inner_left_pressed"/> + <button version=">= 3.3" function="right_single_background" state="normal" draw_ops="button_inner_right"/> + <button version=">= 3.3" function="right_single_background" state="prelight" draw_ops="button_inner_right_prelight"/> + <button version=">= 3.3" function="right_single_background" state="pressed" draw_ops="button_inner_right_pressed"/> + + <button function="above" state="normal"><draw_ops></draw_ops></button> + <button function="above" state="pressed"><draw_ops></draw_ops></button> + <button function="unabove" state="normal"><draw_ops></draw_ops></button> + <button function="unabove" state="pressed"><draw_ops></draw_ops></button> + <button function="stick" state="normal"><draw_ops></draw_ops></button> + <button function="stick" state="pressed"><draw_ops></draw_ops></button> + <button function="unstick" state="normal"><draw_ops></draw_ops></button> + <button function="unstick" state="pressed"><draw_ops></draw_ops></button> +</frame_style> + +<frame_style name="utility_unfocused" geometry="small_unfocused"> + <piece position="entire_background" draw_ops="entire_background_unfocused" /> + <piece position="titlebar" draw_ops="titlebar_fill_unfocused" /> + <piece position="title" draw_ops="title_unfocused" /> + <piece position="overlay" draw_ops="border_unfocused" /> + <button function="close" state="normal" draw_ops="close_unfocused"/> + <button function="close" state="prelight" draw_ops="close_unfocused_prelight"/> + <button function="close" state="pressed" draw_ops="close_unfocused_pressed"/> + <button function="maximize" state="normal" draw_ops="maximize_unfocused"/> + <button function="maximize" state="prelight" draw_ops="maximize_unfocused_prelight"/> + <button function="maximize" state="pressed" draw_ops="maximize_unfocused_pressed"/> + <button function="minimize" state="normal" draw_ops="minimize_unfocused"/> + <button function="minimize" state="prelight" draw_ops="minimize_unfocused_prelight"/> + <button function="minimize" state="pressed" draw_ops="minimize_unfocused_pressed"/> + <button function="menu" state="normal" draw_ops="menu_unfocused" /> + <button function="menu" state="prelight" draw_ops="menu_unfocused_prelight" /> + <button function="menu" state="pressed" draw_ops="menu_unfocused_pressed" /> + <button function="shade" state="normal" draw_ops="shade_unfocused" /> + <button function="shade" state="prelight" draw_ops="shade_unfocused_prelight" /> + <button function="shade" state="pressed" draw_ops="shade_unfocused_pressed" /> + <button function="unshade" state="normal" draw_ops="shade_unfocused" /> + <button function="unshade" state="prelight" draw_ops="shade_unfocused_prelight" /> + <button function="unshade" state="pressed" draw_ops="shade_unfocused_pressed" /> + <button function="above" state="normal"><draw_ops></draw_ops></button> + <button function="above" state="pressed"><draw_ops></draw_ops></button> + <button function="unabove" state="normal"><draw_ops></draw_ops></button> + <button function="unabove" state="pressed"><draw_ops></draw_ops></button> + <button function="stick" state="normal"><draw_ops></draw_ops></button> + <button function="stick" state="pressed"><draw_ops></draw_ops></button> + <button function="unstick" state="normal"><draw_ops></draw_ops></button> + <button function="unstick" state="pressed"><draw_ops></draw_ops></button> +</frame_style> + +<frame_style name="border_focused" geometry="border"> + <piece position="entire_background" draw_ops="entire_background_focused" /> + <piece position="overlay" draw_ops="border_focused" /> + <button function="close" state="normal"><draw_ops></draw_ops></button> + <button function="close" state="pressed"><draw_ops></draw_ops></button> + <button function="maximize" state="normal"><draw_ops></draw_ops></button> + <button function="maximize" state="pressed"><draw_ops></draw_ops></button> + <button function="minimize" state="normal"><draw_ops></draw_ops></button> + <button function="minimize" state="pressed"><draw_ops></draw_ops></button> + <button function="menu" state="normal"><draw_ops></draw_ops></button> + <button function="menu" state="pressed"><draw_ops></draw_ops></button> + <button function="shade" state="normal"><draw_ops></draw_ops></button> + <button function="shade" state="pressed"><draw_ops></draw_ops></button> + <button function="unshade" state="normal"><draw_ops></draw_ops></button> + <button function="unshade" state="pressed"><draw_ops></draw_ops></button> + <button function="above" state="normal"><draw_ops></draw_ops></button> + <button function="above" state="pressed"><draw_ops></draw_ops></button> + <button function="unabove" state="normal"><draw_ops></draw_ops></button> + <button function="unabove" state="pressed"><draw_ops></draw_ops></button> + <button function="stick" state="normal"><draw_ops></draw_ops></button> + <button function="stick" state="pressed"><draw_ops></draw_ops></button> + <button function="unstick" state="normal"><draw_ops></draw_ops></button> + <button function="unstick" state="pressed"><draw_ops></draw_ops></button> +</frame_style> + +<frame_style name="border_unfocused" geometry="border"> + <piece position="entire_background" draw_ops="entire_background_unfocused" /> + <piece position="overlay" draw_ops="border_unfocused" /> + <button function="close" state="normal"><draw_ops></draw_ops></button> + <button function="close" state="pressed"><draw_ops></draw_ops></button> + <button function="maximize" state="normal"><draw_ops></draw_ops></button> + <button function="maximize" state="pressed"><draw_ops></draw_ops></button> + <button function="minimize" state="normal"><draw_ops></draw_ops></button> + <button function="minimize" state="pressed"><draw_ops></draw_ops></button> + <button function="menu" state="normal"><draw_ops></draw_ops></button> + <button function="menu" state="pressed"><draw_ops></draw_ops></button> + <button function="shade" state="normal"><draw_ops></draw_ops></button> + <button function="shade" state="pressed"><draw_ops></draw_ops></button> + <button function="unshade" state="normal"><draw_ops></draw_ops></button> + <button function="unshade" state="pressed"><draw_ops></draw_ops></button> + <button function="above" state="normal"><draw_ops></draw_ops></button> + <button function="above" state="pressed"><draw_ops></draw_ops></button> + <button function="unabove" state="normal"><draw_ops></draw_ops></button> + <button function="unabove" state="pressed"><draw_ops></draw_ops></button> + <button function="stick" state="normal"><draw_ops></draw_ops></button> + <button function="stick" state="pressed"><draw_ops></draw_ops></button> + <button function="unstick" state="normal"><draw_ops></draw_ops></button> + <button function="unstick" state="pressed"><draw_ops></draw_ops></button> +</frame_style> + +<frame_style name="borderless" geometry="borderless"> + <button function="close" state="normal"><draw_ops></draw_ops></button> + <button function="close" state="pressed"><draw_ops></draw_ops></button> + <button function="maximize" state="normal"><draw_ops></draw_ops></button> + <button function="maximize" state="pressed"><draw_ops></draw_ops></button> + <button function="minimize" state="normal"><draw_ops></draw_ops></button> + <button function="minimize" state="pressed"><draw_ops></draw_ops></button> + <button function="menu" state="normal"><draw_ops></draw_ops></button> + <button function="menu" state="pressed"><draw_ops></draw_ops></button> + <button function="shade" state="normal"><draw_ops></draw_ops></button> + <button function="shade" state="pressed"><draw_ops></draw_ops></button> + <button function="unshade" state="normal"><draw_ops></draw_ops></button> + <button function="unshade" state="pressed"><draw_ops></draw_ops></button> + <button function="above" state="normal"><draw_ops></draw_ops></button> + <button function="above" state="pressed"><draw_ops></draw_ops></button> + <button function="unabove" state="normal"><draw_ops></draw_ops></button> + <button function="unabove" state="pressed"><draw_ops></draw_ops></button> + <button function="stick" state="normal"><draw_ops></draw_ops></button> + <button function="stick" state="pressed"><draw_ops></draw_ops></button> + <button function="unstick" state="normal"><draw_ops></draw_ops></button> + <button function="unstick" state="pressed"><draw_ops></draw_ops></button> +</frame_style> + +<frame_style name="attached_focused" geometry="attached"> + <piece position="entire_background" draw_ops="entire_background_focused" /> + <piece position="titlebar" draw_ops="titlebar_fill_focused" /> + <piece position="title" draw_ops="title_focused" /> + <piece position="overlay" draw_ops="border_focused" /> + <button function="close" state="normal"><draw_ops></draw_ops></button> + <button function="close" state="pressed"><draw_ops></draw_ops></button> + <button function="maximize" state="normal"><draw_ops></draw_ops></button> + <button function="maximize" state="pressed"><draw_ops></draw_ops></button> + <button function="minimize" state="normal"><draw_ops></draw_ops></button> + <button function="minimize" state="pressed"><draw_ops></draw_ops></button> + <button function="menu" state="normal"><draw_ops></draw_ops></button> + <button function="menu" state="pressed"><draw_ops></draw_ops></button> + <button function="shade" state="normal"><draw_ops></draw_ops></button> + <button function="shade" state="pressed"><draw_ops></draw_ops></button> + <button function="unshade" state="normal"><draw_ops></draw_ops></button> + <button function="unshade" state="pressed"><draw_ops></draw_ops></button> + <button function="above" state="normal"><draw_ops></draw_ops></button> + <button function="above" state="pressed"><draw_ops></draw_ops></button> + <button function="unabove" state="normal"><draw_ops></draw_ops></button> + <button function="unabove" state="pressed"><draw_ops></draw_ops></button> + <button function="stick" state="normal"><draw_ops></draw_ops></button> + <button function="stick" state="pressed"><draw_ops></draw_ops></button> + <button function="unstick" state="normal"><draw_ops></draw_ops></button> + <button function="unstick" state="pressed"><draw_ops></draw_ops></button> +</frame_style> + +<frame_style name="attached_unfocused" geometry="attached"> + <piece position="entire_background" draw_ops="entire_background_unfocused" /> + <piece position="titlebar" draw_ops="titlebar_fill_unfocused" /> + <piece position="title" draw_ops="title_unfocused" /> + <piece position="overlay" draw_ops="border_unfocused" /> + <button function="close" state="normal"><draw_ops></draw_ops></button> + <button function="close" state="pressed"><draw_ops></draw_ops></button> + <button function="maximize" state="normal"><draw_ops></draw_ops></button> + <button function="maximize" state="pressed"><draw_ops></draw_ops></button> + <button function="minimize" state="normal"><draw_ops></draw_ops></button> + <button function="minimize" state="pressed"><draw_ops></draw_ops></button> + <button function="menu" state="normal"><draw_ops></draw_ops></button> + <button function="menu" state="pressed"><draw_ops></draw_ops></button> + <button function="shade" state="normal"><draw_ops></draw_ops></button> + <button function="shade" state="pressed"><draw_ops></draw_ops></button> + <button function="unshade" state="normal"><draw_ops></draw_ops></button> + <button function="unshade" state="pressed"><draw_ops></draw_ops></button> + <button function="above" state="normal"><draw_ops></draw_ops></button> + <button function="above" state="pressed"><draw_ops></draw_ops></button> + <button function="unabove" state="normal"><draw_ops></draw_ops></button> + <button function="unabove" state="pressed"><draw_ops></draw_ops></button> + <button function="stick" state="normal"><draw_ops></draw_ops></button> + <button function="stick" state="pressed"><draw_ops></draw_ops></button> + <button function="unstick" state="normal"><draw_ops></draw_ops></button> + <button function="unstick" state="pressed"><draw_ops></draw_ops></button> +</frame_style> + +<frame_style name="tiled_left_focused" geometry="tiled_left"> + <piece position="entire_background" draw_ops="entire_background_focused" /> + <piece position="titlebar" draw_ops="titlebar_fill_focused" /> + <piece position="title" draw_ops="title_focused" /> + <piece position="overlay" draw_ops="border_right_focused" /> + <button function="close" state="normal" draw_ops="close_focused" /> + <button function="close" state="prelight" draw_ops="close_focused_prelight" /> + <button function="close" state="pressed" draw_ops="close_focused_pressed" /> + <button function="maximize" state="normal" draw_ops="maximize_focused" /> + <button function="maximize" state="prelight" draw_ops="maximize_focused_prelight" /> + <button function="maximize" state="pressed" draw_ops="maximize_focused_pressed" /> + <button function="minimize" state="normal" draw_ops="minimize_focused" /> + <button function="minimize" state="prelight" draw_ops="minimize_focused_prelight" /> + <button function="minimize" state="pressed" draw_ops="minimize_focused_pressed" /> + <button function="menu" state="normal" draw_ops="menu_focused" /> + <button function="menu" state="prelight" draw_ops="menu_focused_prelight" /> + <button function="menu" state="pressed" draw_ops="menu_focused_pressed" /> + <button function="shade" state="normal" draw_ops="shade_focused" /> + <button function="shade" state="prelight" draw_ops="shade_focused_prelight" /> + <button function="shade" state="pressed" draw_ops="shade_focused_pressed" /> + <button function="unshade" state="normal" draw_ops="shade_focused" /> + <button function="unshade" state="prelight" draw_ops="shade_focused_prelight" /> + <button function="unshade" state="pressed" draw_ops="shade_focused_pressed" /> + + <button function="left_middle_background" state="normal" draw_ops="button"/> + <button function="left_middle_background" state="prelight" draw_ops="button_prelight"/> + <button function="left_middle_background" state="pressed" draw_ops="button_pressed"/> + <button function="left_right_background" state="normal" draw_ops="button_inner_left"/> + <button function="left_right_background" state="prelight" draw_ops="button_inner_left_prelight"/> + <button function="left_right_background" state="pressed" draw_ops="button_inner_left_pressed"/> + + <button function="right_middle_background" state="normal" draw_ops="button"/> + <button function="right_middle_background" state="prelight" draw_ops="button_prelight"/> + <button function="right_middle_background" state="pressed" draw_ops="button_pressed"/> + <button function="right_left_background" state="normal" draw_ops="button_inner_right"/> + <button function="right_left_background" state="prelight" draw_ops="button_inner_right_prelight"/> + <button function="right_left_background" state="pressed" draw_ops="button_inner_right_pressed"/> + + <button version=">= 3.3" function="left_single_background" state="normal" draw_ops="button_inner_left"/> + <button version=">= 3.3" function="left_single_background" state="prelight" draw_ops="button_inner_left_prelight"/> + <button version=">= 3.3" function="left_single_background" state="pressed" draw_ops="button_inner_left_pressed"/> + <button version=">= 3.3" function="right_single_background" state="normal" draw_ops="button_inner_right"/> + <button version=">= 3.3" function="right_single_background" state="prelight" draw_ops="button_inner_right_prelight"/> + <button version=">= 3.3" function="right_single_background" state="pressed" draw_ops="button_inner_right_pressed"/> + + <button function="above" state="normal"><draw_ops></draw_ops></button> + <button function="above" state="pressed"><draw_ops></draw_ops></button> + <button function="unabove" state="normal"><draw_ops></draw_ops></button> + <button function="unabove" state="pressed"><draw_ops></draw_ops></button> + <button function="stick" state="normal"><draw_ops></draw_ops></button> + <button function="stick" state="pressed"><draw_ops></draw_ops></button> + <button function="unstick" state="normal"><draw_ops></draw_ops></button> + <button function="unstick" state="pressed"><draw_ops></draw_ops></button> +</frame_style> + +<frame_style name="tiled_left_unfocused" geometry="tiled_left"> + <piece position="entire_background" draw_ops="entire_background_unfocused" /> + <piece position="titlebar" draw_ops="titlebar_fill_unfocused" /> + <piece position="title" draw_ops="title_unfocused" /> + <piece position="overlay" draw_ops="border_right_unfocused" /> + <button function="close" state="normal" draw_ops="close_unfocused"/> + <button function="close" state="prelight" draw_ops="close_unfocused_prelight"/> + <button function="close" state="pressed" draw_ops="close_unfocused_pressed"/> + <button function="maximize" state="normal" draw_ops="maximize_unfocused"/> + <button function="maximize" state="prelight" draw_ops="maximize_unfocused_prelight"/> + <button function="maximize" state="pressed" draw_ops="maximize_unfocused_pressed"/> + <button function="minimize" state="normal" draw_ops="minimize_unfocused"/> + <button function="minimize" state="prelight" draw_ops="minimize_unfocused_prelight"/> + <button function="minimize" state="pressed" draw_ops="minimize_unfocused_pressed"/> + <button function="menu" state="normal" draw_ops="menu_unfocused" /> + <button function="menu" state="prelight" draw_ops="menu_unfocused_prelight" /> + <button function="menu" state="pressed" draw_ops="menu_unfocused_pressed" /> + <button function="shade" state="normal" draw_ops="shade_unfocused" /> + <button function="shade" state="prelight" draw_ops="shade_unfocused_prelight" /> + <button function="shade" state="pressed" draw_ops="shade_unfocused_pressed" /> + <button function="unshade" state="normal" draw_ops="shade_unfocused" /> + <button function="unshade" state="prelight" draw_ops="shade_unfocused_prelight" /> + <button function="unshade" state="pressed" draw_ops="shade_unfocused_pressed" /> + <button function="above" state="normal"><draw_ops></draw_ops></button> + <button function="above" state="pressed"><draw_ops></draw_ops></button> + <button function="unabove" state="normal"><draw_ops></draw_ops></button> + <button function="unabove" state="pressed"><draw_ops></draw_ops></button> + <button function="stick" state="normal"><draw_ops></draw_ops></button> + <button function="stick" state="pressed"><draw_ops></draw_ops></button> + <button function="unstick" state="normal"><draw_ops></draw_ops></button> + <button function="unstick" state="pressed"><draw_ops></draw_ops></button> +</frame_style> + +<frame_style name="tiled_right_focused" geometry="tiled_right"> + <piece position="entire_background" draw_ops="entire_background_focused" /> + <!-- <piece position="titlebar" draw_ops="titlebar_fill_focused" /> --> + <piece position="title" draw_ops="title_focused" /> + <piece position="overlay" draw_ops="border_left_focused" /> + <button function="close" state="normal" draw_ops="close_focused" /> + <button function="close" state="prelight" draw_ops="close_focused_prelight" /> + <button function="close" state="pressed" draw_ops="close_focused_pressed" /> + <button function="maximize" state="normal" draw_ops="maximize_focused" /> + <button function="maximize" state="prelight" draw_ops="maximize_focused_prelight" /> + <button function="maximize" state="pressed" draw_ops="maximize_focused_pressed" /> + <button function="minimize" state="normal" draw_ops="minimize_focused" /> + <button function="minimize" state="prelight" draw_ops="minimize_focused_prelight" /> + <button function="minimize" state="pressed" draw_ops="minimize_focused_pressed" /> + <button function="menu" state="normal" draw_ops="menu_focused" /> + <button function="menu" state="prelight" draw_ops="menu_focused_prelight" /> + <button function="menu" state="pressed" draw_ops="menu_focused_pressed" /> + <button function="shade" state="normal" draw_ops="shade_focused" /> + <button function="shade" state="prelight" draw_ops="shade_focused_prelight" /> + <button function="shade" state="pressed" draw_ops="shade_focused_pressed" /> + <button function="unshade" state="normal" draw_ops="shade_focused" /> + <button function="unshade" state="prelight" draw_ops="shade_focused_prelight" /> + <button function="unshade" state="pressed" draw_ops="shade_focused_pressed" /> + + <button function="left_middle_background" state="normal" draw_ops="button"/> + <button function="left_middle_background" state="prelight" draw_ops="button_prelight"/> + <button function="left_middle_background" state="pressed" draw_ops="button_pressed"/> + <button function="left_right_background" state="normal" draw_ops="button_inner_left"/> + <button function="left_right_background" state="prelight" draw_ops="button_inner_left_prelight"/> + <button function="left_right_background" state="pressed" draw_ops="button_inner_left_pressed"/> + + <button function="right_middle_background" state="normal" draw_ops="button"/> + <button function="right_middle_background" state="prelight" draw_ops="button_prelight"/> + <button function="right_middle_background" state="pressed" draw_ops="button_pressed"/> + <button function="right_left_background" state="normal" draw_ops="button_inner_right"/> + <button function="right_left_background" state="prelight" draw_ops="button_inner_right_prelight"/> + <button function="right_left_background" state="pressed" draw_ops="button_inner_right_pressed"/> + + <button version=">= 3.3" function="left_single_background" state="normal" draw_ops="button_inner_left"/> + <button version=">= 3.3" function="left_single_background" state="prelight" draw_ops="button_inner_left_prelight"/> + <button version=">= 3.3" function="left_single_background" state="pressed" draw_ops="button_inner_left_pressed"/> + <button version=">= 3.3" function="right_single_background" state="normal" draw_ops="button_inner_right"/> + <button version=">= 3.3" function="right_single_background" state="prelight" draw_ops="button_inner_right_prelight"/> + <button version=">= 3.3" function="right_single_background" state="pressed" draw_ops="button_inner_right_pressed"/> + + <button function="above" state="normal"><draw_ops></draw_ops></button> + <button function="above" state="pressed"><draw_ops></draw_ops></button> + <button function="unabove" state="normal"><draw_ops></draw_ops></button> + <button function="unabove" state="pressed"><draw_ops></draw_ops></button> + <button function="stick" state="normal"><draw_ops></draw_ops></button> + <button function="stick" state="pressed"><draw_ops></draw_ops></button> + <button function="unstick" state="normal"><draw_ops></draw_ops></button> + <button function="unstick" state="pressed"><draw_ops></draw_ops></button> +</frame_style> + +<frame_style name="tiled_right_unfocused" geometry="tiled_right"> + <piece position="entire_background" draw_ops="entire_background_unfocused" /> + <piece position="titlebar" draw_ops="titlebar_fill_unfocused" /> + <piece position="title" draw_ops="title_unfocused" /> + <piece position="overlay" draw_ops="border_left_unfocused" /> + <button function="close" state="normal" draw_ops="close_unfocused"/> + <button function="close" state="prelight" draw_ops="close_unfocused_prelight"/> + <button function="close" state="pressed" draw_ops="close_unfocused_pressed"/> + <button function="maximize" state="normal" draw_ops="maximize_unfocused"/> + <button function="maximize" state="prelight" draw_ops="maximize_unfocused_prelight"/> + <button function="maximize" state="pressed" draw_ops="maximize_unfocused_pressed"/> + <button function="minimize" state="normal" draw_ops="minimize_unfocused"/> + <button function="minimize" state="prelight" draw_ops="minimize_unfocused_prelight"/> + <button function="minimize" state="pressed" draw_ops="minimize_unfocused_pressed"/> + <button function="menu" state="normal" draw_ops="menu_unfocused" /> + <button function="menu" state="prelight" draw_ops="menu_unfocused_prelight" /> + <button function="menu" state="pressed" draw_ops="menu_unfocused_pressed" /> + <button function="shade" state="normal" draw_ops="shade_unfocused" /> + <button function="shade" state="prelight" draw_ops="shade_unfocused_prelight" /> + <button function="shade" state="pressed" draw_ops="shade_unfocused_pressed" /> + <button function="unshade" state="normal" draw_ops="shade_unfocused" /> + <button function="unshade" state="prelight" draw_ops="shade_unfocused_prelight" /> + <button function="unshade" state="pressed" draw_ops="shade_unfocused_pressed" /> + <button function="above" state="normal"><draw_ops></draw_ops></button> + <button function="above" state="pressed"><draw_ops></draw_ops></button> + <button function="unabove" state="normal"><draw_ops></draw_ops></button> + <button function="unabove" state="pressed"><draw_ops></draw_ops></button> + <button function="stick" state="normal"><draw_ops></draw_ops></button> + <button function="stick" state="pressed"><draw_ops></draw_ops></button> + <button function="unstick" state="normal"><draw_ops></draw_ops></button> + <button function="unstick" state="pressed"><draw_ops></draw_ops></button> +</frame_style> + +<!-- placeholder for unimplementated styles--> +<frame_style name="blank" geometry="normal"> + <button function="close" state="normal"><draw_ops></draw_ops></button> + <button function="close" state="pressed"><draw_ops></draw_ops></button> + <button function="maximize" state="normal"><draw_ops></draw_ops></button> + <button function="maximize" state="pressed"><draw_ops></draw_ops></button> + <button function="minimize" state="normal"><draw_ops></draw_ops></button> + <button function="minimize" state="pressed"><draw_ops></draw_ops></button> + <button function="menu" state="normal"><draw_ops></draw_ops></button> + <button function="menu" state="pressed"><draw_ops></draw_ops></button> + <button function="shade" state="normal"><draw_ops></draw_ops></button> + <button function="shade" state="pressed"><draw_ops></draw_ops></button> + <button function="unshade" state="normal"><draw_ops></draw_ops></button> + <button function="unshade" state="pressed"><draw_ops></draw_ops></button> + <button function="above" state="normal"><draw_ops></draw_ops></button> + <button function="above" state="pressed"><draw_ops></draw_ops></button> + <button function="unabove" state="normal"><draw_ops></draw_ops></button> + <button function="unabove" state="pressed"><draw_ops></draw_ops></button> + <button function="stick" state="normal"><draw_ops></draw_ops></button> + <button function="stick" state="pressed"><draw_ops></draw_ops></button> + <button function="unstick" state="normal"><draw_ops></draw_ops></button> + <button function="unstick" state="pressed"><draw_ops></draw_ops></button> +</frame_style> + +<!-- frame style sets --> + +<frame_style_set name="normal_style_set"> + <frame focus="yes" state="normal" resize="both" style="normal_focused"/> + <frame focus="no" state="normal" resize="both" style="normal_unfocused"/> + <frame focus="yes" state="maximized" style="normal_max_focused"/> + <frame focus="no" state="maximized" style="normal_max_unfocused"/> + <frame focus="yes" state="shaded" style="normal_focused"/> + <frame focus="no" state="shaded" style="normal_unfocused"/> + <frame focus="yes" state="maximized_and_shaded" style="normal_max_shaded_focused"/> + <frame focus="no" state="maximized_and_shaded" style="normal_max_shaded_unfocused"/> + <frame version=">= 3.3" focus="yes" state="tiled_left" style="tiled_left_focused"/> + <frame version=">= 3.3" focus="no" state="tiled_left" style="tiled_left_unfocused"/> + <frame version=">= 3.3" focus="yes" state="tiled_right" style="tiled_right_focused"/> + <frame version=">= 3.3" focus="no" state="tiled_right" style="tiled_right_unfocused"/> + <frame version=">= 3.3" focus="yes" state="tiled_left_and_shaded" style="tiled_left_focused"/> + <frame version=">= 3.3" focus="no" state="tiled_left_and_shaded" style="tiled_left_unfocused"/> + <frame version=">= 3.3" focus="yes" state="tiled_right_and_shaded" style="tiled_right_focused"/> + <frame version=">= 3.3" focus="no" state="tiled_right_and_shaded" style="tiled_right_unfocused"/> +</frame_style_set> + +<frame_style_set name="dialog_style_set"> + <frame focus="yes" state="normal" resize="both" style="dialog_focused"/> + <frame focus="no" state="normal" resize="both" style="dialog_unfocused"/> + <frame focus="yes" state="maximized" style="blank"/> + <frame focus="no" state="maximized" style="blank"/> + <frame focus="yes" state="shaded" style="dialog_focused"/> + <frame focus="no" state="shaded" style="dialog_unfocused"/> + <frame focus="yes" state="maximized_and_shaded" style="blank"/> + <frame focus="no" state="maximized_and_shaded" style="blank"/> +</frame_style_set> + +<frame_style_set name="modal_dialog_style_set"> + <frame focus="yes" state="normal" resize="both" style="modal_dialog_focused"/> + <frame focus="no" state="normal" resize="both" style="modal_dialog_unfocused"/> + <frame focus="yes" state="maximized" style="blank"/> + <frame focus="no" state="maximized" style="blank"/> + <frame focus="yes" state="shaded" style="modal_dialog_focused"/> + <frame focus="no" state="shaded" style="modal_dialog_unfocused"/> + <frame focus="yes" state="maximized_and_shaded" style="blank"/> + <frame focus="no" state="maximized_and_shaded" style="blank"/> +</frame_style_set> + +<frame_style_set name="utility_style_set"> + <frame focus="yes" state="normal" resize="both" style="utility_focused"/> + <frame focus="no" state="normal" resize="both" style="utility_unfocused"/> + <frame focus="yes" state="maximized" style="blank"/> + <frame focus="no" state="maximized" style="blank"/> + <frame focus="yes" state="shaded" style="utility_focused"/> + <frame focus="no" state="shaded" style="utility_unfocused"/> + <frame focus="yes" state="maximized_and_shaded" style="blank"/> + <frame focus="no" state="maximized_and_shaded" style="blank"/> +</frame_style_set> + +<frame_style_set name="border_style_set"> + <frame focus="yes" state="normal" resize="both" style="border_focused"/> + <frame focus="no" state="normal" resize="both" style="border_unfocused"/> + <frame focus="yes" state="maximized" style="borderless"/> + <frame focus="no" state="maximized" style="borderless"/> + <frame focus="yes" state="shaded" style="blank"/> + <frame focus="no" state="shaded" style="blank"/> + <frame focus="yes" state="maximized_and_shaded" style="blank"/> + <frame focus="no" state="maximized_and_shaded" style="blank"/> +</frame_style_set> + +<frame_style_set name="attached_style_set"> + <frame focus="yes" state="normal" resize="both" style="attached_focused"/> + <frame focus="no" state="normal" resize="both" style="attached_unfocused"/> + <frame focus="yes" state="maximized" style="blank"/> + <frame focus="no" state="maximized" style="blank"/> + <frame focus="yes" state="shaded" style="blank"/> + <frame focus="no" state="shaded" style="blank"/> + <frame focus="yes" state="maximized_and_shaded" style="blank"/> + <frame focus="no" state="maximized_and_shaded" style="blank"/> +</frame_style_set> + + +<!-- windows --> + +<window type="normal" style_set="normal_style_set"/> +<window type="dialog" style_set="dialog_style_set"/> +<window type="modal_dialog" style_set="modal_dialog_style_set"/> +<window type="menu" style_set="utility_style_set"/> +<window type="utility" style_set="utility_style_set"/> +<window type="border" style_set="border_style_set"/> +<window version=">= 3.2" type="attached" style_set="attached_style_set"/> + +</metacity_theme> |