include "Styles/Notebook/notebook.rc" style "notebook" = "default" { engine "pixmap" { # How to draw boxes with a gap on one side (ie the page of a notebook) image { function = BOX_GAP recolorable = TRUE file = "Notebook/notebook.png" border = { 10, 10, 7, 0} stretch = TRUE } # How to draw the box of a notebook when it isnt attached to a tab image { function = BOX recolorable = TRUE file = "Notebook/notebook.png" border = { 10, 10, 7, 0} stretch = TRUE #gap_side = TOP } } } style "notebook-viewport" { xthickness = 3 ythickness = 3 engine "pixmap" { image { function = FLAT_BOX recolorable = TRUE file = "Fixes/viewport.png" border = { 0, 0, 0, 0 } stretch = TRUE } image { function = SHADOW shadow = IN recolorable = FALSE file = "Shadows/shadow-in-viewport.png" border = { 5, 5, 5, 6} stretch = TRUE } } } style "notebook-fix" { xthickness = 3 ythickness = 3 bg_pixmap[NORMAL] = "Notebook/notebook-bg.png" engine "pixmap" { image { function = FLAT_BOX recolorable = TRUE file = "Notebook/notebook-fix.png" border = { 0, 0, 0, 0 } stretch = TRUE } } } style "deluge" { xthickness = 3 ythickness = 3 bg_pixmap[NORMAL] = "Fixes/statusbar.png" engine "pixmap" { image { function = FLAT_BOX recolorable = TRUE file = "Apps/Deluge/notebook.png" border = { 0, 0, 4, 0} stretch = TRUE } } } style "deluge-options" { xthickness = 3 ythickness = 3 bg_pixmap[NORMAL] = "Fixes/statusbar.png" engine "pixmap" { image { function = FLAT_BOX recolorable = TRUE file = "Notebook/notebook-fix.png" border = { 0, 0, 0, 0} stretch = TRUE } } } class "GtkNotebook" style "notebook" widget_class "**" style "notebook-fix" widget_class "**" style "notebook-fix" widget_class "**" style "notebook-fix" widget "main_window*torrent_info.*viewport?" style "deluge" widget "main_window*torrent_info.*viewport3" style "deluge-options" widget_class "**" style "notebook-viewport"