diff options
author | pixel <pixel> | 2004-07-15 13:41:31 +0000 |
---|---|---|
committer | pixel <pixel> | 2004-07-15 13:41:31 +0000 |
commit | 55524da6af5a98df4d9c38d8408cd65bd233ee57 (patch) | |
tree | 714838bc565d0ff0a77ded92ff2c5549b58e7c98 /lib/engine.cc | |
parent | 652aa99bd5fddbb4ee878ddd65ac637a134dbcbc (diff) |
Some more widgets introduced
Diffstat (limited to 'lib/engine.cc')
-rw-r--r-- | lib/engine.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/engine.cc b/lib/engine.cc index 357de32..e8d232e 100644 --- a/lib/engine.cc +++ b/lib/engine.cc @@ -2,6 +2,7 @@ #include <Input.h> #include "engine.h" #include "glfont.h" +#include "glsprite.h" #ifdef HAVE_CONFIG_H #include "config.h" @@ -118,9 +119,11 @@ int mogltk::engine::postsetup() throw(GeneralException) { if (glbase_o) { mogltk::SystemFont = new mogltk::glfont(&Input("font.bin")); mogltk::FixedFont = new mogltk::glfont(&Input("fixed-font.bin")); + Sprite::Cursor = new mogltk::glSprite(&Input("cursor.rgba"), 25, 25); } else { mogltk::SystemFont = new mogltk::font(&Input("font.bin")); mogltk::FixedFont = new mogltk::font(&Input("fixed-font.bin")); + Sprite::Cursor = new mogltk::Sprite(&Input("cursor.rgba"), 25, 25); } return 0; |