NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Developers v
« Previous 1 … 38 39 40 41 42 … 93 Next »
drawtext with < character

 
  • 0 Vote(s) - 0 Average
drawtext with < character
pastro
Offline

Posting Freak

Posts: 1,885
Threads: 128
Joined: Jul 2006
#1
2007-10-22, 03:41 AM
I want to write out |<< using the DrawText (text="|<<" but I get an error when I try since it is not a valid character. Is there an escape sequence that I can use to allow this sequence?
GBpvr PC: Intel Celeron 1.8 Ghz. 768 Mb WinXp Home Sp2
Video: Diamond 128 Mb 9550
Capture Cards: PVR-150 & PVR-150 MCE w/fm + 2x MVP
Author of: BurnDVDX2 and Skiptool
whurlston
Offline

Posting Freak

Posts: 7,885
Threads: 102
Joined: Nov 2006
#2
2007-10-22, 03:43 AM
try: DrawText(text="\|\<\<" or DrawText(text="|\<\<"

Edit: you could use DrawText(text=@"|<<" as well
pastro
Offline

Posting Freak

Posts: 1,885
Threads: 128
Joined: Jul 2006
#3
2007-10-22, 03:51 AM (This post was last modified: 2007-10-22, 04:01 AM by pastro.)
whurlston Wrote:try: DrawText(text="\|\<\<" or DrawText(text="|\<\<"

Edit: you could use DrawText(text=@"|<<" as well

I had tried the first and it didn't work.
I tried the others and they all cause an illegal character exception.
Have you used those with skinhelper2?

I also tried text="&lt" but that errored too.
GBpvr PC: Intel Celeron 1.8 Ghz. 768 Mb WinXp Home Sp2
Video: Diamond 128 Mb 9550
Capture Cards: PVR-150 & PVR-150 MCE w/fm + 2x MVP
Author of: BurnDVDX2 and Skiptool
whurlston
Offline

Posting Freak

Posts: 7,885
Threads: 102
Joined: Nov 2006
#4
2007-10-22, 05:16 AM
Are you refering to System.Windows.Forms.TextRenderer.DrawText() or the <DrawText> element in a skin.xml?

If you mean the skin.xml element then your bad character is probably the "(". It should be:

DrawText text="|<<"

I'll play around...
pastro
Offline

Posting Freak

Posts: 1,885
Threads: 128
Joined: Jul 2006
#5
2007-10-22, 05:23 AM
whurlston Wrote:Are you refering to System.Windows.Forms.TextRenderer.DrawText() or the <DrawText> element in a skin.xml?

If you mean the skin.xml element then your bad character is probably the "(". It should be:

DrawText text="|<<"

I'll play around...

I am referring to the <DrawText> element in a skin.xml file using skinhelper2.
Thanks for looking at this.
GBpvr PC: Intel Celeron 1.8 Ghz. 768 Mb WinXp Home Sp2
Video: Diamond 128 Mb 9550
Capture Cards: PVR-150 & PVR-150 MCE w/fm + 2x MVP
Author of: BurnDVDX2 and Skiptool
whurlston
Offline

Posting Freak

Posts: 7,885
Threads: 102
Joined: Nov 2006
#6
2007-10-22, 05:26 AM
I saw the problem. You missed a semicolon. try text="&lt;"

It worked for me.
pastro
Offline

Posting Freak

Posts: 1,885
Threads: 128
Joined: Jul 2006
#7
2007-10-22, 05:42 AM
Thanks Whurlston, the semicolon did the trick. Appreciate the help.
GBpvr PC: Intel Celeron 1.8 Ghz. 768 Mb WinXp Home Sp2
Video: Diamond 128 Mb 9550
Capture Cards: PVR-150 & PVR-150 MCE w/fm + 2x MVP
Author of: BurnDVDX2 and Skiptool
whurlston
Offline

Posting Freak

Posts: 7,885
Threads: 102
Joined: Nov 2006
#8
2007-10-22, 05:59 AM
No prob. Smile
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



Possibly Related Threads…
Thread Author Replies Views Last Post
  Working with Character sets... zehd 7 2,727 2007-05-07, 11:56 AM
Last Post: MixMan
  <DrawText> vertical alignment support? McBainUK 5 2,765 2006-08-26, 11:24 PM
Last Post: sub
  Dynamic DrawText in skin vs. DrawString in code Spartan 7 2,441 2005-10-13, 07:06 PM
Last Post: psycik

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

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

Linear Mode
Threaded Mode