- rc->render(&foo);
- XSetWindowBackgroundPixmap(**otk::display, foo.window(), foo.pixmap());
- XClearWindow(**otk::display, foo.window());
+ 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::Vertical,
+ false,
+ &color,
+ &color2,
+ &colord,
+ &colorl,
+ 0,
+ 0);
+ foo.setTexture(&tex);
+
+ foo.show();