From fabb6e8c1faa8339730cc7f56f84eb0a7e8b6c4f Mon Sep 17 00:00:00 2001 From: Derek Foreman Date: Wed, 22 Jan 2003 02:50:29 +0000 Subject: [PATCH] testing a gradient texture now --- otk/rendertest.cc | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/otk/rendertest.cc b/otk/rendertest.cc index ce0bb144..484a08ff 100644 --- a/otk/rendertest.cc +++ b/otk/rendertest.cc @@ -13,16 +13,18 @@ int main(int argc, char **argv) otk::AppWidget foo(&app); foo.resize(600, 500); - otk::RenderColor color(0, 0, 0xff, 0xff); + otk::RenderColor color(0, 0x96, 0xba, 0x86); + otk::RenderColor color2(0, 0x5a, 0x72, 0x4c); otk::RenderColor colord(0, 0, 0, 0); otk::RenderColor colorl(0, 0xff, 0xff, 0xff); otk::RenderTexture tex(false, otk::RenderTexture::Raised, otk::RenderTexture::Bevel1, false, - otk::RenderTexture::Solid, + otk::RenderTexture::Vertical, false, &color, + &color2, &colord, &colorl, 0, -- 2.45.2