mirror of
https://github.com/jojo61/vdr-plugin-softhdcuvid.git
synced 2023-10-10 13:37:41 +02:00
Use FT_ULong instead of uint
This commit is contained in:
parent
a5b81f8de1
commit
03e69b5e26
@ -270,7 +270,7 @@ bool cShader::CheckCompileErrors(GLuint object, bool program) {
|
|||||||
/****************************************************************************************
|
/****************************************************************************************
|
||||||
* cOglGlyph
|
* cOglGlyph
|
||||||
****************************************************************************************/
|
****************************************************************************************/
|
||||||
cOglGlyph::cOglGlyph(uint charCode, FT_BitmapGlyph ftGlyph) {
|
cOglGlyph::cOglGlyph(FT_ULong charCode, FT_BitmapGlyph ftGlyph) {
|
||||||
this->charCode = charCode;
|
this->charCode = charCode;
|
||||||
bearingLeft = ftGlyph->left;
|
bearingLeft = ftGlyph->left;
|
||||||
bearingTop = ftGlyph->top;
|
bearingTop = ftGlyph->top;
|
||||||
@ -389,7 +389,7 @@ void cOglFont::Cleanup(void) {
|
|||||||
esyslog("failed to deinitialize FreeType library!");
|
esyslog("failed to deinitialize FreeType library!");
|
||||||
}
|
}
|
||||||
|
|
||||||
cOglGlyph* cOglFont::Glyph(uint charCode) const {
|
cOglGlyph* cOglFont::Glyph(FT_ULong charCode) const {
|
||||||
// Non-breaking space:
|
// Non-breaking space:
|
||||||
if (charCode == 0xA0)
|
if (charCode == 0xA0)
|
||||||
charCode = 0x20;
|
charCode = 0x20;
|
||||||
|
@ -110,7 +110,7 @@ class cOglGlyph:public cListObject
|
|||||||
uint prevSym;
|
uint prevSym;
|
||||||
GLfloat kerning;
|
GLfloat kerning;
|
||||||
};
|
};
|
||||||
uint charCode;
|
FT_ULong charCode;
|
||||||
int bearingLeft;
|
int bearingLeft;
|
||||||
int bearingTop;
|
int bearingTop;
|
||||||
int width;
|
int width;
|
||||||
@ -122,9 +122,9 @@ class cOglGlyph:public cListObject
|
|||||||
void LoadTexture(FT_BitmapGlyph ftGlyph);
|
void LoadTexture(FT_BitmapGlyph ftGlyph);
|
||||||
|
|
||||||
public:
|
public:
|
||||||
cOglGlyph(uint charCode, FT_BitmapGlyph ftGlyph);
|
cOglGlyph(FT_ULong charCode, FT_BitmapGlyph ftGlyph);
|
||||||
virtual ~ cOglGlyph();
|
virtual ~ cOglGlyph();
|
||||||
uint CharCode(void)
|
FT_ULong CharCode(void)
|
||||||
{
|
{
|
||||||
return charCode;
|
return charCode;
|
||||||
}
|
}
|
||||||
@ -190,7 +190,7 @@ class cOglFont:public cListObject
|
|||||||
{
|
{
|
||||||
return height;
|
return height;
|
||||||
};
|
};
|
||||||
cOglGlyph *Glyph(uint charCode) const;
|
cOglGlyph *Glyph(FT_ULong charCode) const;
|
||||||
int Kerning(cOglGlyph * glyph, uint prevSym) const;
|
int Kerning(cOglGlyph * glyph, uint prevSym) const;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
8
video.h
8
video.h
@ -248,6 +248,14 @@ extern int VideoRaiseWindow(void);
|
|||||||
#ifdef USE_OPENGLOSD
|
#ifdef USE_OPENGLOSD
|
||||||
extern void ActivateOsd(GLuint, int, int, int, int);
|
extern void ActivateOsd(GLuint, int, int, int, int);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifdef GAMMA
|
||||||
|
extern void Init_Gamma();
|
||||||
|
extern void Exit_Gamma();
|
||||||
|
extern void Set_Gamma(float, int);
|
||||||
|
extern void Get_Gamma();
|
||||||
|
#endif
|
||||||
|
|
||||||
#if 0
|
#if 0
|
||||||
long int gettid()
|
long int gettid()
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user