Porting libgui to arm
#1
In some case I need port just only XBMC's GUI to arm,
I have ported the necessary libraries for arm and
successfully run the makefile in /guilib dir.
But I don't know how to find a test files to test
if my porting guilib work well.
If I need to write this program,what main function
or entrypoint should I need to do? Thanks alot
Reply
#2
You need to basically:

1. Create the skin files necessary for it to work (I suggest just grabbing a skin such as PM3 and using that).

2. Create a GUIWindow object (new GUIWindow).

3. Add it to the (global) GUIWindowManager instance.

4. Load the skin (See CApplication::LoadSkin() and just grab what you need).

5. Activate that window (GUIWindowManager::ActivateWindow()).

6. Run the GUIWindowManager's Process() loop, which basically drops down to CApplication:Tonguerocess() to do the rendering and so on.

Obviously the Graphiccontext and so on will need to be created.

Have fun!
Jonathan
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.


Image
Reply
#3
thanks for your help! I will try it.

Besides, I recently reviewed this forum and I found some people said that XBMC need openGL.I'm successfully port the SDL to ARM, but openGL not yet, can I run the XBMC_GUI without openGL??
Reply
#4
Yes, but it'll be slow.
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.


Image
Reply

Logout Mark Read Team Forum Stats Members Help
Porting libgui to arm0