NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Developers v
« Previous 1 … 52 53 54 55 56 … 93 Next »
Global TextStyles?

 
  • 0 Vote(s) - 0 Average
Global TextStyles?
Digital712
Offline

Member

Posts: 67
Threads: 16
Joined: Dec 2005
#1
2006-08-09, 05:41 PM
Sorry to be a pest, but Is there a way to set a global text style?

The theme I'm working on I'm trying to make everything as nuetral as possable so you can simply change the background to achive a fairly new look (everything is transparent) But I'd like to be able to change the Highlight color in one place (like BaseSkin) and have all the highlighted text throughout the theme change.

I'd like to set something like:

<TextStyle name="GlobalHighlightText" color="Blue" typeFace="Arial" size="14" style="bold"/>

And use textStyle="GlobalHighlightText" anywhere I want. Smile

Is this possable?

Thanks,

Tony
[COLOR="Navy"][SIZE="1"]AMD Athlon 64 X2 3800+, 1GB PC3200
ASUS A8N5X - nForce4 chipset
Geforce 6200TC 128MB PCIE
WinTV-PVR 500 MCE (With FM)
2 250GB SATA Seagate Barracuda's
Windows XP Pro SP2

Client: Wired Media MVP, Comcast Cable
[/SIZE][/COLOR]
Fatman_do
Offline

Posting Freak

Posts: 3,482
Threads: 95
Joined: Nov 2005
#2
2006-08-09, 05:45 PM
That would work except in plugins that use hard-coded textstyles. (They exsist).
Fatman_do
[SIZE="1"]
HTPC: AMD XP+2500, 512MB DDR (400) ~ Capture Device: Hauppage PVR-150
Storage: 30GB OS & Recording, 160GB Post Processing & Archive
Video Output: HD 32" TV via eVGA Geforce 6200le 256MB AGP DVI-HDMI cable out
Audio Output: Turtle Beach Riviera S/PDIF Optic Output (Digital pass thru only) to Home Theater Receiver[/SIZE]

[SIZE="2"]
Moderator | Tutorials | Community Skin | CommunitySkin-SVN[/SIZE]
McBainUK
Offline

Posting Freak

Posts: 4,711
Threads: 429
Joined: Sep 2005
#3
2006-08-09, 05:47 PM
When GBPVR renders a <DrawText> tag in a plugin skin it first looks for the defined textStyle in the current skin file, if it can't find it there then it looks in the Baseskin.xml file.

BTW, do you have any thoughts on these:
http://gbpvr.com/pmwiki/pmwiki.php/Devel...munitySkin
http://gbpvr.com/pmwiki/pmwiki.php/Devel...ySkinFiles
http://forums.nextpvr.com/showthread.php?t=17950
Wiki profile
My Projects
Programs Plugin [SIZE=2](retired)
| Volume OSD Plugin (retired) | Documentation Wiki (retired)
[/SIZE]
Digital712
Offline

Member

Posts: 67
Threads: 16
Joined: Dec 2005
#4
2006-08-09, 05:58 PM
Doh! It does work...Yaay. I missed a ">" at the end of my line. My bad.

Sorry,

Tony
[COLOR="Navy"][SIZE="1"]AMD Athlon 64 X2 3800+, 1GB PC3200
ASUS A8N5X - nForce4 chipset
Geforce 6200TC 128MB PCIE
WinTV-PVR 500 MCE (With FM)
2 250GB SATA Seagate Barracuda's
Windows XP Pro SP2

Client: Wired Media MVP, Comcast Cable
[/SIZE][/COLOR]
Digital712
Offline

Member

Posts: 67
Threads: 16
Joined: Dec 2005
#5
2006-08-09, 06:04 PM
McBainUK Wrote:BTW, do you have any thoughts on these:
http://gbpvr.com/pmwiki/pmwiki.php/Devel...munitySkin
http://gbpvr.com/pmwiki/pmwiki.php/Devel...ySkinFiles
http://forums.nextpvr.com/showthread.php?t=17950

