NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Developers v
« Previous 1 … 46 47 48 49 50 … 93 Next »
CommunitySkin common text styles

 
  • 0 Vote(s) - 0 Average
CommunitySkin common text styles
Fatman_do
Offline

Posting Freak

Posts: 3,482
Threads: 95
Joined: Nov 2005
#11
2006-08-25, 04:51 PM
MixMan Wrote:I suggest
CommunitySkin_Button_Text_Normal and CommunitySkin_Button_Text_Selected

the same goes for the List views
CommunitySkin_ListView_Text_Normal
CommunitySkin_ListView_Text_Selected

etc...

Why not complicate things as much as possible when your at it.

Please, if you don't wish to be part of the process anymore, don't mock the process.

If you wish to be part of the process, then by all means offer suggestions instead of criticism.

That is all that I ask.

Nobody has to agree with everything presented, lets try to keep it constructive. Even in the form of constructive critisism is acceptible.
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]
Fatman_do
Offline

Posting Freak

Posts: 3,482
Threads: 95
Joined: Nov 2005
#12
2006-08-25, 06:54 PM
I guess I didn't see all the posts between when I was typing my reply and McBainUK was editing the wiki and posts.

My initial thoughts are that

TextBackgroundText
TextBackgroundTextLarge
TextBackgroundTagText
TextBackgroundTagTextLarge

would be redundant to these styles:

ScreenBackgroundText
ScreenBackgroundTextLarge
ScreenBackgroundTagText
ScreenBackgroundTagTextLarge

If it turns out that these are redundant, then they could be simplified to:
ScreenTag
ScreenTagLarge
ScreenText
ScreenTextLarge

It does reduce the number of styles.

For drawing text on the screen in various "open" areas where a background image would not be possible to help with contrast, the idea to draw "text with outline" sounds like a decent alternative.

In 98+, the baseskin.xml can pass along colors to the outline and fill. You would still get consistant fonts and sizes, just there is the potential to add contrast in areas that might benefit from them.

The baseskin.xml could define "ScreenTextFill" "ScreenTextBorder" "ScreenTagFill" and "ScreenTagBorder" colors. Then one only needs to change those colors.
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
#13
2006-08-25, 07:54 PM
Hmm, they do sound redundent. My thoughts behind is that, on the whole, all text is written on top of an image. Since the idea of common text colors is to provide a good level of contrast and readability, I thought it best to have a text style (or set of text styles) for every place text could be drawn.

Example: black Background.jpg, white TextBackground.png. What text colour would you choose for 'ScreenText' to make it readable in both situations? If you could use white for text written on the Background.jpg (ScreenBackgroundText), and black text for the TextBackground.png.

Quote:For drawing text on the screen in various "open" areas where a background image would not be possible to help with contrast, the idea to draw "text with outline" sounds like a decent alternative.

In 98+, the baseskin.xml can pass along colors to the outline and fill. You would still get consistant fonts and sizes, just there is the potential to add contrast in areas that might benefit from them.

The baseskin.xml could define "ScreenTextFill" "ScreenTextBorder" "ScreenTagFill" and "ScreenTagBorder" colors. Then one only needs to change those colors.
This sounds good, but confused as to the machanices of it. Are you saying you could use <DrawTextWithOutline> when you think the background image may reduce text contrast? If there where guidelines for its use to make it consistnant then, yes good idea & technique.

Quote:The baseskin.xml could define "ScreenTextFill" "ScreenTextBorder" "ScreenTagFill" and "ScreenTagBorder" colors. Then one only needs to change those colors.
Would these be global? Ie would every <DrawTextWithOutLine> use this?
Wiki profile
My Projects
Programs Plugin [SIZE=2](retired)
| Volume OSD Plugin (retired) | Documentation Wiki (retired)
[/SIZE]
McBainUK
Offline

Posting Freak

Posts: 4,711
Threads: 429
Joined: Sep 2005
#14
2006-08-25, 07:58 PM
Like with the development of the CommonImages, it's maybe a good idea to see how the CommonTextStyles work in practice. Possibly pick a spread of example plugins, and see if the combination of CommonImages and range of textstyles work out.
Wiki profile
My Projects
Programs Plugin [SIZE=2](retired)
| Volume OSD Plugin (retired) | Documentation Wiki (retired)
[/SIZE]
Fatman_do
Offline

Posting Freak

Posts: 3,482
Threads: 95
Joined: Nov 2005
#15
2006-08-25, 08:15 PM
McBainUK Wrote:Like with the development of the CommonImages, it's maybe a good idea to see how the CommonTextStyles work in practice. Possibly pick a spread of example plugins, and see if the combination of CommonImages and range of textstyles work out.

Did you get the copy of the Gmail 98+ test xml I sent you. It sort of has some of that set up in it already. We can pick a more common plugin to work off of like Net Radio or something to keep it in just one plugin for now.
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]
Fatman_do
Offline

Posting Freak

Posts: 3,482
Threads: 95
Joined: Nov 2005
#16
2006-08-25, 08:29 PM
McBainUK Wrote:Hmm, they do sound redundent. My thoughts behind is that, on the whole, all text is written on top of an image. Since the idea of common text colors is to provide a good level of contrast and readability, I thought it best to have a text style (or set of text styles) for every place text could be drawn.

Example: black Background.jpg, white TextBackground.png. What text colour would you choose for 'ScreenText' to make it readable in both situations? If you could use white for text written on the Background.jpg (ScreenBackgroundText), and black text for the TextBackground.png.

Valid statement.

McBainUK Wrote:This sounds good, but confused as to the machanices of it. Are you saying you could use <DrawTextWithOutline> when you think the background image may reduce text contrast? If there where guidelines for its use to make it consistnant then, yes good idea & technique.

