XBMC Community Forum  

Go Back   XBMC Community Forum > Development > XBMC Development

XBMC Development Developers forums for XBMC related development. Programmers/Coders only!
No end-user support, no bug reports, and no feature/function requests here!
Please, add platform prefix for suggestions that are not platform-independent!:
Thread prefixes; "[LINUX]", "[LIVE]", "[MAC]", "[WINDOWS]", and "[XBOX]"

Reply
 
Thread Tools Search this Thread Display Modes
Old 2004-03-15, 16:26   #1
Art
Junior Member
 
Join Date: Mar 2004
Posts: 11
Art is on a distinguished road
Default

hey guys!

i'm currently working on a skin viewer to simplify skinning process. uploading an underdevelopement skin and testing it out on the xbox is really a pain, so i thought it would be useful.
for the moment only a few controls are supported (image (with colorkey and colordiffuse), button, buttonm, ...) but i'm stuck with id's. for instance, the button 'my programs' seems to switch to my programs section only because it has id=2, but i'm not sure about this. is there a listing available that says what those id meens exactly ?

thanks a lot

Art is offline   Reply With Quote
Old 2004-03-15, 16:48   #2
Gamester17
Team-XBMC Project Manager
 
Gamester17's Avatar
 
Join Date: Sep 2003
Location: Sweden
Posts: 10,582
Gamester17 will become famous soon enough
Default

