00001 //--------------------------------------------------------------------------- 00002 // 00003 // File: Txq3dFontLabel.h 00004 // 00005 // Purpose: A class for drawing text on the Txq3dCanvas. 00006 // 00007 // Version: $Id: Txq3dFontLabel.h,v 1.3 2001/10/11 19:54:13 kgl Exp $ 00008 // 00009 // Author: Kelly G. Luetkemeyer 00010 // 00011 //--------------------------------------------------------------------------- 00012 00013 #ifndef TXQ3D_FONTLABEL_H 00014 #define TXQ3D_FONTLABEL_H 00015 00016 // Tx includes 00017 #include "Txq3dDrawable.h" 00018 #include "Txq3dLabel.h" 00019 00034 class Txq3dFontLabel: public Txq3dLabel 00035 { 00036 00037 public: 00038 00042 Txq3dFontLabel(); 00043 00052 Txq3dFontLabel(QString thisLabel, double sx, double sy, double sz); 00053 00057 virtual ~Txq3dFontLabel(); 00058 00062 void setFont(QFont f); 00063 00067 void paintGL(); 00068 00069 protected: 00070 00074 GLuint FontBase; 00075 00076 }; 00077 #endif
Copyright Tech-X Corporation, all rights reserved.