diff options
author | pixel <pixel> | 2002-12-18 16:32:04 +0000 |
---|---|---|
committer | pixel <pixel> | 2002-12-18 16:32:04 +0000 |
commit | f4b6e956b0853970989fd349af861d81537c1237 (patch) | |
tree | 3b6fe83cb3f25517c540f6fd3477c9c7a89a111e | |
parent | c329122f425342ac620696b40f7421753f70a8b6 (diff) |
Played with default colors...
-rw-r--r-- | lib/glfont.cc | 2 | ||||
-rw-r--r-- | src/test.cc | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/lib/glfont.cc b/lib/glfont.cc index 4d2cbd9..91d70ba 100644 --- a/lib/glfont.cc +++ b/lib/glfont.cc @@ -1,3 +1,4 @@ +#include <stdarg.h> #include "glbase.h" #include "glfont.h" #include "Input.h" @@ -226,3 +227,4 @@ int mogltk::font::printf(const String & m, ...) { void mogltk::font::setcolor(Color c) { textcolor = c; } + diff --git a/src/test.cc b/src/test.cc index 073771b..5289762 100644 --- a/src/test.cc +++ b/src/test.cc @@ -80,6 +80,7 @@ virtual int startup() throw (GeneralException) { mogltk::glbase::Leave2DMode(); font.putcursor(10, 10); + font.setcolor(Color(255, 0, 0)); font.printf("PixelPawa!"); font.newline(); font.printf("It works!!"); |