core/vgui/vgui_font.cxx
Go to the documentation of this file.
00001 // This is core/vgui/vgui_font.cxx
00002 //=========================================================================
00003 #include "vgui_font.h"
00004 //:
00005 // \file
00006 // \brief  Font class for rendering text in OpenGL.
00007 //
00008 // See vgui_font.h for details.
00009 //=========================================================================
00010 
00011 #include <vcl_iostream.h>
00012 
00013 //: Draw a string of font symbols.
00014 void vgui_font::draw(const vcl_string& str, unsigned int size) const
00015 {
00016   static bool first_time = true;
00017   if (first_time)
00018   {
00019     vcl_cerr << "The font being used can not be resized!\n";
00020     first_time = false;
00021   }
00022   draw(str);
00023 }