moving thread the development forum as you need help with the development of the application, (so you don't just get requests for it)
ps! i believe frodo said/suggested before that it would be simplest to port 'the real' xbmc skin engine from xbox to windows (in c++)
__________________
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.
Gamester17 is offline   Reply With Quote
Old 2004-03-15, 18:02   #3
Butcher
Team-XBMC Developer
 
Join Date: Dec 2003
Posts: 765
Butcher is on a distinguished road
Default

window switching is done via the hyperlink tag. for example the my programs button should have a line like this: <hyperlink>1</hyperlink> in it. window ids are set in the respective window's xml file (at the top). certain button ids have special meanings in the code (reboot, exit to dash, power down, credits, etc.) these can be found by checking the .cpp file for the appropriate window (e.g. guiwindowhome.cpp for the home window).



__________________
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.


Butcher is offline   Reply With Quote
Old 2004-03-15, 22:47   #4
Hullebulle
Fan
 
Join Date: Sep 2003
Posts: 1,972
Hullebulle is on a distinguished road
Default

hmm... just a thought: wouldn't it be possible to port xbmc skin engine/interpreter to windows?
__________________
read the xbmc online-manual, faq and search the forums before posting! do not e-mail the xbmc-team asking for support!
read/follow the forum rules! note! team-xbmc never have and never will host or distribute ms-xdk binaries/executables!
Hullebulle is offline   Reply With Quote
Old 2004-03-16, 00:18   #5
Nickman
Fan
 
Nickman's Avatar
 
Join Date: Oct 2003
Location: Sweden
Posts: 467
Nickman is on a distinguished road
Default

Quote:
Originally Posted by (hullebulle @ mar. 15 2004,20:47)
hmm... just a thought: wouldn't it be possible to port xbmc skin engine/interpreter to windows?
offcource but to do so you have to know some cpp programming. and from the looks of the screenshot this guy is using vb.

but a strait port from xbmc would definitely be a better choise as it would reflect the exact same thing.

but give the guy a chance. it could be a great self learning thing.

i guess sooner o later a cpp developer will make a 4 hour port of the skining engine
//nickman
__________________
  • Xbox v1.3, 64MB, 120GB HD.
  • ASRock ION 330 Ubuntu XBMC.
  • 40" HDTV 720p, AC3/DTS Receiver.
Read the xbmc online-manual, faq and search the forums before posting.
Nickman is offline   Reply With Quote
Old 2004-03-16, 01:26   #6
Bobbin007
Team-XBMC Developer
 
Bobbin007's Avatar
 
Join Date: Oct 2003
Location: Germany
Posts: 403
Bobbin007 is on a distinguished road
Default

a really great idea to make a skin viewer. maybe this can be extended to a skin designer later, with property pages for controls and all that stuff.

also a integrated strings.xml editor would be neat, so eg. localization would be much easier.

just some ideas.

greets

bobbin007
__________________
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.


Bobbin007 is offline   Reply With Quote
Old 2004-03-16, 09:26   #7
Art
Junior Member
 
Join Date: Mar 2004
Posts: 11
Art is on a distinguished road
Default

well i thought about taking xbmc code to do this but i hate c++ * and there's thousands of stuff inside the code that would need to be cleaned up, and it is something really difficult to do if you you're not the one how coded it. besides i'm 50% done, it's already too late...

Quote:
but a strait port from xbmc would definitely be a better choise as it would reflect the exact same thing.
agreed! but it's not reallly a problem, most of the skin is based on bitmaps and their positions are fully described in the skin. the only thing you have to guess is relative positions, like how much pixels is the checkmark picture from the text that describes it.

the only thing i have problems with is fonts. i can't use xprs but since they are based on regular ttf fonts, i'm mapping ttf with xprs in a xml settings file and ... voila!


Quote:
also a integrated strings.xml editor would be neat, so eg. localization would be much easier.
already done ! *

Quote:
maybe this can be extended to a skin designer later
of course this viewer is only a preview module of a larger skin editor ... :lol: i'll post more screenshots later

art
Art is offline   Reply With Quote
Old 2004-03-16, 17:54   #8
Nickman
Fan
 
Nickman's Avatar
 
Join Date: Oct 2003
Location: Sweden
Posts: 467
Nickman is on a distinguished road
Default

Quote:
Originally Posted by (art @ mar. 16 2004,07:26)
well i thought about taking xbmc code to do this but i hate c++ * and there's thousands of stuff inside the code that would need to be cleaned up, and it is something really difficult to do if you you're not the one how coded it. besides i'm 50% done, it's already too late...

Quote:
but a strait port from xbmc would definitely be a better choise as it would reflect the exact same thing.
agreed! but it's not reallly a problem, most of the skin is based on bitmaps and their positions are fully described in the skin. the only thing you have to guess is relative positions, like how much pixels is the checkmark picture from the text that describes it.

the only thing i have problems with is fonts. i can't use xprs but since they are based on regular ttf fonts, i'm mapping ttf with xprs in a xml settings file and ... voila!


Quote:
also a integrated strings.xml editor would be neat, so eg. localization would be much easier.
already done ! *

Quote:
maybe this can be extended to a skin designer later
of course this viewer is only a preview module of a larger skin editor ... :lol: i'll post more screenshots later

art
sounds like you'r ontop of it all.. can't wait to see the end result. best of luck!

//nickman
__________________
  • Xbox v1.3, 64MB, 120GB HD.
  • ASRock ION 330 Ubuntu XBMC.
  • 40" HDTV 720p, AC3/DTS Receiver.
Read the xbmc online-manual, faq and search the forums before posting.
Nickman is offline   Reply With Quote
Old 2004-03-17, 13:49   #9
Art
Junior Member
 
Join Date: Mar 2004
Posts: 11
Art is on a distinguished road
Default

hey,

here's a couple of shots showing xpr font mapping support and a render of the hifi skin in myvideos. speaking about fonts, does anyone know what the original ttf fonts are for common-fontxx.xpr and matrix8.xpr ??





art
Art is offline   Reply With Quote
Old 2004-03-17, 15:03   #10
forza
Team-XBMC Developer
 
forza's Avatar
 
Join Date: Jan 2004
Posts: 294
forza is on a distinguished road
Default

the matrix font used in the screensaver can be found here;

matrix symbol font by lexandr (mcode 1.5 - http://www.deviantart.com/deviation/2040700/)
__________________
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.


forza is offline   Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
the most basic C++ stuff ever :) SleepyP XBMC Development 2 2006-06-26 17:55
Skin control over startup windows los93sol Skin Development 14 2006-05-30 04:19
XBMC DB Viewer, Xbox database viewer Vrokolos XBMC Development 10 2005-01-16 16:53
Skin Viewer Art XBMC Feature Suggestions 1 2004-03-15 16:44
Basic quick questions Agrajag XBMC for Xbox Specific Support 2 2003-12-28 23:42


All times are GMT +2. The time now is 23:57.


Protected by Akismet, We recommend WordPress blogs
Copyright © 2008, XBMC Project