all repos — openbox @ fabb6e8c1faa8339730cc7f56f84eb0a7e8b6c4f

openbox fork - make it a bit more like ryudo

testing a gradient texture now
Derek Foreman manmower@gmail.com
commit

fabb6e8c1faa8339730cc7f56f84eb0a7e8b6c4f

parent

9280f1b601e4380184174772afab15857cff7ff0

1 files changed, 4 insertions(+), 2 deletions(-)

jump to
M otk/rendertest.ccotk/rendertest.cc

@@ -13,16 +13,18 @@ otk::Application app(argc, 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,