NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Developers v
« Previous 1 … 17 18 19 20 21 … 93 Next »
Actual size of inner element in NPVR

 
  • 0 Vote(s) - 0 Average
Actual size of inner element in NPVR
scb147
Offline

Posting Freak

Posts: 806
Threads: 77
Joined: Nov 2006
#1
2010-11-02, 06:13 PM
If I have the following in my skin.xml file:
Code:
<Element name="AlertTextBoxNormal" location="01,01" size="98,98" alpha="175">
  <Text text="@text" location="00,00" size="50,50" font="ForecastDetails" align="Left" valign="Top" />
</Element>

How do I get the actual rectangle element for the "@text" element? Using:
Code:
skinHelper.GetActualElementRectangle("AlertTextBoxNormal")
I can get that element, but I'm not sure how to get the inner element size.

Thanks.
Author of Weather (NPVR) & Weather2 (GBPVR)
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,677
Threads: 767
Joined: Nov 2003
#2
2010-11-02, 06:27 PM
Sorry but there is no API that provides this info. I can try to add something in future though.
scb147
Offline

Posting Freak

Posts: 806
Threads: 77
Joined: Nov 2006
#3
2010-11-02, 06:40 PM
OK... I'm trying to port over JavaWiz's WizUiTextBox class from GBPVR into NPVR, and it's a lot more difficult than I thought it would be. It's too bad you don't have time to implement one Big Grin
Author of Weather (NPVR) & Weather2 (GBPVR)
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



Possibly Related Threads…
Thread Author Replies Views Last Post
  Way to tell programmatically if channel load in from NPVR has finished... gdogg371 3 2,363 2021-03-11, 03:59 PM
Last Post: mvallevand
  Plugins and NPVR. Where do we start? sub 80 68,528 2020-11-26, 10:02 PM
Last Post: mandai
  Test/Development environment for npvr.db3 scJohn 10 4,294 2020-09-04, 09:14 PM
Last Post: scJohn
  How to extract M3U8 and get matching XMLTV guide data from NPVR almightyj 0 3,420 2018-10-23, 07:24 AM
Last Post: almightyj
  ios app to control npvr ui idea jnbooker15 4 3,582 2015-09-21, 10:19 PM
Last Post: sub
  ios app to control npvr ui idea jnbooker15 0 2,461 2015-09-21, 06:39 PM
Last Post: jnbooker15
  Couple of questions about hacking npvr.db3 drmargarit 6 4,239 2014-09-08, 02:22 AM
Last Post: sub
  Possible to have another element in details-single.xml Northpole 2 2,206 2014-07-11, 09:51 PM
Last Post: Northpole
  high res (256x256+) npvr icon? reven 15 5,824 2013-09-01, 05:13 AM
Last Post: psycik
  trying to fake npvr database for unit tests reven 3 2,253 2013-05-20, 08:53 AM
Last Post: reven

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

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

Linear Mode
Threaded Mode