affichage_font.h
Aller à la documentation de ce fichier.00001
00002
00009
00010
#ifndef AFFICHAGE_MENU_H
00011
#define AFFICHAGE_MENU_H
00012
00013
#include <stdarg.h>
00014
00016 typedef enum
00017 {
00018
FONT_POSITION_NULL = 0,
00019
FONT_POSITION_CENTRE,
00020
FONT_POSITION_CENTRE_HAUT
00021 }
EFontPosition;
00022
00024 class CFont
00025 {
00026
private:
00027
unsigned int m_uiTexture;
00028
unsigned int m_uiDisplayList;
00029
float m_fCouleur [3];
00030
00031
public:
00033
CFont ();
00035
~CFont ();
00036
00038
void Couleur (
float r,
float g,
float b);
00040
void ChargerTexture (
const char* szTexture);
00042
void Print (
int x,
int y,
const char *szMsg, ...);
00044
void Print (
EFontPosition FontPosition,
const char *szMsg, ...);
00046
void Print (
EFontPosition FontPosition,
int y,
const char *szMsg, ...);
00047 };
00048
00049
#endif //AFFICHAGE_MENU_H
Généré le Sun Sep 26 11:36:46 2004 pour Shoot(r) par
1.3.8