It is currently September 20th, 2019, 10:36 am

Faster loading of meter=image

Help with creating, editing & fixing problems with skins
Nilvarno
Posts: 18
Joined: March 24th, 2019, 5:52 pm

Faster loading of meter=image

Nilvarno » March 26th, 2019, 11:11 am

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: 8626
Joined: October 11th, 2010, 6:27 pm
Location: Gheorgheni, Romania

Re: Faster loading of meter=image

balala » March 26th, 2019, 1:03 pm

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.
Nilvarno
Posts: 18
Joined: March 24th, 2019, 5:52 pm

Re: Faster loading of meter=image

Nilvarno » March 26th, 2019, 2:21 pm

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

Re: Faster loading of meter=image

balala » March 26th, 2019, 2:43 pm

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?
Nilvarno
Posts: 18
Joined: March 24th, 2019, 5:52 pm

Re: Faster loading of meter=image

Nilvarno » March 26th, 2019, 4:27 pm

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

Re: Faster loading of meter=image

balala » March 26th, 2019, 6:01 pm

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