From 55524da6af5a98df4d9c38d8408cd65bd233ee57 Mon Sep 17 00:00:00 2001 From: pixel Date: Thu, 15 Jul 2004 13:41:31 +0000 Subject: Some more widgets introduced --- lib/engine.cc | 3 +++ 1 file changed, 3 insertions(+) (limited to 'lib/engine.cc') 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 #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; -- cgit v1.2.3