This site is no longer active and is available for archival purposes only. Registration and login is disabled.

Font::drawf


Font::drawf

Postby Bapdude » Jul 15, 2004 @ 8:47am

User avatar
Bapdude
pm Member
 
Posts: 140
Joined: May 14, 2004 @ 5:06am


Postby Conan » Jul 15, 2004 @ 10:16am

rather than try to solve this can I suggest that you do your text a different way to avoid having to do the 'IFDEF' stuff. I have been through all of this so I know what I'm doing (I don't say that very often :) )

use TCHAR and the _t macros throughout. A few sample code lines (I can provide many more).keystr is defined as TCHAR [nn]

m_font.draw(display,109,239, FONT_LEFT,TEXT("V"));

LoadString(_Module.GetResourceInstance(),IDS_GUILD2A,keystr,26);
m_font.draw(display,120, 30, FONT_CENTER, keystr);

_itot(bases[cur_base].trade[z+16].cost,keystr,10);
m_font.draw(display,200,110+(12*z), FONT_RIGHT,keystr);
What is Best in Life ?
User avatar
Conan
pm Member
 
Posts: 1309
Joined: Dec 24, 2001 @ 5:16am
Location: the Shades, Ankh-Morpock


Postby simonjacobs » Jul 15, 2004 @ 12:10pm

User avatar
simonjacobs
pm Insider
 
Posts: 311
Joined: Nov 27, 2001 @ 4:51pm
Location: London, UK


Postby Bapdude » Jul 15, 2004 @ 7:54pm

Thanks Conan/Simon...I appreciate your suggestions. I'll give them a try and see if it fixes the problem.
User avatar
Bapdude
pm Member
 
Posts: 140
Joined: May 14, 2004 @ 5:06am


Postby Bapdude » Jul 16, 2004 @ 6:35am

User avatar
Bapdude
pm Member
 
Posts: 140
Joined: May 14, 2004 @ 5:06am


Postby Andy » Jul 16, 2004 @ 7:17am

Andy
<font color=red size=3>Troll++</font>
 
Posts: 1288
Joined: Nov 1, 2003 @ 7:36am


Postby Conan » Jul 16, 2004 @ 7:21am

What is Best in Life ?
User avatar
Conan
pm Member
 
Posts: 1309
Joined: Dec 24, 2001 @ 5:16am
Location: the Shades, Ankh-Morpock


Postby simonjacobs » Jul 16, 2004 @ 11:07am

User avatar
simonjacobs
pm Insider
 
Posts: 311
Joined: Nov 27, 2001 @ 4:51pm
Location: London, UK


Postby Bapdude » Jul 18, 2004 @ 6:41pm

User avatar
Bapdude
pm Member
 
Posts: 140
Joined: May 14, 2004 @ 5:06am


Return to PocketFrog & PocketHAL


Sort


Forum Description

SDKs for fast and robust device-independent access to Pocket PC display hardware.

Moderators:

sponge, Kzinti

Forum permissions

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

cron