Ok, lets say you know you are placing text on a Background_Text.png.
You would use the ScreenText (White in this example on a black image)
If you are placing it in an area on the screen that is in the zone of where the Title_Bar.png or any other open spot on Background.jpg, you would use DrawTextWithOutline using the ScreenText textstyle.

Lets assume a bright sunny background. White wouldn't cut it here. By using outlined text, the outline can be set to black. That might provide enough contrast. But, if not, you can cheat and change the fill color to a better color. By being able to assign a different color to the fill color than what the textstyle defines, you end up with two different colors possible with the same style. If you wanted no visible outline, you could match the outline color to the fill color.



McBainUK Wrote:Would these be global? Ie would every <DrawTextWithOutLine> use this?

No, this wouldn't be global for all DrawTextWithOutline's
Just for text that would have the potential to be drawn on a "naked" screen.

I might not have time for a day or two to whip up a demo.
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
#17
2006-08-25, 08:51 PM
Fatman_do Wrote:Ok, lets say you know you are placing text on a Background_Text.png.
You would use the ScreenText (White in this example on a black image)
If you are placing it in an area on the screen that is in the zone of where the Title_Bar.png or any other open spot on Background.jpg, you would use DrawTextWithOutline using the ScreenText textstyle.
So the rule is "if drawing text directly on to background/title bar use <DrawTextWithOutLine>" ?

Fatman_do Wrote:I might not have time for a day or two to whip up a demo.
It's good to go away and think about things anyway. Always helps with my coding.
May I suggest using the <PreviewImage#> in SkinPlugin to make a demo with. By changing the textStyle pointers to locally named textstlyes you can knock up a quick preview, which covers a range of screens. This way avoids messing with baseskin (just for now while testing).

Enjoy the weekend. Its a bank holiday in the UK so I get Monday off too Smile
Wiki profile
My Projects
Programs Plugin [SIZE=2](retired)
| Volume OSD Plugin (retired) | Documentation Wiki (retired)
[/SIZE]
MixMan
Offline

Posting Freak

Posts: 1,239
Threads: 100
Joined: Oct 2005
#18
2006-08-25, 09:23 PM
Fatman_do Wrote:Please, if you don't wish to be part of the process anymore, don't mock the process.

If you wish to be part of the process, then by all means offer suggestions instead of criticism.

That is all that I ask.

Nobody has to agree with everything presented, lets try to keep it constructive. Even in the form of constructive critisism is acceptible.

Sorry to say that what you to are doing is pure stupidity in mye eyes.
I wouldn't call it a creative process. This has gone to far.... in the "creative process". What is so important with new names for textstyles, that discarding the "standard" Sub has set is thrown out te window.
I will not support these textstyles for CommonImages.
Sorry guys
Best Regards
MixMan
[SIZE="1"]
Antec Fusion case with Gigabyte GA-MA78GM-SH, AMD X2 4850e, 2GB RAM, AMD780G Onboard graphics. WinTV-PVR 150 MCE (With FM), Twinhan DVB-T, 750GB + 250GB HDD. Windows XP Pro SP3, MCE 2005 Remote, 29" 4:3 monitor and a 47" Philips 9603H LCD[/SIZE]
McBainUK
Offline

Posting Freak

Posts: 4,711
Threads: 429
Joined: Sep 2005
#19
2006-08-25, 10:31 PM
Every skin sets its own names and image files, the community skin also.

Quote:discarding the "standard" Sub
I would call it 'expanding' on it, just like you expanded on the baseskin.xml idea for your advisor skin system.
Wiki profile
My Projects
Programs Plugin [SIZE=2](retired)
| Volume OSD Plugin (retired) | Documentation Wiki (retired)
[/SIZE]
Fatman_do
Offline

Posting Freak

Posts: 3,482
Threads: 95
Joined: Nov 2005
#20
2006-08-26, 04:09 AM
McBainUK Wrote:I would call it 'expanding' on it, just like you expanded on the baseskin.xml idea for your advisor skin system.

"Pure stupididy" I find that comment insulting and not constructive to any conversation or creative effort.

That is what I don't get. If it is such a bad idea, why do you do it MixMan?
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]
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (4): « Previous 1 2 3 4 Next »


Possibly Related Threads…
Thread Author Replies Views Last Post
  Common Repository Plugin? steeb 24 6,560 2011-07-24, 11:54 PM
Last Post: steeb
  Determining text size and available space Ommina 2 1,659 2010-03-15, 05:34 AM
Last Post: sub
  INI, Text File Reader... zehd 68 16,808 2009-02-25, 05:12 AM
Last Post: whurlston
  CommunitySkin 4 Open development thread. Fatman_do 110 24,513 2008-12-14, 09:04 PM
Last Post: McBainUK
  Common Music/Video Inset? reven 9 4,298 2008-12-09, 03:16 AM
Last Post: JavaWiz
  Why so many Common Libraries? MixMan 51 16,595 2008-11-30, 03:19 PM
Last Post: McBainUK
  SkinPlugin/CommunitySkin wishlist. Fatman_do 27 6,816 2008-04-05, 02:57 PM
Last Post: McBainUK
  Common Recording Dialog? JavaWiz 3 1,453 2007-02-07, 04:11 AM
Last Post: JavaWiz
  Common Images Plugins Skins & Community Skin Project MixMan 98 21,098 2006-08-24, 01:51 PM
Last Post: MixMan
  Questions about Text Fatman_do 2 1,790 2006-07-19, 08:57 PM
Last Post: Fatman_do

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

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

Linear Mode
Threaded Mode