Home
last modified time | relevance | path

Searched refs:KrFontResource (Results 1 – 25 of 28) sorted by relevance

12

/dports/devel/kyra/kyra/engine/
H A Dfontresource.cpp47 const std::string KrFontResource::fontName = "Font";
49 KrFontResource::KrFontResource( U32 size, in KrFontResource() function in KrFontResource
69 KrFontResource::KrFontResource( const std::string& name, in KrFontResource() function in KrFontResource
134 KrFontResource::~KrFontResource() in ~KrFontResource()
139 void KrFontResource::CalcSpaceWidth() in CalcSpaceWidth()
150 int KrFontResource::FontWidth( const U16* str ) in FontWidth()
206 int KrFontResource::FontWidth1( U16 glyphCode ) in FontWidth1()
222 bool KrFontResource::GlyphInFont( U16 glyphCode ) in GlyphInFont()
233 int KrFontResource::GlyphToFrame( U16 glyphCode ) in GlyphToFrame()
241 void KrFontResource::Draw( KrPaintInfo* paintInfo, in Draw()
[all …]
H A Dfontresource.h56 class KrFontResource : public KrSpriteResource
60 KrFontResource( U32 size, SDL_RWops* data );
62 KrFontResource( const std::string& name,
69 virtual ~KrFontResource();
73 virtual KrFontResource* ToFontResource() { return this; } in ToFontResource()
H A Dtextbox.h68 KrTextBox( KrFontResource* resource,
76 KrFontResource* FontResource() { return resource; } in FontResource()
132 KrFontResource* resource;
H A Dvault.h51 class KrFontResource; variable
111 KrFontResource* GetFontResource( const std::string& name );
113 KrFontResource* GetFontResource( U32 resourceId );
H A Dkyraresource.h52 class KrFontResource; variable
127 …virtual KrFontResource* ToFontResource() { return 0; } ///< Return a pointer if this is a font … in ToFontResource()
H A Dencoder.cpp889 int type = KrFontResource::FIXED; in EncodeFont()
891 type = KrFontResource::SFONT; in EncodeFont()
893 if ( type == KrFontResource::FIXED && allInfo.fontLength == 0 ) in EncodeFont()
900 KrFontResource* fontRes = new KrFontResource( allInfo.name, in EncodeFont()
1470 /*static*/ KrFontResource* KrEncoder::CreateFixedFontResource( const char* name, in CreateFixedFontResource()
1508 KrFontResource* fontRes = new KrFontResource( name, &info, in CreateFixedFontResource()
1510 KrFontResource::FIXED, 256 ); in CreateFixedFontResource()
H A Dvault.cpp300 KrFontResource* KrResourceVault::GetFontResource( const std::string& name ) in GetFontResource()
312 KrFontResource* KrResourceVault::GetFontResource( U32 id ) in GetFontResource()
H A Dkyraresource.cpp83 return new KrFontResource( size, data ); in Create()
H A Dencoder.h131 static KrFontResource* CreateFixedFontResource( const char* resourceName,
/dports/devel/kyra/kyra/spriteed/
H A Dsharedstate.h60 class KrFontResource; variable
123 KrFontResource* FontResource() { return fontResource; } in FontResource()
174 KrFontResource* fontResource;
H A Ddom.h56 class KrFontResource; variable
217 KrFontResource* fontRes,
H A Dstatehelp.cpp42 KrFontResource* res = shared->Engine()->Vault()->GetFontResource( "CONSOLE" ); in StateOpening()
H A Dstatealign.cpp90 KrFontResource* res = shared->Engine()->Vault()->GetFontResource( "CONSOLE" ); in StateOpening()
/dports/devel/kyra/kyra/gui/
H A Dconsole.h53 class KrFontResource; variable
164 KrFontResource* font;
H A Dwidget.h143 KrScheme( KrFontResource* font );
156 KrFontResource* font;
H A Dwidget.cpp39 KrScheme::KrScheme( KrFontResource* _font ) in KrScheme()
/dports/devel/kyra/kyra/tests/
H A Dtext.cpp77 KrFontResource* fontConsole = fontVault->GetFontResource( "CONSOLE" ); in TextTest()
79 KrFontResource* fontArial = fontVault->GetFontResource( "ARIAL" ); in TextTest()
H A Dtitle.cpp76 KrFontResource* font = vault->GetFontResource( "CONSOLE" ); in TitleScreen()
H A Dscale.cpp68 KrFontResource* fontConsole = fontVault->GetFontResource( "CONSOLE" ); in ScalingTest()
H A Dblitter.cpp52 KrFontResource* font = fontVault->GetFontResource( "CONSOLE" ); in TestBlitter()
/dports/devel/kyra/kyra/mapmaker/
H A Dlayout.h15 Layout( SDL_Surface* surface, KrFontResource* font );
H A Dlayout.cpp8 KrFontResource* font ) in Layout()
H A Dmapmaker.cpp55KrFontResource* consoleFontRes = KrEncoder::CreateFixedFontResource( "CONSOLE", CONSOLEFONT_DAT, … in main()
/dports/devel/kyra/kyra/consoletest/
H A Dmain.cpp73 KrFontResource* fontRes = engine->Vault()->GetFontResource( "CONSOLE" ); in main()
/dports/devel/kyra/kyra/guitest/
H A Dguitest.cpp148 GUI( KrEngine* engine, KrFontResource* consoleFontRes ) in GUI()
421KrFontResource* consoleFontRes = KrEncoder::CreateFixedFontResource( "CONSOLE", CONSOLEFONT_DAT, … in main()

12