From 23aea9b42f24195d915ca3f0c4fa9dca778ba1cd Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Wed, 4 Sep 2002 02:58:39 +0000 Subject: better border support for stuff. add a borderColor resource, and allow borders with gradients. basically, they can only be used with flat stuff (not raised/lowered) --- src/Screen.cc | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/Screen.cc') diff --git a/src/Screen.cc b/src/Screen.cc index 2722fe4b..6288b43f 100644 --- a/src/Screen.cc +++ b/src/Screen.cc @@ -2520,6 +2520,8 @@ BTexture BScreen::readDatabaseTexture(const string &rname, texture.setColor(readDatabaseColor(rname + ".color", default_color, style)); texture.setColorTo(readDatabaseColor(rname + ".colorTo", default_color, style)); + texture.setBorderColor(readDatabaseColor(rname + ".borderColor", + default_color, style)); return texture; } -- cgit v1.2.3