![]() |
|
|||||||
| Skin Development GUI and Web skins/themes, graphics development and suggestions. No End-User Support Requests! Only skinners and graphic artists. |
![]() |
|
|
Thread Tools | Search this Thread | Display Modes |
|
|
#1 | |
|
Senior Member
Join Date: Mar 2004
Posts: 142
![]() |
i am screwing around with skinning a bit, and i can't figure one thing out
in the following tag: Quote:
i am assuming that this is what defines the actual appearace, but where is that stored? thanks! |
|
|
|
|
|
|
#2 |
|
Team-XBMC Developer
Join Date: Oct 2003
Posts: 15,070
![]() |
it's a reference to which string should be used for the text. the strings are found in the language\xxx\strings.xml file, where xxx is the local language to use. this allows localization of xbmc.
ie label number 155 refers to the string "drive" in english.
__________________
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.
|
|
|
|
|
|
#3 |
|
Senior Member
Join Date: Mar 2004
Posts: 142
![]() |
oh, ok, that makes sence
then where is the actual tag that show the remaining space of the drive? |
|
|
|
|
|
#4 |
|
Team-XBMC Developer
Join Date: Oct 2003
Posts: 15,070
![]() |
the remaining space on the drive is calculated and displayed. then label number 160 is displayed. if it can't calculate the free space, then label number 161 is displayed.
i found this out by examining the source code for this window (guiwindowsysteminfo.cpp)
__________________
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.
|
|
|
|
|
|
#5 |
|
Senior Member
Join Date: Mar 2004
Posts: 142
![]() |
ok, thanks, looks like i will have to dig in the code myself a bit
so to confirm, i can't just take the remaining hd space and display it in another window? like home.xml? or is there a way to do it (without modifying the code of cource) |
|
|
|
|
|
#6 | |
|
Fan
Join Date: Oct 2003
Location: Sweden
Posts: 467
![]() |
Quote:
just modify home.xml and add the right info there. eg. <control> <description>drive f: text label</description> <type>label</type> <id>13</id> <posx>100</posx> <posy>425</posy> <label>155</label> <font>font13</font> <textcolor>ffb2d4f5</textcolor> </control>
__________________
|
|
|
|
|
|
|
#7 |
|
Senior Member
Join Date: Mar 2004
Posts: 142
![]() |
well, crap!
i was trying to that yesterday for over an hour and never got it to work i'll give it a shot when i get home tonight this is giving me some good ideas for a skin * thanks a lot for the help! |
|
|
|
|
|
#8 |
|
Team-XBMC Developer
Join Date: Oct 2003
Posts: 15,070
![]() |
nope, you can't.
the freespace is calculated in the code, so you'll need to transplant the code into guiwindowhome.cpp as well. the labels will only give you the words "drive" and "free space".
__________________
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.
|
|
|
|
|
|
#9 |
|
Senior Member
Join Date: Mar 2004
Posts: 142
![]() |
jmarshall, thanks
i was about to attempt to do that again, so you saved me another headache |
|
|
|
|
|
#10 |
|
Junior Member
Join Date: Jun 2004
Posts: 2
![]() |
to me this seems like a huge disadvantage that should be corrected. i use xbmc as my dashboard and sorely miss this information on the main page like you get with most other dashboards. i spent many hours trying to figure out how to get the information from the system info page on the home page only to be disappointed upon finding this post...it is, in the end, what has made me decide to stop working on the skin i was creating...what is the point if i can't rearrange everything i don't like?
|
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Labels and Buttons | morte0815 | Skin Development | 1 | 2006-07-18 01:30 |
| Remove Directory Labels | SleepyP | XBMC Feature Suggestions | 0 | 2006-06-12 04:30 |
| LCD Info Labels | smiley1244 | XBMC for Xbox Specific Support | 4 | 2006-02-16 10:37 |
| Labels on overlays ? | bakman | Plugin/Script (Python) Development | 2 | 2005-04-26 11:19 |