NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Developers v
« Previous 1 … 65 66 67 68 69 … 93 Next »
GBPVR.Public.SkinHelper.getNamedImageElementRect

 
  • 0 Vote(s) - 0 Average
GBPVR.Public.SkinHelper.getNamedImageElementRect
psycik
Offline

Posting Freak

Posts: 5,210
Threads: 424
Joined: Sep 2005
#1
2005-10-27, 08:36 PM
Hi

Anyone know how to use this, and what it's expected to get??


Code:
<CompositeImage name="Progress" size="450,280">
    <DrawRoundedRect loc="210,150" size="200,20" radius="2" borderWidth="4" borderColor="White" fillColor="Transparent"/>
</CompositeImage>

I'm hoping it will get the parameters of the DrawRoundedRect inside this composite image. If so, what method call do I use. I tried:

Code:
skinHelper.getNamedImageElementRect("Progress","DrawRoundedRect");

But that doesn't seem to do it. I guess I just need to know what the "string element" name is.
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,671
Threads: 767
Joined: Nov 2003
#2
2005-10-27, 08:50 PM
Its looking for something like:

Code:
<CompositeImage name="Progress" size="450,280">
    .... some statements drawing text, rounded rects etc...
    <Element name="timeline" loc="100,100", size="300,20"/>
</CompositeImage>

Rectangle rect= skinHelper.getNamedImageElementRect("Progress","timeline");
psycik
Offline

Posting Freak

Posts: 5,210
Threads: 424
Joined: Sep 2005
#3
2005-10-27, 09:11 PM
Cool, I can make that work. Thanks sub
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



Possibly Related Threads…
Thread Author Replies Views Last Post
  TitanTv Remote Schedule For GBPVR UncleJohnsBand 51 33,479 2015-08-20, 05:11 PM
Last Post: sub
  NEWA - using buffer file produced by /public/VLCService?Channel= bgowland 5 2,783 2014-01-02, 06:36 AM
Last Post: bgowland
  Roku & GBPVR pvruser 16 11,479 2011-10-16, 08:31 PM
Last Post: pvruser
  (Yet Another) Rename Helper script for GBPVR & NPVR pvruser 2 2,698 2011-07-22, 01:27 AM
Last Post: pvruser
  SkinHelper fall back to Default ACTCMS 4 1,953 2010-10-31, 03:03 PM
Last Post: ACTCMS
  Live GBPVR CD/DVD/Thumb drive :D pBS 101 28,267 2010-01-03, 06:22 AM
Last Post: pBS
  some help on basic gbpvr plugin code Etacovda 12 4,607 2009-06-14, 08:24 PM
Last Post: Etacovda
  Linking gbpvr.db3 to Access 2003: get readonly tables Khurram 5 3,905 2008-09-11, 08:35 AM
Last Post: Khurram
  UAC and Vista with GBPVR systemshark 2 1,919 2008-08-03, 07:20 AM
Last Post: systemshark
  Controlling an Audio Receiver with the GBPVR remote erik 7 2,664 2008-06-01, 08:31 PM
Last Post: erik

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

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

Linear Mode
Threaded Mode