Mercurial > projects > openmelee
diff themes/default/ScrollbarButton.cfg @ 0:c10bc63824e7
Initial commit!
author | zzzzrrr <mason.green@gmail.com> |
---|---|
date | Fri, 20 Mar 2009 06:41:25 -0400 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/themes/default/ScrollbarButton.cfg Fri Mar 20 06:41:25 2009 -0400 @@ -0,0 +1,38 @@ +widget ScrollbarButton { + layout = Layered; + + [hfill vfill] new Graphic { + size = 17 17; + + style.normal = { + image = grid("themes/default/img/scrollbutton.png", hline(3, 14), vline(3, 14)); + background = solid(white); + } + + style.active = { + background = solid(rgba(1, 1, 1, 0)); + } + } + + [hfill vfill] new Graphic { + size = 17 17; + + style.normal = { + image = grid("themes/default/img/scrollbutton_active.png", hline(3, 14), vline(3, 14)); + background = solid(rgba(1, 1, 1, 0)); + } + + style.active = { + background = solid(white); + } + } + + new Icon icon { + addIcon = "themes/default/img/arrow0.png"; + addIcon = "themes/default/img/arrow1.png"; + addIcon = "themes/default/img/arrow2.png"; + addIcon = "themes/default/img/arrow3.png"; + } + + arrowDir = prop(icon.iconIndex); +}