Right now I'm just trying to learn how all this works natively as well as brushing up on my rusty graphic skills. I wouldn't be too much help yet. But I'm a lern'n.

Thanks,

Tony
[COLOR="Navy"][SIZE="1"]AMD Athlon 64 X2 3800+, 1GB PC3200
ASUS A8N5X - nForce4 chipset
Geforce 6200TC 128MB PCIE
WinTV-PVR 500 MCE (With FM)
2 250GB SATA Seagate Barracuda's
Windows XP Pro SP2

Client: Wired Media MVP, Comcast Cable
[/SIZE][/COLOR]
Old Dog
Offline

Posting Freak

Posts: 1,083
Threads: 99
Joined: Jul 2005
#6
2006-08-09, 08:59 PM (This post was last modified: 2006-08-09, 09:33 PM by Old Dog.)
Digital712 Wrote:The theme I'm working on I'm trying to make everything as nuetral as possable so you can simply change the background to achive a fairly new look (everything is transparent)

You have already learned the correct answer to your question regarding global text styles. However, based on the sentence quoted above, I suggest you take a detailed look at Plain Jane, especially her skins, and Appearance Manager.

As an example, the attached screen-shots are from Plain Jane. Both use the same, unedited, skin.xml file, the only thing that changed is a single graphics image file. The images use transparent effects heavily.

Regards,
Old Dog
[ATTACHMENT NOT FOUND]
[ATTACHMENT NOT FOUND]
Learning new tricks!
Visit Plain Jane's Collection
Old Dog
Offline

Posting Freak

Posts: 1,083
Threads: 99
Joined: Jul 2005
#7
2006-08-09, 09:08 PM (This post was last modified: 2006-08-09, 09:26 PM by Old Dog.)
Actually, these might be better examples for your objective. The only change here is the Backgound.jpg file, one is green, the other blue.

[ATTACHMENT NOT FOUND]

[ATTACHMENT NOT FOUND]
Learning new tricks!
Visit Plain Jane's Collection
Digital712
Offline

Member

Posts: 67
Threads: 16
Joined: Dec 2005
#8
2006-08-09, 10:46 PM
I've played with it quite a bit, and for the Main menu it's Sweet... but everything else (plugins) look the same with the exception of color. Not to mention my kids would keep changing it around constantly.

Right now I'm still in the learning process and for this theme at least, I'm doing it old school so I know how it all works. I'm also trying to keep it "Lightweight" by using transparent images because we use a MVP and some themes with a lot of triple Rectangles per button, Triple Text, etc. it gets really sluggish.

Plus I'm just having fun.

Couple more shots: (I'm still debating on the text highlights)

[ATTACHMENT NOT FOUND]

[ATTACHMENT NOT FOUND]

Thanks,

Tony
[COLOR="Navy"][SIZE="1"]AMD Athlon 64 X2 3800+, 1GB PC3200
ASUS A8N5X - nForce4 chipset
Geforce 6200TC 128MB PCIE
WinTV-PVR 500 MCE (With FM)
2 250GB SATA Seagate Barracuda's
Windows XP Pro SP2

Client: Wired Media MVP, Comcast Cable
[/SIZE][/COLOR]
Old Dog
Offline

Posting Freak

Posts: 1,083
Threads: 99
Joined: Jul 2005
#9
2006-08-09, 11:08 PM
However you go about it, keep up the good work. Your skin is looking very fine and I'm sure many GBPVR users will enjoy it.

Best Regards,
Old Dog
Learning new tricks!
Visit Plain Jane's Collection
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



Possibly Related Threads…
Thread Author Replies Views Last Post
  Suppressing the Date/Time field from global.xml ACTCMS 7 3,181 2010-11-18, 01:36 AM
Last Post: ACTCMS
  ASP.NET and global variables McBainUK 3 1,862 2008-05-25, 07:38 AM
Last Post: Carlito

  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Designed by D&D, modified by NextPVR - Powered by MyBB

Linear Mode
Threaded Mode