# cde-motif - a motif(r)-like theme for GTK2 that uses the 
#             standard 'pixmap' engine
#
# Version: 0.6
#
# Copyright (c) 2004 Bruno T. C. de Oliveira
# All rights reserved.
#
# Modified by Murray Blakeman 2004
#
# Author's e-mail address:  btco@linux.ime.usp.br
#                           mblakeman@netspace.net.au
#
# Feel free to contact me regarding this theme; improvements, corrections
# and suggestions are always welcome!
#
# NOTICE
# Motif(r) is a registered trademark of the Open Group and/or other
# entities. This package is in no way related to (much less endorsed by) 
# any such entities.
#
# LICENSE INFORMATION:
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public
# License as published by the Free Software Foundation; either
# version 2 of the License, or (at your option) any later version.
# 
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
# General Public License for more details.
# 
# You should have received a copy of the GNU General Public
# License along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
# Copyright (c) 2002 Bruno T. C. de Oliveira
# 
# INFORMAES DE LICENA:
# Este programa  um software de livre distribuio; voc pode
# redistribu-lo e/ou modific-lo sob os termos da GNU General
# Public License, conforme publicado pela Free Software Foundation,
# pela verso 2 da licena ou qualquer verso posterior.
# 
# Este programa  distribudo na esperana de que ele ser til
# aos seus usurios, porm, SEM QUAISQUER GARANTIAS; sem sequer
# a garantia implcita de COMERCIABILIDADE ou DE ADEQUAO A
# QUALQUER FINALIDADE ESPECFICA. Consulte a GNU General Public
# License para obter mais detalhes (uma cpia acompanha este
# programa, armazenada no arquivo COPYING).

style "default"
{
  fg[NORMAL] = "#000000"
  fg[PRELIGHT] = "#000000"
  fg[SELECTED] = "#ffffff"
  fg[ACTIVE] = "#000000"

  bg[NORMAL] = "#bab5ab"
  bg[PRELIGHT] = "#bab5ab"
  bg[ACTIVE] = "#807d74"
  bg[SELECTED] = "#000000"
  bg[INSENSITIVE] = "#a0a0a0"
  
  base[NORMAL] = "#bab5ab"
  base[PRELIGHT] = "#bab5ab"
  base[ACTIVE] = "#807d74"
  base[SELECTED] = "#000000"
  base[INSENSITIVE] = "#a0a0a0"

  engine "pixmap" {
     image {
        function        = FOCUS
        file            = "ugly-focus.png"
        border          = { 4, 4, 4, 4 }
        stretch         = TRUE
     }
  }
}

style "ugly-range" {
  GtkRange::slider_width = 20
  GtkRange::stepper_size = 20
  GtkRange::trough_border = 2

  engine "pixmap" {
     image {
        function        = SLIDER
	file            = "ugly-button.png"
	border          = { 4, 4, 4, 4 }
	stretch         = TRUE
      }
     image {
        function        = STEPPER
        arrow_direction = UP
        file            = "ugly-arrow-up.png"
        state           = NORMAL
        border          = {0, 0, 0, 0}
        stretch         = TRUE
     }
     image {
        function        = STEPPER
        arrow_direction = DOWN
        file            = "ugly-arrow-down.png"
        state           = NORMAL
        border          = {0, 0, 0, 0}
        stretch         = TRUE
     }
     image {
        function        = STEPPER
        arrow_direction = UP
        file            = "ugly-arrow-up.png"
        state           = PRELIGHT
        border          = {0, 0, 0, 0}
        stretch         = TRUE
     }
     image {
        function        = STEPPER
        arrow_direction = DOWN
        file            = "ugly-arrow-down.png"
        state           = PRELIGHT
        border          = {0, 0, 0, 0}
        stretch         = TRUE
     }
     image {
        function        = STEPPER
        arrow_direction = UP
        file            = "ugly-arrow-up-pressed.png"
        state           = SELECTED
        border          = {0, 0, 0, 0}
        stretch         = TRUE
     }
     image {
        function        = STEPPER
        arrow_direction = DOWN
        file            = "ugly-arrow-down-pressed.png"
        state           = SELECTED
        border          = {0, 0, 0, 0}
        stretch         = TRUE
     }
     image {
        function        = STEPPER
        arrow_direction = UP
        file            = "ugly-arrow-up-pressed.png"
        state           = ACTIVE
        border          = {0, 0, 0, 0}
        stretch         = TRUE
     }
     image {
        function        = STEPPER
        arrow_direction = DOWN
        file            = "ugly-arrow-down-pressed.png"
        state           = ACTIVE
        border          = {0, 0, 0, 0}
        stretch         = TRUE
     }

     image {
        function        = BOX
        detail          = "trough"
        file            = "ugly-trough.png"
        border          = { 4, 4, 14, 14 }
        stretch         = TRUE
        orientation     = VERTICAL
     }
     
     

     image {
        function        = STEPPER
        arrow_direction = RIGHT
        file            = "ugly-arrow-right.png"
        state           = NORMAL
        border          = {0, 0, 0, 0}
        stretch         = TRUE
     }
     image {
        function        = STEPPER
        arrow_direction = LEFT 
        file            = "ugly-arrow-left.png"
        state           = NORMAL
        border          = {0, 0, 0, 0}
        stretch         = TRUE
     }
     image {
        function        = STEPPER
        arrow_direction = RIGHT
        file            = "ugly-arrow-right.png"
        state           = PRELIGHT
        border          = {0, 0, 0, 0}
        stretch         = TRUE
     }
     image {
        function        = STEPPER
        arrow_direction = LEFT 
        file            = "ugly-arrow-left.png"
        state           = PRELIGHT
        border          = {0, 0, 0, 0}
        stretch         = TRUE
     }
     image {
        function        = STEPPER
        arrow_direction = RIGHT
        file            = "ugly-arrow-right-pressed.png"
        state           = SELECTED
        border          = {0, 0, 0, 0}
        stretch         = TRUE
     }
     image {
        function        = STEPPER
        arrow_direction = LEFT 
        file            = "ugly-arrow-left-pressed.png"
        state           = SELECTED
        border          = {0, 0, 0, 0}
        stretch         = TRUE
     }
     image {
        function        = STEPPER
        arrow_direction = RIGHT
        file            = "ugly-arrow-right-pressed.png"
        state           = ACTIVE
        border          = {0, 0, 0, 0}
        stretch         = TRUE
     }
     image {
        function        = STEPPER
        arrow_direction = LEFT 
        file            = "ugly-arrow-left-pressed.png"
        state           = ACTIVE
        border          = {0, 0, 0, 0}
        stretch         = TRUE
     }

     image {
        function        = BOX
        detail          = "trough"
        file            = "ugly-trough.png"
        border          = { 4, 4, 4, 4 }
        stretch         = TRUE
        orientation     = HORIZONTAL
     }
  }
}

