/dports/devel/kyra/kyra/engine/ |
H A D | fontresource.cpp | 47 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 D | fontresource.h | 56 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 D | textbox.h | 68 KrTextBox( KrFontResource* resource, 76 KrFontResource* FontResource() { return resource; } in FontResource() 132 KrFontResource* resource;
|
H A D | vault.h | 51 class KrFontResource; variable 111 KrFontResource* GetFontResource( const std::string& name ); 113 KrFontResource* GetFontResource( U32 resourceId );
|
H A D | kyraresource.h | 52 class KrFontResource; variable 127 …virtual KrFontResource* ToFontResource() { return 0; } ///< Return a pointer if this is a font … in ToFontResource()
|
H A D | encoder.cpp | 889 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 D | vault.cpp | 300 KrFontResource* KrResourceVault::GetFontResource( const std::string& name ) in GetFontResource() 312 KrFontResource* KrResourceVault::GetFontResource( U32 id ) in GetFontResource()
|
H A D | kyraresource.cpp | 83 return new KrFontResource( size, data ); in Create()
|
H A D | encoder.h | 131 static KrFontResource* CreateFixedFontResource( const char* resourceName,
|
/dports/devel/kyra/kyra/spriteed/ |
H A D | sharedstate.h | 60 class KrFontResource; variable 123 KrFontResource* FontResource() { return fontResource; } in FontResource() 174 KrFontResource* fontResource;
|
H A D | dom.h | 56 class KrFontResource; variable 217 KrFontResource* fontRes,
|
H A D | statehelp.cpp | 42 KrFontResource* res = shared->Engine()->Vault()->GetFontResource( "CONSOLE" ); in StateOpening()
|
H A D | statealign.cpp | 90 KrFontResource* res = shared->Engine()->Vault()->GetFontResource( "CONSOLE" ); in StateOpening()
|
/dports/devel/kyra/kyra/gui/ |
H A D | console.h | 53 class KrFontResource; variable 164 KrFontResource* font;
|
H A D | widget.h | 143 KrScheme( KrFontResource* font ); 156 KrFontResource* font;
|
H A D | widget.cpp | 39 KrScheme::KrScheme( KrFontResource* _font ) in KrScheme()
|
/dports/devel/kyra/kyra/tests/ |
H A D | text.cpp | 77 KrFontResource* fontConsole = fontVault->GetFontResource( "CONSOLE" ); in TextTest() 79 KrFontResource* fontArial = fontVault->GetFontResource( "ARIAL" ); in TextTest()
|
H A D | title.cpp | 76 KrFontResource* font = vault->GetFontResource( "CONSOLE" ); in TitleScreen()
|
H A D | scale.cpp | 68 KrFontResource* fontConsole = fontVault->GetFontResource( "CONSOLE" ); in ScalingTest()
|
H A D | blitter.cpp | 52 KrFontResource* font = fontVault->GetFontResource( "CONSOLE" ); in TestBlitter()
|
/dports/devel/kyra/kyra/mapmaker/ |
H A D | layout.h | 15 Layout( SDL_Surface* surface, KrFontResource* font );
|
H A D | layout.cpp | 8 KrFontResource* font ) in Layout()
|
H A D | mapmaker.cpp | 55 …KrFontResource* consoleFontRes = KrEncoder::CreateFixedFontResource( "CONSOLE", CONSOLEFONT_DAT, … in main()
|
/dports/devel/kyra/kyra/consoletest/ |
H A D | main.cpp | 73 KrFontResource* fontRes = engine->Vault()->GetFontResource( "CONSOLE" ); in main()
|
/dports/devel/kyra/kyra/guitest/ |
H A D | guitest.cpp | 148 GUI( KrEngine* engine, KrFontResource* consoleFontRes ) in GUI() 421 …KrFontResource* consoleFontRes = KrEncoder::CreateFixedFontResource( "CONSOLE", CONSOLEFONT_DAT, … in main()
|