This repository has been archived on 2022-06-27. You can view files and clone it, but cannot push or open issues or pull requests.
Xash3DArchive/utils/vgui/lib/win32_vc6/vfontdata.h

36 lines
611 B
C++

//========= Copyright ?1996-2002, Valve LLC, All rights reserved. ============
//
// Purpose:
//
// $NoKeywords: $
//=============================================================================
#ifndef __VFONTDATA_H__
#define __VFONTDATA_H__
#ifdef _WIN32
#pragma once
#endif
#include "fileimage.h"
class VFontData
{
public:
VFontData();
~VFontData();
public:
int GetLineWidth();
int m_CharWidths[256];
int m_BitmapCharWidth;
int m_BitmapCharHeight;
unsigned char *m_pBitmap;
};
bool LoadVFontDataFrom32BitTGA(
FileImageStream *fp, VFontData *pData);
#endif