NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Developers v
« Previous 1 … 36 37 38 39 40 … 93 Next »
UIStatic update

 
  • 0 Vote(s) - 0 Average
UIStatic update
idkpmiller
Offline

Posting Freak

Posts: 817
Threads: 141
Joined: May 2006
#1
2008-01-09, 11:21 PM
Hi,

If I want to update the image being diplayed using UIStatic what is the proceedure?

It would seem changing the args and rendering doesnt do it, is there something I must clear before I can change the image again.

Cheers
Let the Games begin...Round 2!
GameZone v2.9.6 - PVRx2 1.4.7 compatible!

[Image: 1299379.png]
psycik
Offline

Posting Freak

Posts: 5,210
Threads: 424
Joined: Sep 2005
#2
2008-01-09, 11:44 PM
I think I ended up re-creating the UIStatic element again to do that.
sub
Online

Administrator

NextPVR HQ, New Zealand
Posts: 106,716
Threads: 767
Joined: Nov 2003
#3
2008-01-10, 12:55 AM
idkpmiller Wrote:Hi,

If I want to update the image being diplayed using UIStatic what is the proceedure?

It would seem changing the args and rendering doesnt do it, is there something I must clear before I can change the image again.

Cheers
To determine if something is changed it does a hash of all the string arguments. If the hash is different to the last hash then it is updated. It doesnt hash image data since this would be too slow, but you can easily add an additional string argument with 'last image load time' or similar and this will be enough to let the UiStatic know that any images may have changed since the image was last drawn.
idkpmiller
Offline

Posting Freak

Posts: 817
Threads: 141
Joined: May 2006
#4
2008-01-10, 02:35 AM
Like the solution :-)
Let the Games begin...Round 2!
GameZone v2.9.6 - PVRx2 1.4.7 compatible!

[Image: 1299379.png]
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



Possibly Related Threads…
Thread Author Replies Views Last Post
  EPG update API mvallevand 2 1,453 2020-12-02, 01:17 AM
Last Post: mvallevand
  Update Season and Episode from EPG_EVENT puck64 0 2,813 2015-08-31, 07:37 AM
Last Post: puck64
  Refreshing TV Guide Data (after System plugin EPG update) imilne 13 6,137 2013-03-24, 08:03 PM
Last Post: imilne
  UiStatic vs UiElement? imilne 8 3,402 2012-12-24, 02:31 PM
Last Post: imilne
  Update NewSyleListPlugin Button list dynamically? psycik 2 1,749 2011-12-22, 12:25 AM
Last Post: mvallevand
  Problem using UIStatic philcooling 13 4,394 2010-02-12, 06:34 PM
Last Post: whurlston
  Force full screen update mvallevand 3 2,133 2010-01-14, 05:11 PM
Last Post: mvallevand
  Automatic Update for BDA Channel Mappings Joesboat 10 5,471 2010-01-10, 08:14 PM
Last Post: PaulH
  Drawing UiStatic mvallevand 4 2,239 2009-09-02, 10:06 PM
Last Post: mvallevand
  Using C#: Update EPG and wait for end dero 12 5,489 2008-12-10, 12:37 PM
Last Post: Sheik Yerbouti

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

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

Linear Mode
Threaded Mode