It is currently April 25th, 2024, 4:55 pm

Faster loading of meter=image

Get help with creating, editing & fixing problems with skins
User avatar
Nilvarno
Posts: 64
Joined: March 24th, 2019, 5:52 pm

Faster loading of meter=image

Post by Nilvarno »

hello everyone, i'm making a menu skin and it uses lots of images for the frame, the buttons and images that are turned on and off by pressing buttons. now, there is always a delay before the image, any image, is displayed, it's little, but still i was hoping there might be a way to make them load faster. many images are 1920x1080, and all of them are PNG format, should i change format or this delay depends from something else? Thank you!
User avatar
balala
Rainmeter Sage
Posts: 16169
Joined: October 11th, 2010, 6:27 pm
Location: Gheorgheni, Romania

Re: Faster loading of meter=image

Post by balala »

Nilvarno wrote: March 26th, 2019, 11:11 am now, there is always a delay before the image, any image, is displayed, it's little, but still i was hoping there might be a way to make them load faster. many images are 1920x1080, and all of them are PNG format, should i change format or this delay depends from something else?
I suppose you're talking about the same menu as in your previous topic, right?
If so, there you have to add [!Redraw] bangs, whenever are you hiding / showing meters, with !HideMeter / !ShowMeter bangs. As you can see I added these bangs on every IfTrueAction / IfFalseAction / KeyDownAction option. So if you didn't add yet, just add them to every option.
If this doesn't help please post a code, for more specific help.
User avatar
Nilvarno
Posts: 64
Joined: March 24th, 2019, 5:52 pm

Re: Faster loading of meter=image

Post by Nilvarno »

Ehy, thanks again, now everything is really faster than before! You really are good at this :D
User avatar
balala
Rainmeter Sage
Posts: 16169
Joined: October 11th, 2010, 6:27 pm
Location: Gheorgheni, Romania

Re: Faster loading of meter=image

Post by balala »

Nilvarno wrote: March 26th, 2019, 2:21 pm Ehy, thanks again, now everything is really faster than before! You really are good at this :D
This means adding the !Redraw bangs helped, right?
User avatar
Nilvarno
Posts: 64
Joined: March 24th, 2019, 5:52 pm

Re: Faster loading of meter=image

Post by Nilvarno »

Yes, it's visibly faster with !Redraw
User avatar
balala
Rainmeter Sage
Posts: 16169
Joined: October 11th, 2010, 6:27 pm
Location: Gheorgheni, Romania

Re: Faster loading of meter=image

Post by balala »

Nilvarno wrote: March 26th, 2019, 4:27 pm Yes, it's visibly faster with !Redraw
Ok, I'm glad. :thumbup: