style "progressbar" {
  xthickness              = 0
  ythickness              = 0
  
  fg[PRELIGHT] = @selected_fg_color

  engine "pixmap"
  {
    image
    {
      function    = BOX
      detail      = "trough"
      file        = "../assets/progressbar-trough.png"
      border      = { 4, 4, 4, 4 }
      stretch     = TRUE
      orientation = HORIZONTAL
    }
    image
    {
      function    = BOX
      detail      = "bar"
      file        = "../assets/progressbar-bar.png"
      stretch     = TRUE
      border      = { 4, 4, 4, 4 }
      orientation = HORIZONTAL
    }
    image
    {
      function    = BOX
      detail      = "trough"
      file        = "../assets/progressbar-trough.png"
      border      = { 4, 4, 4, 4 }
      stretch     = TRUE
      orientation = VERTICAL
    }
    image
    {
      function    = BOX
      detail      = "bar"
      file        = "../assets/progressbar-bar.png"
      stretch     = TRUE
      border      = { 4, 4, 4, 4 }
      orientation = VERTICAL
    }
  }
}

