NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Developers v
« Previous 1 … 67 68 69 70 71 … 93 Next »
Skins and Opaque Images

 
  • 0 Vote(s) - 0 Average
Skins and Opaque Images
Old Dog
Offline

Posting Freak

Posts: 1,083
Threads: 99
Joined: Jul 2005
#1
2005-10-01, 04:33 PM
I'm working on a new skin...

When drawing an image, it appears translucent--some of the background shows through.

How do you draw an opaque image?
reboot
Offline

Posting Freak

Posts: 1,426
Threads: 89
Joined: Mar 2005
#2
2005-10-02, 11:01 PM
Set transparency=0
Look in the xml files, specifically in the Panels folder, and main menu. You'll see how it's implemented.
You can never have enough tuners!
Pentium Quad / 4Gb Dual Channel RAM / XPSP3 / 2 x PVR-500, PVR-250 / GB-PVR
reven
Offline

Posting Freak

Posts: 5,782
Threads: 396
Joined: Sep 2004
#3
2005-10-02, 11:44 PM
for some plugins you cant change this, the transparency is set in code.

usually the background image is solid and the foreground has 80% transparency (or 20%.....).
Old Dog
Offline

Posting Freak

Posts: 1,083
Threads: 99
Joined: Jul 2005
#4
2005-10-03, 10:42 PM
reboot Wrote:Set transparency=0
Look in the xml files, specifically in the Panels folder, and main menu. You'll see how it's implemented.

[SIZE="5"]
Hi Reboot,

Thanks for the reply. I attempted to follow your advice. The only reference I found to transparency was in the main menu xml file. In my own file I modified these transparency values as follows:
[/SIZE]
[SIZE="3"]
<SpecialElement name="Panel" panelName="Clock" visible="true" transparency="0.0" loc="460,24" size="220,70"/>
<SpecialElement name="Panel" panelName="NextRecording" visible="true" transparency="1.0" loc="382,355" size="340,70"/>
[/SIZE]

[SIZE="5"]These atrributes worked, but opposite what I expected. Minimum transparency yielded a invisible text, maximum transparency yielded opaque text.

I then applied the transparency attribute to my DrawImage tags as follows:
[/SIZE]
[SIZE="3"] <DrawImage filename="ButtonDn.png" loc="0,0" size="256,40" transparency="1.0"/>
<DrawImage filename="ButtonUp.png" loc="0,0" size="256,40" transparency="0.0"/>

[/SIZE]
[SIZE="5"]
The transparency attribute had no effect in the DrawImage tags.

Have I gone wrong?

Thanks again for your help.
David
[/SIZE]
Old Dog
Offline

Posting Freak

Posts: 1,083
Threads: 99
Joined: Jul 2005
#5
2005-10-03, 10:52 PM
reven Wrote:for some plugins you cant change this, the transparency is set in code.

usually the background image is solid and the foreground has 80% transparency (or 20%.....).

Hi Reven,

Say it ain't so!

As it is, I have to use a solid background, but users seem to like some kind of background image.

It would be nice to have a background image and be able to draw both opaque and translucent images over it.

I appreciate your reply.

Thanks,
David
Necro
Offline

Member

Posts: 84
Threads: 17
Joined: Aug 2005
#6
2005-10-03, 11:39 PM
As far as I can tell, translucent buttons have to be image based transparency (like a png).
Old Dog
Offline

Posting Freak

Posts: 1,083
Threads: 99
Joined: Jul 2005
#7
2005-10-04, 11:55 AM
Necro Wrote:As far as I can tell, translucent buttons have to be image based transparency (like a png).

Hi Necro,

Actually the problem is that all drawn images appear translucent, even JPGs. I would like to draw opaque images.

Thanks for the reply,
David
Necro
Offline

Member

Posts: 84
Threads: 17
Joined: Aug 2005
#8
2005-10-04, 01:30 PM
Ah sorry, seems I'm having the opposite problem as you. Heh...my images are translucent enough and I can't change it.
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



Possibly Related Threads…
Thread Author Replies Views Last Post
  Images in lists using a lot of memory cncb 4 3,991 2015-11-12, 12:02 AM
Last Post: sub
  Skins. Grrr. Argh. imilne 41 12,844 2011-08-20, 02:28 AM
Last Post: Northpole
  Skins - sizes of fonts and UI objects etc? bgowland 4 2,028 2011-08-12, 04:05 AM
Last Post: sub
  A list of changing images McBainUK 1 1,841 2011-06-21, 04:36 PM
Last Post: sub
  New to skins development dspdrew 1 1,321 2010-10-24, 11:22 AM
Last Post: sub
  Updating images scb147 11 4,269 2010-07-30, 06:11 PM
Last Post: scb147
  Positioning of elements in skins (...and some other questions) ShiningDragon 13 4,279 2010-07-22, 06:42 PM
Last Post: ShiningDragon
  Plugins and skins mvallevand 6 2,383 2010-01-21, 02:09 AM
Last Post: mvallevand
  Displaying images ACTCMS 6 2,433 2009-12-29, 12:37 PM
Last Post: ACTCMS
  Trying to understand skins mkenyon2 1 1,324 2009-01-05, 10:03 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