forums.ps2dev.org Forum Index forums.ps2dev.org
Homebrew PS2, PSP & PS3 Development Discussions
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

pspDebugScreenGetTextColor()

 
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Development
View previous topic :: View next topic  
Author Message
drpollo



Joined: 30 Aug 2005
Posts: 8

PostPosted: Fri Sep 09, 2005 1:39 am    Post subject: pspDebugScreenGetTextColor() Reply with quote

Hi all,

I've noticed that in pspdebug.h there is a function for setting the text and background color, but the opposite ones are missing.

Is there a way to get the text and background colors of the debug screen? or will I have to wait for a future pspsdk release?

Thanks,
Alberto
Back to top
View user's profile Send private message
drpollo



Joined: 30 Aug 2005
Posts: 8

PostPosted: Fri Sep 09, 2005 2:31 am    Post subject: Reply with quote

Well, it seems that it wasn't so difficult, I guess that inserting in scr_printf.c these two functions and its prototypes in pspdebug.h will be enough.

u32 pspDebugScreenGetBackColor()
{
return bg_col;
}

u32 pspDebugScreenGetTextColor()
{
return fg_col;
}
Back to top
View user's profile Send private message
drpollo



Joined: 30 Aug 2005
Posts: 8

PostPosted: Fri Sep 09, 2005 8:15 am    Post subject: Reply with quote

Well, it works, now I'm thinking that if I want to use that functions in my program (I do) and I want others to be able to compile it, they should be included in pspsdk, is this possible?
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Development All times are GMT + 10 Hours
Page 1 of 1

 
Jump to:  
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 vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group