#ifndef GledCore_ZRlFont_H
#define GledCore_ZRlFont_H
#include <Glasses/ZRnrModBase.h>
#include <Eye/Ray.h>
class ZRlFont : public ZRnrModBase
{
MAC_RNR_FRIENDS(ZRlFont);
public:
enum FontMode_e { FM_Bitmap, FM_Pixmap, FM_Texture,
FM_Outline, FM_Polygon, FM_Extrude };
private:
enum PrivRayQN_e { PRQN_offset = RayNS::RQN_user_0,
PRQN_font_change,
PRQN_size_change,
PRQN_depth_change
};
void _init();
protected:
FontMode_e mMode;
TString mFontFile;
Int_t mSize;
Float_t mDepthFac;
public:
ZRlFont(const Text_t* n="ZRlFont", const Text_t* t=0) :
ZRnrModBase(n,t) { _init(); }
void SetFontFile(const Text_t* f);
void EmitFontChangeRay();
void EmitSizeChangeRay();
void EmitDepthChangeRay();
#include "ZRlFont.h7"
ClassDef(ZRlFont, 1);
};
#endif