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(uint charCode, FT_BitmapGlyph ftGlyph) {
|
||||
cOglGlyph::cOglGlyph(FT_ULong charCode, FT_BitmapGlyph ftGlyph) {
|
||||
this->charCode = charCode;
|
||||
bearingLeft = ftGlyph->left;
|
||||
bearingTop = ftGlyph->top;
|
||||
@ -389,7 +389,7 @@ void cOglFont::Cleanup(void) {
|
||||
esyslog("failed to deinitialize FreeType library!");
|
||||
}
|
||||
|
||||
cOglGlyph* cOglFont::Glyph(uint charCode) const {
|
||||
cOglGlyph* cOglFont::Glyph(FT_ULong charCode) const {
|
||||
// Non-breaking space:
|
||||
if (charCode == 0xA0)
|
||||
charCode = 0x20;
|
||||
|
@ -110,7 +110,7 @@ class cOglGlyph:public cListObject
|
||||
uint prevSym;
|
||||
GLfloat kerning;
|
||||
};
|
||||
uint charCode;
|
||||
FT_ULong charCode;
|
||||
int bearingLeft;
|
||||
int bearingTop;
|
||||
int width;
|
||||
@ -122,9 +122,9 @@ class cOglGlyph:public cListObject
|
||||
void LoadTexture(FT_BitmapGlyph ftGlyph);
|
||||
|
||||
public:
|
||||
cOglGlyph(uint charCode, FT_BitmapGlyph ftGlyph);
|
||||
cOglGlyph(FT_ULong charCode, FT_BitmapGlyph ftGlyph);
|
||||
virtual ~ cOglGlyph();
|
||||
uint CharCode(void)
|
||||
FT_ULong CharCode(void)
|
||||
{
|
||||
return charCode;
|
||||
}
|
||||
@ -190,7 +190,7 @@ class cOglFont:public cListObject
|
||||
{
|
||||
return height;
|
||||
};
|
||||
cOglGlyph *Glyph(uint charCode) const;
|
||||
cOglGlyph *Glyph(FT_ULong charCode) 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
|
||||
extern void ActivateOsd(GLuint, int, int, int, int);
|
||||
#endif
|
||||
|
||||
#ifdef GAMMA
|
||||
extern void Init_Gamma();
|
||||
extern void Exit_Gamma();
|
||||
extern void Set_Gamma(float, int);
|
||||
extern void Get_Gamma();
|
||||
#endif
|
||||
|
||||
#if 0
|
||||
long int gettid()
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user