]> Dogcows Code - chaz/openbox/blobdiff - otk/rendertest.cc
formatting
[chaz/openbox] / otk / rendertest.cc
index 33b1db36ca367c8b6771424316bf5790fe83ab4e..484a08ffe601d508937f8a81634cc97c01db0355 100644 (file)
@@ -13,14 +13,20 @@ int main(int argc, char **argv)
   otk::AppWidget foo(&app);
   foo.resize(600, 500);
 
-  otk::RenderColor color(0, 0xff, 0x20, 0x20);
+  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::Flat,
+                        otk::RenderTexture::Raised,
+                        otk::RenderTexture::Bevel1,
                         false,
-                        otk::RenderTexture::Solid,
+                        otk::RenderTexture::Vertical,
                         false,
                         &color,
-                        0,
+                         &color2,
+                        &colord,
+                        &colorl,
                         0,
                         0);
   foo.setTexture(&tex);
This page took 0.022254 seconds and 4 git commands to generate.