diff options
| author | Dana Jansens <danakj@orodu.net> | 2003-01-20 08:44:17 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2003-01-20 08:44:17 +0000 |
| commit | 25a5b729090f48d27f754016280b4a54de9eef21 (patch) | |
| tree | 6b6abdbfa6039494b17f680c4b5b7f648013f75d /otk/rendertest.cc | |
| parent | 0348a2f3abd2334f5f5812c5fb45c1b4fffb46a5 (diff) | |
add textures, render the textures color for now too!
Diffstat (limited to 'otk/rendertest.cc')
| -rw-r--r-- | otk/rendertest.cc | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/otk/rendertest.cc b/otk/rendertest.cc index fcdad6fd..33b1db36 100644 --- a/otk/rendertest.cc +++ b/otk/rendertest.cc @@ -12,8 +12,17 @@ int main(int argc, char **argv) otk::Application app(argc, argv); otk::AppWidget foo(&app); foo.resize(600, 500); - - otk::RenderTexture tex; + + otk::RenderColor color(0, 0xff, 0x20, 0x20); + otk::RenderTexture tex(false, + otk::RenderTexture::Flat, + false, + otk::RenderTexture::Solid, + false, + &color, + 0, + 0, + 0); foo.setTexture(&tex); foo.show(); |