style "ugly-button" {
  engine "pixmap" {
    image {
        function        = BOX
	file            = "ugly-button.png"
        state           = NORMAL
	border          = { 4, 4, 4, 4 }
	stretch         = TRUE
    }
    image {
        function        = BOX
	file            = "ugly-button.png"
        state           = PRELIGHT
	border          = { 4, 4, 4, 4 }
	stretch         = TRUE
    }
    image {
        function        = BOX
	file            = "ugly-button-pressed.png"
        state           = SELECTED
	border          = { 4, 4, 4, 4 }
	stretch         = TRUE
    }
    image {
        function        = CHECK
	file            = "ugly-button.png"
        shadow          = OUT
        state           = NORMAL
	border          = { 4, 4, 4, 4 }
	stretch         = TRUE
    }
    image {
        function        = CHECK
	file            = "ugly-button-pressed.png"
        shadow          = IN
        state           = NORMAL
	border          = { 4, 4, 4, 4 }
	stretch         = TRUE
    }
    image {
        function        = CHECK
	file            = "ugly-button.png"
        shadow          = OUT
        state           = PRELIGHT
	border          = { 4, 4, 4, 4 }
	stretch         = TRUE
    }
    image {
        function        = CHECK
	file            = "ugly-button-pressed.png"
        shadow          = IN
        state           = PRELIGHT
	border          = { 4, 4, 4, 4 }
	stretch         = TRUE
    }
    image {
        function        = CHECK
	file            = "ugly-button-pressed.png"
        state           = SELECTED
	border          = { 4, 4, 4, 4 }
	stretch         = TRUE
    }
    image {
        function        = CHECK
	file            = "ugly-button-pressed.png"
        state           = ACTIVE
	border          = { 4, 4, 4, 4 }
	stretch         = TRUE
    }
    image {
        function        = OPTION
	file            = "ugly-losenge.png"
        shadow          = OUT
        state           = NORMAL
	border          = { 0, 0, 0, 0 }
	stretch         = TRUE
    }
    image {
        function        = OPTION
	file            = "ugly-losenge-pressed.png"
        shadow          = IN
        state           = NORMAL
	border          = { 0, 0, 0, 0 }
	stretch         = TRUE
    }
    image {
        function        = OPTION
	file            = "ugly-losenge.png"
        shadow          = OUT
        state           = PRELIGHT
	border          = { 0, 0, 0, 0 }
	stretch         = TRUE
    }
    image {
        function        = OPTION
	file            = "ugly-losenge-pressed.png"
        shadow          = IN
        state           = PRELIGHT
	border          = { 0, 0, 0, 0 }
	stretch         = TRUE
    }
    image {
        function        = OPTION
	file            = "ugly-losenge-pressed.png"
        state           = SELECTED
	border          = { 0, 0, 0, 0 }
	stretch         = TRUE
    }
    image {
        function        = OPTION
	file            = "ugly-losenge-pressed.png"
        state           = ACTIVE
	border          = { 0, 0, 0, 0 }
	stretch         = TRUE
    }
  }
}

# common default
class "GtkButton" style "ugly-button"

# common default
class "GtkRange" style "ugly-range"
class "GtkScrollbar" style "ugly-range"

style "ugly-menuitem" {
  engine "pixmap" {
    image {
        function        = BOX
	file            = "ugly-button.png"
	border          = { 4, 4, 4, 4 }
	stretch         = TRUE
      }
   }
}

# common default
class "GtkMenuItem" style "ugly-menuitem"

class "GtkWidget" style "default"


