$(XDG_ICON_RESOURCE) uninstall --context mimetypes --size 48 ini48.png application-x-xboard-opt;\
fi
endif
+
+#if OSX_APP
+osxapp: all-recursive install install-recursive
+ $(MKDIR_P) $(datarootdir)/bin
+ $(MKDIR_P) $(datarootdir)/lib
+ $(MKDIR_P) $(sysconfdir)/gtk-2.0
+ $(MKDIR_P) $(sysconfdir)/pango
+ $(MKDIR_P) $(datadir)/gtk-engines
+ $(MKDIR_P) $(datadir)/themes
+ $(MKDIR_P) $(gamedatadir)/themes
+ $(INSTALL) ./osxapp/Info.plist $(prefix)
+ $(INSTALL) ./osxapp/PkgInfo $(prefix)
+ $(INSTALL) ./osxapp/XBoard.gtklauncher $(bindir)/XBoard
+ $(INSTALL) ./xboard $(bindir)/xboard-bin
+ cp -R ./osxapp/icons/. $(datarootdir)
+ $(INSTALL) ./osxapp/man.command $(datarootdir)/bin/man.command
+ $(INSTALL) ./osxapp/info.command $(datarootdir)/bin/info.command
+ sed -e 's?-soundProgram "aplay -q"?-soundProgram "afplay"?'\
+ -e 's?-firstChessProgram fairymax?-firstChessProgram "./fairymax"?'\
+ -e 's?-firstChessProgramNames {fairymax?-firstChessProgramNames {"fairymax" -fcp "./fairymax" -fd "~~/../../bin/fairymax"?'\
+ -e 's?"Fruit 2.1" -fcp fruit -fUCI?"fruit" -fcp "./fruit" -fd "~~/../../bin/fruit" -fUCI?'\
+ -e '/"Crafty" -fcp crafty/d'\
+ -e '/"GNU Chess" -fcp gnuchess/d'\
+ -e 's?-polyglotDir ""?-polyglotDir "~~/../../bin"?'\
+ -e 's?polyglot ?./polyglot ?'\
+ -e 's?-icsNames {"fics" -icshost freechess.org -icshelper timeseal?-icsNames {"fics" -icshost 69.36.243.188 -icshelper ~~/../../bin/timeseal?'\
+ -e 's?"icc" -icshost chessclub.com -icshelper timestamp?"icc" -icshost 207.99.83.228 -icshelper ~~/../../bin/timestamp?'\
+ -e 's?"kc" -icshost alanimus.com -icshelper timeseal?"vics" -icshost winboard.nl -icshelper ~~/../../bin/timeseal?'\
+ -e '/; Save user settings./d'\
+ -e '/; Must be last in file to make user options prevail over system-wide settings!/d'\
+ -e '/-saveSettingsOnExit true/d'\
+ -e '/-saveSettingsFile "~\/.xboardrc"/d'\
+ -e '/-settingsFile "~\/.xboardrc"/d'<./xboard.conf >$(sysconfdir)/xboard.conf
+ echo '; OSX' >>$(sysconfdir)/xboard.conf
+ echo ';'>>$(sysconfdir)/xboard.conf
+ echo '-clockFont "Sans Bold 26" '>>$(sysconfdir)/xboard.conf
+ echo '-pieceImageDirectory "~~/themes/default"' >>$(sysconfdir)/xboard.conf
+ echo '-autoLogo true' >>$(sysconfdir)/xboard.conf
+ echo '-logoDir "~~/logos"' >>$(sysconfdir)/xboard.conf
+ echo '-logoSize 100' >>$(sysconfdir)/xboard.conf
+ echo '-openCommand "cd %s/../../bin; open"' >>$(sysconfdir)/xboard.conf
+ echo '-firstDirectory "~~/../../bin/fairymax"' >>$(sysconfdir)/xboard.conf
+ echo '-secondDirectory "~~/../../bin/fairymax"' >>$(sysconfdir)/xboard.conf
+ echo '-secondChessProgram "./fairymax"' >>$(sysconfdir)/xboard.conf
+ echo ';' >>$(sysconfdir)/xboard.conf
+ echo '; Save user settings.' >>$(sysconfdir)/xboard.conf
+ echo '; Must be last in file to make user options prevail over system-wide settings!' >>$(sysconfdir)/xboard.conf
+ echo ';' >>$(sysconfdir)/xboard.conf
+ echo '-saveSettingsOnExit true' >>$(sysconfdir)/xboard.conf
+ echo '-saveSettingsFile "~/Library/Preferences/XBoardOSX.conf"' >>$(sysconfdir)/xboard.conf
+ echo '-settingsFile "~/Library/Preferences/XBoardOSX.conf"' >>$(sysconfdir)/xboard.conf
+
+ sed 's?/opt/local/lib?/tmp/skl/XBoard.app/Contents/Resources/lib?' </opt/local/etc/gtk-2.0/gdk-pixbuf.loaders >$(sysconfdir)/gtk-2.0/gdk-pixbuf.loaders
+ sed -e 's?/opt/local/lib?/tmp/skl/XBoard.app/Contents/Resources/lib?' -e 's?/opt/local/share/locale?/tmp/skl/XBoard.app/Contents/Resources/share/locale?' </opt/local/etc/gtk-2.0/gtk.immodules >$(sysconfdir)/gtk-2.0/gtk.immodules
+ $(INSTALL) ./osxapp/launcher_rc $(datarootdir)/
+ $(INSTALL) /opt/local/etc/gtk-2.0/im-multipress.conf $(sysconfdir)/gtk-2.0
+ $(INSTALL) ./osxapp/gtkrc $(sysconfdir)/gtk-2.0/gtkrc
+ $(INSTALL) ./osxapp/pango.modules $(sysconfdir)/pango/pangorc
+ cp -R /opt/local/lib/gtk-2.0 $(datarootdir)/lib
+ cp -R /opt/local/lib/gdk-pixbuf-2.0 $(datarootdir)/lib
+ $(INSTALL) /opt/local/share/gtk-engines/murrine.xml $(datadir)/gtk-engines
+ cp -R ./osxapp/OSX-theme $(datadir)/themes
+ cp -R /opt/local/share/themes/Mac $(datadir)/themes
+ cp -R ./osxapp/default/. $(gamedatadir)/themes/default
+ $(INSTALL) ./png/marble_d.png $(gamedatadir)/themes/textures
+ $(INSTALL) ./png/marble_l.png $(gamedatadir)/themes/textures
+ $(INSTALL) ./png/xqwood.png $(gamedatadir)/themes/textures
+ cp -R ./osxapp/logos $(gamedatadir)/
+ cp -R ./osxapp/osx-localization/. $(datarootdir)/
+ for i in po/*gmo; do lang=`basename $$i .gmo`; $(INSTALL) /opt/local/share/locale/$$lang/LC_MESSAGES/gtk20.mo $(localedir)/$$lang/LC_MESSAGES/; done
+ dylibbundler -of -b -x $(bindir)/xboard-bin -d $(datarootdir)/lib -p @executable_path/../Resources/lib
+ dylibbundler -of -b -x $(datarootdir)/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-png.so -d $(datarootdir)/lib -p @executable_path/../Resources/lib
+ dylibbundler -of -b -x $(datarootdir)/lib/gtk-2.0/2.10.0/immodules/im-quartz.so -d $(datarootdir)/lib -p @executable_path/../Resources/lib
+ dylibbundler -of -b -x $(datarootdir)/lib/gtk-2.0/2.10.0/engines/libpixmap.so -d $(datarootdir)/lib -p @executable_path/../Resources/lib
+ dylibbundler -of -b -x $(datarootdir)/lib/gtk-2.0/2.10.0/engines/libmurrine.so -d $(datarootdir)/lib -p @executable_path/../Resources/lib
+ find ./XBoard.app -name '*.a' -print0 | xargs -0 rm
+ rm -r $(datarootdir)/lib/gtk-2.0/include
+ rm -r $(datarootdir)/share/applications
+ rm $(datarootdir)/share/info/dir
+ rm -r $(datarootdir)/share/icons
+ rm -r $(datarootdir)/share/mime
+ mv $(datarootdir)/share/games/xboard/themes/conf $(datarootdir)/share/xboard/conf
+ rm -r $(datarootdir)/share/xboard/pixmaps
+ rm -r $(datarootdir)/share/games
+#endif
+
--- /dev/null
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+ <key>CFBundleDocumentTypes</key>
+ <array>
+ <dict>
+ <key>CFBundleTypeName</key>
+ <string>Portable Game Notation</string>
+ <key>CFBundleTypeIconFile</key>
+ <string>pgn.icns</string>
+ <key>LSHandlerRank</key>
+ <string>Owner</string>
+ <key>CFBundleTypeRole</key>
+ <string>Editor</string>
+ <key>LSItemContentTypes</key>
+ <array>
+ <string>org.fsf.xboard.pgn</string>
+ <string>com.apple.chess.pgn</string>
+ </array>
+ </dict>
+ <dict>
+ <key>CFBundleTypeName</key>
+ <string>XBoard Option File</string>
+ <key>CFBundleTypeIconFile</key>
+ <string>xop.icns</string>
+ <key>LSHandlerRank</key>
+ <string>Owner</string>
+ <key>CFBundleTypeRole</key>
+ <string>Editor</string>
+ <key>LSItemContentTypes</key>
+ <array>
+ <string>org.fsf.xboard.xop</string>
+ </array>
+ </dict>
+ <dict>
+ <key>CFBundleTypeName</key>
+ <string>XBoard Positions File</string>
+ <key>CFBundleTypeIconFile</key>
+ <string>fen.icns</string>
+ <key>LSHandlerRank</key>
+ <string>Owner</string>
+ <key>CFBundleTypeRole</key>
+ <string>Editor</string>
+ <key>LSItemContentTypes</key>
+ <array>
+ <string>org.fsf.xboard.fen</string>
+ </array>
+ </dict>
+ <dict>
+ <key>CFBundleTypeName</key>
+ <string>XBoard Tournament File</string>
+ <key>CFBundleTypeIconFile</key>
+ <string>trn.icns</string>
+ <key>LSHandlerRank</key>
+ <string>Owner</string>
+ <key>CFBundleTypeRole</key>
+ <string>Editor</string>
+ <key>LSItemContentTypes</key>
+ <array>
+ <string>org.fsf.xboard.trn</string>
+ </array>
+ </dict>
+ </array>
+ <key>UTExportedTypeDeclarations</key>
+ <array>
+ <dict>
+ <key>UTTypeIdentifier</key>
+ <string>org.fsf.xboard.pgn</string>
+ <key>UTTypeDescription</key>
+ <string>Portable Game Notation</string>
+ <key>UTTypeIconFile</key>
+ <string>pgn.icns</string>
+ <key>UTTypeTagSpecification</key>
+ <dict>
+ <key>public.filename-extension</key>
+ <array>
+ <string>pgn</string>
+ </array>
+ <key>public.mime-type</key>
+ <array>
+ <string>application/x-chess-pgn</string>
+ </array>
+ </dict>
+ <key>UTTypeConformsTo</key>
+ <array>
+ <string>public.utf8-plain-text</string>
+ </array>
+ </dict>
+ <dict>
+ <key>UTTypeIdentifier</key>
+ <string>org.fsf.xboard.xop</string>
+ <key>UTTypeDescription</key>
+ <string>XBoard Options File</string>
+ <key>UTTypeIconFile</key>
+ <string>xop.icns</string>
+ <key>UTTypeTagSpecification</key>
+ <dict>
+ <key>public.filename-extension</key>
+ <array>
+ <string>xop</string>
+ </array>
+ <key>public.mime-type</key>
+ <array>
+ <string>application/x-xboard-opt</string>
+ </array>
+ </dict>
+ <key>UTTypeConformsTo</key>
+ <array>
+ <string>public.utf8-plain-text</string>
+ </array>
+ </dict>
+ <dict>
+ <key>UTTypeIdentifier</key>
+ <string>org.fsf.xboard.fen</string>
+ <key>UTTypeDescription</key>
+ <string>XBoard Positions File</string>
+ <key>UTTypeIconFile</key>
+ <string>fen.icns</string>
+ <key>UTTypeTagSpecification</key>
+ <dict>
+ <key>public.filename-extension</key>
+ <array>
+ <string>fen</string>
+ </array>
+ <key>public.mime-type</key>
+ <array>
+ <string>application/x-chess-fen</string>
+ </array>
+ </dict>
+ <key>UTTypeConformsTo</key>
+ <array>
+ <string>public.utf8-plain-text</string>
+ </array>
+ </dict>
+ <dict>
+ <key>UTTypeIdentifier</key>
+ <string>org.fsf.xboard.trn</string>
+ <key>UTTypeDescription</key>
+ <string>XBoard Tournament File</string>
+ <key>UTTypeIconFile</key>
+ <string>trn.icns</string>
+ <key>UTTypeTagSpecification</key>
+ <dict>
+ <key>public.filename-extension</key>
+ <array>
+ <string>trn</string>
+ </array>
+ <key>public.mime-type</key>
+ <array>
+ <string>application/x-xboard-trn</string>
+ </array>
+ </dict>
+ <key>UTTypeConformsTo</key>
+ <array>
+ <string>public.utf8-plain-text</string>
+ </array>
+ </dict>
+ </array>
+ <key>CFBundleExecutable</key>
+ <string>XBoard</string>
+ <key>CFBundleIconFile</key>
+ <string>XBoard</string>
+ <key>CFBundleInfoDictionaryVersion</key>
+ <string>6.0</string>
+ <key>CFBundleName</key>
+ <string>XBoard</string>
+ <key>CFBundlePackageType</key>
+ <string>APPL</string>
+ <key>NSHumanReadableCopyright</key>
+ <string>©1992-2014 Free-Software-Foundation</string>
+ <key>CFBundleSignature</key>
+ <string>xbrd</string>
+ <key>CFBundleShortVersionString</key>
+ <string>@PACKAGE_VERSION@</string>
+ <key>CFBundleIdentifier</key>
+ <string>org.fsf.xboard.www</string>
+ <key>CFBundleVersion</key>
+ <string>@PACKAGE_VERSION@</string>
+ <key>NSPrincipalClass</key>
+ <string>NSApplication</string>
+ <key>LSMinimumSystemVersionByArchitecture</key>
+ <dict>
+ <key>x86_64</key>
+ <string>10.6</string>
+ </dict>
+</dict>
+</plist>
--- /dev/null
+
+gtk-color-scheme = "base_color:#ffffff\nfg_color:#202020\ntooltip_fg_color:#ffffff\nselected_bg_color:#3b6eeb\nselected_fg_color:#ffffff\ntext_color:#202020\nbg_color:#ededed\ntooltip_bg_color:#000000\nlink_color:#0033ff"
+
+gtk_color_scheme = "menu_gradient:#4455F6"
+
+gtk-auto-mnemonics = 1
+
+gtk-button-images = 0
+
+style "default" {
+ xthickness = 1
+ ythickness = 1
+
+ #######################
+ # Style Properties
+ #######################
+ GtkButton::child-displacement-x = 0
+ GtkButton::child-displacement-y = 0
+ GtkButton::default-border = {0, 0, 0, 0}
+ GtkButton::image-spacing = 4
+ GtkToolButton::icon-spacing = 4
+
+ GtkCheckButton::indicator-size = 18
+ GtkRadioButton::indicator-size = 18
+
+ GtkEntry::honors-transparent-bg-hint = 1
+ GtkEntry::invisible-char = 0x2022
+ GtkEntry::progress-border = {2, 2, 2, 2}
+ GtkEntry::state-hint = 0
+
+ GtkProgressBar::min-vertical-bar-width = 13
+ GtkProgressBar::min-horizontal-bar-height = 13
+
+ GtkExpander::expander-size = 14
+
+ GtkMenuBar::internal-padding = 0
+ GtkMenuBar::window-dragging = 1
+ # GtkMenuBar::shadow-type = GTK_SHADOW_NONE # En Unity se habilita esta linea
+
+ GtkMenu::horizontal-padding = 0
+ GtkMenu::vertical-padding = 0
+ GtkSeparatorMenuItem::horizontal-padding = 7
+
+ GtkNotebook::tab-overlap = 2 # Default = 2
+ GtkNotebook::tab-curvature = 1 # Default = 1
+
+ GtkPaned::handle-size = 6
+
+ GtkRange::trough-border = 0
+ GtkRange::trough-side-details = 0
+ GtkRange::slider-width = 15
+ GtkRange::stepper-size = 1
+
+ GtkScale::slider-length = 14
+ GtkScale::slider-width = 14
+ GtkScale::trough-side-details = 0
+
+ GtkScrollbar::has-backward-stepper = 0
+ GtkScrollbar::has-forward-stepper = 1 # El maldito rollo de gtk2 y las scrollbars
+ GtkScrollbar::min-slider-length = 30
+ GtkScrollbar::slider-width = 9
+ GtkScrollbar::trough-border = 3
+ GtkScrollbar::activate-slider = 0
+ GtkScrollbar::trough-side-details = 0
+ GtkScrollbar::stepper-size = 1
+
+ GtkScrolledWindow::scrollbar-spacing = 0
+ GtkScrolledWindow::scrollbars-within-bevel = 1
+
+ GtkToolbar::internal-padding = 0
+ GtkToolbar::window-dragging = 1
+
+ GtkTreeView::expander-size = 7
+ GtkTreeView::odd_row_color = "#F4F6FA"
+ # en eclipse afecta backcolor de "Quick Type Hierarchy (CTRL+T)"
+ # GtkTreeView::even_row_color = "#FFF"
+
+ GtkWidget::link-color = @link_color
+ GtkWidget::focus-padding = 0
+ WnckTasklist::fade-overlay-rect = 0
+
+ GtkWindow::resize-grip-height = 0 # Ocultar resize-grip
+ GtkWindow::resize-grip-width = 0
+
+ ####################
+ # Color Definitions
+ ####################
+ bg[NORMAL] = @bg_color
+ bg[PRELIGHT] = shade (1.02, @bg_color)
+ bg[SELECTED] = @selected_bg_color
+ bg[INSENSITIVE] = @bg_color
+ bg[ACTIVE] = shade (0.9, @bg_color)
+
+ fg[NORMAL] = @text_color
+ fg[PRELIGHT] = @fg_color
+ fg[SELECTED] = @selected_fg_color
+ fg[INSENSITIVE] = darker (@bg_color)
+ fg[ACTIVE] = @fg_color
+
+ text[NORMAL] = @text_color
+ text[PRELIGHT] = @text_color
+ text[SELECTED] = @selected_fg_color
+ text[INSENSITIVE] = darker (@bg_color)
+ text[ACTIVE] = @selected_fg_color
+
+ base[NORMAL] = @base_color
+ base[PRELIGHT] = shade (0.95, @bg_color)
+ base[SELECTED] = @selected_bg_color
+ base[INSENSITIVE] = @bg_color
+ base[ACTIVE] = shade (0.9, @selected_bg_color)
+
+ engine "murrine" {
+ animation = FALSE
+ arrowstyle = 1 # Estilo flechas menu (triangulos)
+ colorize_scrollbar = TRUE
+ contrast = 1.0
+ default_button_color = shade (1.05, "#66a3e3")
+ expanderstyle = 0 # Treview expander (triangulo)
+ cellstyle = 0
+ focusstyle = 0
+ glazestyle = 0 # 0 = flat highlight, 1 = curved highlight, 2 = concave style, 3 = top curved highlight, 4 = beryl highlight
+ glowstyle = 4 # 0 = top, 1 = bottom, 2 = top and bottom, 3 = horizontal, 4 = centered glow
+ gradient_shades = {1.00, 0.91, 0.92, 0.81}
+ highlight_shade = 1.0
+ lightborder_shade = 1.0
+ lightborderstyle = 1 # 0 = top side, 1 = all sides
+ listviewstyle = 0 # 0 = nothing, 1 = dotted, 2 = line
+ menubaritemstyle = 0 # 0 = menuitem look, 1 = button look
+ menubarstyle = 1 # 0 = flat, 1 = glassy, 2 = gradient, 3 = striped
+ menuitemstyle = 1 # 0 = flat, 1 = glassy, 2 = striped
+ menustyle = 3 # 0 = no vertical menu stripe, 1 = display vertical menu stripe, 2 = faint? 3 = borderless
+ progressbarstyle = 1
+ reliefstyle = 3 # 0 = flat, 1 = inset, 2 = shadow, 3 = shadow with gradient, 4 = stronger shadow with gradient
+ rgba = FALSE # alpha transparency
+ roundness = 3 # 0 = square
+ scrollbarstyle = 0 # 0 = nothing
+ separatorstyle = 0
+ shadow_shades = {2.0, 1.0}
+ sliderstyle = 0 # 0 = nothing added
+ stepperstyle = 1 # 0 = standard, 1 = integrated stepper handles, 2 = unknown
+ toolbarstyle = 1 # 0 = flat, 1 = glassy, 2 = gradient
+ trough_shades = {0.85, 1.0}
+ }
+}
+
+style "wide" {
+ xthickness = 2
+ ythickness = 2
+}
+
+style "wider" {
+ xthickness = 3
+ ythickness = 3
+}
+
+style "button" {
+ xthickness = 3
+ ythickness = 3
+
+ bg[ACTIVE] = shade (1.15, "#5c8fe9") # Pulsado #80B8EA
+ bg[NORMAL] = shade (0.93, "#FFF")
+ bg[PRELIGHT] = shade (0.95, "#FFF")
+ bg[SELECTED] = shade (1.25, "#5c8fe9") # Default
+ bg[INSENSITIVE] = shade (0.88, "#FFF")
+
+ engine "murrine" {
+ border_shades = {1.0, 0.90}
+ contrast = 0.90
+ gradient_shades = {1.25,1.02,1.01,1.05}
+ lightborderstyle = 1
+ lightborder_shade = 1.1
+ textstyle = 1
+ }
+}
+
+style "checkradio_label" {
+ fg[ACTIVE] = @text_color # Forzar color texto en radiobutton-eclipse
+}
+
+style "checkbutton" {
+ engine "pixmap" {
+ image {
+ function = CHECK
+ recolorable = TRUE
+ state = NORMAL
+ shadow = OUT
+ overlay_file = "assets/l-checkbox-unchecked-18.png"
+ overlay_stretch = FALSE
+ }
+
+ image {
+ function = CHECK
+ recolorable = TRUE
+ state = PRELIGHT
+ shadow = OUT
+ overlay_file = "assets/l-checkbox-unchecked-18.png"
+ overlay_stretch = FALSE
+ }
+
+ image {
+ function = CHECK
+ recolorable = TRUE
+ state = ACTIVE
+ shadow = OUT
+ overlay_file = "assets/l-checkbox-unchecked-18.png"
+ overlay_stretch = FALSE
+ }
+
+ image {
+ function = CHECK
+ recolorable = TRUE
+ state = INSENSITIVE
+ shadow = OUT
+ overlay_file = "assets/l-checkbox-unchecked-insensitive-18.png"
+ overlay_stretch = FALSE
+ }
+
+ image {
+ function = CHECK
+ recolorable = TRUE
+ state = NORMAL
+ shadow = IN
+ overlay_file = "assets/l-checkbox-checked-18.png"
+ overlay_stretch = FALSE
+ }
+
+ image {
+ function = CHECK
+ recolorable = TRUE
+ state = PRELIGHT
+ shadow = IN
+ overlay_file = "assets/l-checkbox-checked-18.png"
+ overlay_stretch = FALSE
+ }
+
+ image {
+ function = CHECK
+ recolorable = TRUE
+ state = ACTIVE
+ shadow = IN
+ overlay_file = "assets/l-checkbox-checked-18.png"
+ overlay_stretch = FALSE
+ }
+
+
+ image {
+ function = CHECK
+ recolorable = TRUE
+ state = INSENSITIVE
+ shadow = IN
+ overlay_file = "assets/l-checkbox-checked-insensitive-18.png"
+ overlay_stretch = FALSE
+ }
+
+ image {
+ function = FLAT_BOX
+ recolorable = TRUE
+ stretch = TRUE
+ file = "assets/null.png"
+ border = {2, 2, 2, 2}
+ }
+ }
+}
+
+style "entry" { # text
+ xthickness = 3
+ ythickness = 3
+
+ bg[SELECTED] = mix (0.5, @selected_bg_color, @base_color)
+ fg[SELECTED] = @text_color
+
+ engine "murrine" {
+ contrast = 1.0
+ roundness = 3
+ border_shades = {1.45, 1.35}
+ focusstyle = 3
+
+ }
+}
+
+style "expander" {
+ bg[NORMAL] = "#FFF"
+ fg[NORMAL] = shade (2.0, @text_color)
+ fg[PRELIGHT] = shade (2.0, @text_color)
+
+ engine "murrine" {
+ contrast = 1.2
+ gradient_shades = {1.0, 1.0, 1.0, 1.0}
+ }
+}
+
+style "frame_title" {
+ fg[NORMAL] = lighter (@fg_color)
+}
+
+style "handle" {
+ engine "pixmap" {
+ image {
+ function = HANDLE
+ overlay_file = "assets/handle.png"
+ overlay_border = {0, 0, 0, 0}
+ overlay_stretch = FALSE
+ orientation = HORIZONTAL
+ file = "assets/null.png"
+ border = {0, 0, 0, 0}
+ stretch = TRUE
+ }
+
+ image {
+ function = HANDLE
+ overlay_file = "assets/handle.png"
+ overlay_border = {0, 0, 0, 0}
+ overlay_stretch = FALSE
+ orientation = VERTICAL
+ file = "assets/null.png"
+ border = {0, 0, 0, 0}
+ stretch = TRUE
+ }
+ }
+}
+class "GtkPaned" style "handle"
+
+style "menubar" {
+ # Modificado
+ xthickness = 3
+ ythickness = 3
+
+ fg[NORMAL] = shade (1.99, @fg_color)
+ bg[NORMAL] = shade (0.90, @bg_color)
+
+ engine "murrine" {
+ gradient_shades = {1.00,0.96,0.96,0.89}
+ border_shades = {1.1, 0.9}
+ contrast = 1.10
+ lightborderstyle = 1
+ }
+}
+
+style "menu" {
+ xthickness = 0
+ ythickness = 0
+
+ bg[NORMAL] = shade (1.05, "#ededed")
+
+ GtkMenuItem::arrow-scaling = 0.5
+
+ engine "murrine" {
+ gradient_shades = {1.0, 1.0, 1.0, 1.0}
+ border_shades = {1.1, 0.9}
+ roundness = 0 # 0 = squared
+ contrast = 0.8
+ }
+}
+
+style "menu_item_white" {
+ xthickness = 2
+ ythickness = 3
+
+ fg[PRELIGHT] = @selected_fg_color
+ bg[PRELIGHT] = @menu_gradient
+ bg[SELECTED] = @menu_gradient
+
+ engine "murrine" {
+ gradient_shades = {1.20, 1.10, 1.10, 1.00}
+ roundness = 1
+ border_shades = {1.60, 1.0}
+ roundness = 1
+ contrast = 0.9
+ }
+}
+
+style "menu_item_black" {
+ xthickness = 2
+ ythickness = 3
+
+ fg[PRELIGHT] = @selected_fg_color
+ bg[PRELIGHT] = shade (0.94, "#3C3CF0")
+ bg[SELECTED] = shade (0.94, "#3C3CF0")
+
+ engine "murrine" {
+ gradient_shades = {1.30, 1.15, 1.15, 1.00}
+ roundness = 1
+ #contrast = 0.0
+ }
+}
+
+style "notebook" {
+ xthickness = 2
+ ythickness = 2
+
+ bg[NORMAL] = shade (0.96, @bg_color) # selected tab entire
+ bg[ACTIVE] = shade (1.12, @bg_color) # unselected tab
+
+ engine "murrine" {
+ gradient_shades = {1.20,0.98,0.92,0.65}
+ contrast = 0.75
+ roundness = 3
+ }
+
+}
+
+style "progressbar" {
+ xthickness = 0
+ ythickness = 0
+
+ fg[PRELIGHT] = @selected_fg_color
+ #bg[SELECTED] = "#7088CA"
+ bg[SELECTED] =shade (0.90, "#80B8EA")
+
+ engine "murrine" {
+ gradient_shades = {1.30, 1.15, 1.15, 1.0}
+ roundness = 4
+ }
+}
+
+style "radiobutton" {
+ engine "pixmap" {
+ image {
+ function = OPTION
+ recolorable = TRUE
+ state = NORMAL
+ shadow = OUT
+ overlay_file = "assets/l-radio-unselected-18.png"
+ overlay_stretch = FALSE
+ }
+
+ image {
+ function = OPTION
+ recolorable = TRUE
+ state = PRELIGHT
+ shadow = OUT
+ overlay_file = "assets/l-radio-unselected-18.png"
+ overlay_stretch = FALSE
+ }
+
+ image {
+ function = OPTION
+ recolorable = TRUE
+ state = ACTIVE
+ shadow = OUT
+ overlay_file = "assets/l-radio-unselected-18.png"
+ overlay_stretch = FALSE
+ }
+
+ image {
+ function = OPTION
+ recolorable = TRUE
+ state = INSENSITIVE
+ shadow = OUT
+ overlay_file = "assets/l-radio-unselected-insensitive-18.png"
+ overlay_stretch = FALSE
+ }
+
+ image {
+ function = OPTION
+ recolorable = TRUE
+ state = NORMAL
+ shadow = IN
+ overlay_file = "assets/l-radio-selected-18.png"
+ overlay_stretch = FALSE
+ }
+
+ image {
+ function = OPTION
+ recolorable = TRUE
+ state = PRELIGHT
+ shadow = IN
+ overlay_file = "assets/l-radio-selected-18.png"
+ overlay_stretch = FALSE
+ }
+
+ image {
+ function = OPTION
+ recolorable = TRUE
+ state = ACTIVE
+ shadow = IN
+ overlay_file = "assets/l-radio-selected-18.png"
+ overlay_stretch = FALSE
+ }
+
+
+ image {
+ function = OPTION
+ recolorable = TRUE
+ state = INSENSITIVE
+ shadow = IN
+ overlay_file = "assets/l-radio-selected-insensitive-18.png"
+ overlay_stretch = FALSE
+ }
+
+ image {
+ function = FLAT_BOX
+ recolorable = TRUE
+ stretch = TRUE
+ file = "assets/null.png"
+ border = {2, 2, 2, 2}
+ }
+ }
+}
+
+style "scale" { # slider
+ # Modificado
+ xthickness = 2
+ ythickness = 2
+
+ bg[NORMAL] = shade (0.90, "#8EBDDB")
+ bg[SELECTED] = shade (0.90, "#8EBDDB")
+ bg[PRELIGHT] = shade (0.90, "#8EBDDB")
+ bg[INSENSITIVE] = shade (0.90, @bg_color)
+
+ bg[ACTIVE] = shade (0.95, @bg_color)
+
+ engine "murrine" {
+ #gradient_shades = {0.65,1.00,1.00,1.35}
+ gradient_shades = {0.95,1.05,1.10,1.30}
+ glowstyle = 2 # 0 = top, 1 = bottom, 2 = top and bottom, 3 = horizontal, 4 = centered glow
+ glow_shade = 1.99
+ roundness = 18
+ border_shades = {0.7, 1.2}
+ contrast = 0.6
+ lightborderstyle = 1
+ trough_shades = {0.9, 1.1}
+ }
+}
+
+style "scrollbar" {
+ bg[SELECTED] = shade (0.74, @base_color)
+ bg[ACTIVE] = shade (0.96, @base_color)
+
+ # color flechas (stepper)
+ fg[NORMAL] = shade (1.00, @base_color)
+ fg[PRELIGHT] = shade (1.00, @base_color)
+ fg[ACTIVE] = shade (1.00, @base_color)
+ fg[SELECTED] = shade (1.00, @base_color)
+ fg[INSENSITIVE] = shade (1.00, @base_color)
+
+ engine "murrine" {
+ roundness = 8
+ gradient_shades = {1.0,1.0,1.0,1.0}
+ highlight_shade = 1.0
+ glow_shade = 1.0
+ #reliefstyle = 0
+ prelight_shade = .75
+ gradient_colors = FALSE
+ lightborder_shade = 1.0
+ lightborderstyle = 0
+ trough_shades = {1.06, 1.11}
+ border_shades = {1.24, 1.24}
+ contrast = 0.00
+ }
+}
+
+style "overlay_scrollbar"
+{
+ bg[SELECTED] = shade (1.0, @selected_bg_color)
+ bg[INSENSITIVE] = shade (0.85, @bg_color)
+ bg[ACTIVE] = shade (0.6, @bg_color)
+}
+
+style "spinbutton" = "button" { # input/stepper
+ #bg[NORMAL] = "#FFF"
+ engine "murrine" {
+ contrast = 0.90
+ lightborderstyle = 0
+ border_shades = {1.1, 0.9}
+ lightborder_shade = 1.30
+ }
+}
+
+style "toolbar" {
+
+ engine "murrine" {
+ contrast = 0.80
+ lightborder_shade = 1.00
+ gradient_shades = {0.98,1.00,1.00,1.02}
+ # gradient_shades = {1.00,0.98,0.98,0.96} # En Unity
+ }
+}
+
+style "toolbar_button" {
+ xthickness = 3
+ ythickness = 3
+
+ bg[PRELIGHT] = shade (1.05, "#BBCCEE")
+ bg[ACTIVE] = shade (1.00, "#BBCCEE") # Pulsado
+ bg[SELECTED] = shade (0.95, "#BBCCEE") # Default enter
+ bg[INSENSITIVE] = shade (0.95, "#FFF")
+
+ engine "murrine" {
+ border_shades = {1.00, 1.00}
+ contrast = 0.8
+ gradient_shades = {1.00,0.96,0.96,0.92}
+ lightborderstyle = 1
+ textstyle = 1
+ }
+
+}
+
+style "tooltips" {
+ xthickness = 8
+ ythickness = 4
+
+ bg[NORMAL] = @tooltip_bg_color
+ fg[NORMAL] = @tooltip_fg_color
+
+ GtkWidget::new-tooltip-style = 0
+
+ engine "murrine" {
+ border_colors = { "#343434", "#343434" }
+ }
+}
+
+style "treeview" {
+
+ engine "murrine" {
+ gradient_shades = {1.0, 1.0, 1.0, 1.0}
+ separatorstyle = 0
+ }
+}
+
+style "treeview_header" = "button" {
+ ythickness = 1
+ GtkWidget ::focus-padding = 0
+
+ bg[ACTIVE] = shade (1.00, "#80B8EA") # Pulsado
+ bg[NORMAL] = shade (0.96, "#FFF")
+ bg[PRELIGHT] = shade (1.05, "#80B8EA")
+ bg[SELECTED] = shade (0.95, "#80B8EA") # Default enter
+ bg[INSENSITIVE] = shade (1.00, "#FFF")
+
+ engine "murrine" {
+ border_shades = {1.2, 1.05}
+ contrast = 1.22
+ gradient_shades = {1.25,1.02,0.99,1.15}
+
+ lightborderstyle = 1
+ textstyle = 1
+ }
+}
+
+style "checkradio" = "button" {
+ xthickness = 3
+ ythickness = 3
+ GtkRadioButton::indicator-size = 16
+ GtkCheckButton::indicator-size = 16
+
+ base[NORMAL] = shade (0.95, @base_color) # radiocheck normal
+ bg[SELECTED] = shade (1.25, "#5c8fe9") # radiocheck color checked
+
+ text[NORMAL] = shade (0.50, @selected_bg_color) # indicador normal
+ text[PRELIGHT] = shade (0.35, @selected_bg_color) # indicador hover
+ text[ACTIVE] = shade (0.15, @selected_bg_color) # indicador click
+
+ bg[ACTIVE] = shade (0.80, @bg_color) # button option "#80B8EA"
+
+ engine "murrine" {
+ reliefstyle = 3
+ }
+}
+
+###############################################################################
+# The following part of the gtkrc applies the different styles to the widgets.
+###############################################################################
+
+# The default style is applied to every widget
+class "GtkWidget" style "default"
+class "GtkSeparator" style "wide"
+class "GtkFrame" style "wide"
+class "GtkCalendar" style "wide"
+class "GtkEntry" style "entry"
+
+
+class "GtkSpinButton" style "spinbutton"
+class "GtkScale" style "scale"
+class "GtkVScale" style "scale"
+class "GtkHScale" style "scale"
+
+class "GtkScrollbar" style "scrollbar"
+#widget "*ToggleSwitch*" style "toolbar_button"
+widget_class "*<GtkToolbar>" style "toolbar"
+widget_class "*<GtkHandleBox>" style "toolbar"
+
+# Overlay scrollbar
+widget_class "*<OsScrollbar>" style "overlay_scrollbar"
+widget_class "*<OsThumb>" style "overlay_scrollbar"
+# General matching follows. The order is choosen so that the right styles override
+# each other. EG. progressbar needs to be more important than the menu match.
+widget_class "*<GtkButton>" style "button"
+widget_class "*<GtkNotebook>" style "notebook"
+
+widget_class "*<GtkSpinButton>.*.<GtkEntry>" style "entry"
+widget_class "*<GtkMenuBar>*" style "menubar"
+widget_class "*<GtkMenu>*" style "menu"
+widget_class "*<GtkMenuItem>*" style "menu_item_white"
+#widget_class "*<GtkMenuBar>.<GtkMenuItem>*" style "menu_item_white"
+#widget_class "*<GtkMenuBar>.<GtkMenuItem>*" style "menu_item_black"
+
+widget_class "*<GtkToolbar>.*.<GtkButton>*" style:highest "toolbar_button"
+
+
+widget_class "*.<GtkFrame>.<GtkLabel>" style "frame_title"
+widget_class "*.<GtkTreeView>*" style "treeview"
+
+class "*GtkExpander*" style "expander"
+
+widget_class "*<GtkProgress>" style "progressbar"
+
+# Treeview headers (and similar stock GTK+ widgets)
+widget_class "*.<GtkTreeView>.<GtkButton>" style "treeview_header"
+widget_class "*.<GtkCTree>.<GtkButton>" style "treeview_header"
+widget_class "*.<GtkList>.<GtkButton>" style "treeview_header"
+widget_class "*.<GtkCList>.<GtkButton>" style "treeview_header"
+
+# The window of the tooltip is called "gtk-tooltip"
+widget "gtk-tooltip*" style "tooltips"
+
+widget_class "*<GtkCheckButton>*" style "checkbutton"
+widget_class "*<GtkDialog>*<GtkCheckButton>*" style:highest "checkbutton"
+widget_class "*<GtkFrame>*<GtkCheckButton>*" style:highest "checkbutton"
+widget_class "*<GtkNotebook>*<GtkCheckButton>*" style:highest "checkbutton"
+widget_class "*<GtkCheckButton>*<GtkLabel>" style:highest "checkradio_label"
+
+widget_class "*<GtkRadioButton>*" style "checkradio"
+widget_class "*<GtkDialog>*<GtkRadioButton>*" style:highest "radiobutton"
+widget_class "*<GtkFrame>*<GtkRadioButton>*" style:highest "radiobutton"
+widget_class "*<GtkNotebook>*<GtkRadioButton>*" style:highest "radiobutton"
+widget_class "*<GtkRadioButton>*<GtkLabel>" style:highest "checkradio_label"
+
+widget "MozillaGtkWidget*GtkCheck*" style:highest "checkbutton"
+widget "MozillaGtkWidget*GtkRadio*" style:highest "radiobutton"
+
+##########################################################################
+# Following are special cases and workarounds for issues in applications.
+##########################################################################
+# For Google Chrome/Chromium integration.
+style "chrome-gtk-frame" {
+ ChromeGtkFrame::frame-gradient-size = 120
+ ChromeGtkFrame::frame-color = shade (0.46, @bg_color)
+ ChromeGtkFrame::inactive-frame-color = shade (0.46, @bg_color)
+ ChromeGtkFrame::frame-gradient-color = shade (0.96, @bg_color)
+ ChromeGtkFrame::inactive-frame-gradient-color = shade (0.96, @bg_color)
+ ChromeGtkFrame::scrollbar-trough-color = shade (1.00, @bg_color)
+ ChromeGtkFrame::scrollbar-slider-prelight-color = shade (0.85, @bg_color)
+ ChromeGtkFrame::scrollbar-slider-normal-color = shade (0.78, @bg_color)
+}
+class "ChromeGtkFrame" style "chrome-gtk-frame"
+
+# For places where the text color is used instead of the fg color.
+style "text_is_fg_color_workaround" {
+ text[NORMAL] = @fg_color
+ text[PRELIGHT] = @fg_color
+ text[SELECTED] = @selected_fg_color
+ text[ACTIVE] = @fg_color
+ text[INSENSITIVE] = darker (@bg_color)
+}
+widget_class "*.<GtkComboBox>.<GtkCellView>" style "text_is_fg_color_workaround"
+
+# For menus where the text color is used instead of the fg color.
+style "menuitem_text_is_fg_color_workaround" {
+ text[NORMAL] = @fg_color
+ text[PRELIGHT] = @selected_fg_color
+ text[SELECTED] = @selected_fg_color
+ text[ACTIVE] = @fg_color
+ text[INSENSITIVE] = darker (@bg_color)
+}
+widget "*.gtk-combobox-popup-menu.*" style "menuitem_text_is_fg_color_workaround"
+
+# For places where the fg color is used instead of the text color.
+style "fg_is_text_color_workaround" {
+ fg[NORMAL] = @text_color
+ fg[PRELIGHT] = @text_color
+ fg[SELECTED] = @selected_fg_color
+ fg[ACTIVE] = @selected_fg_color
+ fg[INSENSITIVE] = darker (@bg_color)
+}
+widget_class "*<GtkListItem>*" style "fg_is_text_color_workaround"
+widget_class "*<GtkCList>" style "fg_is_text_color_workaround"
+widget_class "*<EelEditableLabel>" style "fg_is_text_color_workaround"
+
+# For gvim scrollbars.
+style "vim-scrollbar" = "scrollbar" {
+ GtkScrollbar ::slider_width = 16
+ GtkScrollbar ::stepper_size = 16
+
+ engine "pixmap" {
+ image {
+ function = BOX
+ orientation = VERTICAL
+ file = "assets/scroll-background.png"
+ }
+ }
+}
+widget "vim-main-window.*Scrollbar*" style "vim-scrollbar"
+
+# For Eclipse (swt) toolbars.
+widget "*swt*toolbar*" style "default"
+
+