I am sure I wrote a button lib, dam sure of it but a search of my threads says I never posted it .. your loss I guess
If your making an image in gimp and adding text to it, this is a sprite ... no?
The virtual joysticks are actually what lead me to AppGameKit, I kept seeing images and games with them in and eventually found out TGC had created the framework that had them ... I immediately purchased it... no regrets, well, not many.
Look I can fix this I am looking at the code right now (line 173 to 191 Wrapper.cpp)
if ( !m_bVisible ) return;
// find the correct sprite to use
cSprite *pSprite = m_pButtonSprite;
if ( m_bDown ) pSprite = m_pButtonDownSprite;
// draw text
if ( m_pText )
m_pText->SetAlignment( 1 );
m_pText->SetPosition( m_pButtonSprite->GetXByOffset(), m_pButtonSprite->GetYByOffset() - m_pButtonSprite->GetHeight()/8.0f );
m_pText->SetSize( m_pButtonSprite->GetHeight() / 4.0f );
This really is an easy fix, replace "m_pButtonSprite->GetHeight() / 4.0f" with a text size variable and add a function to set/get the button text size, job done Virtual Buttons fixed but although TGC made the core public they do not seem to eager to merge any code so ... I'll go through the motions and make a pull but don't hold your breath on it being merged.