Rack Extension graphics for panels

This forum is for developers of Rack Extensions to discuss the RE SDK, share code, and offer tips to other developers.
Post Reply
wendallsan
Posts: 45
Joined: 10 Dec 2017

04 Jul 2021

Hi all, do you static_decoration widgets for everything on your panels that's not a knob, slider, button, etc, or do you just use a panel image with all that 'static' stuff (labels, logos, screws, power cords, etc) baked into the image you use for your panel background? I took the 2nd approach with my extension because I'm a Photoshop nerd, but wanted to know if this is discouraged or otherwise "not the way."

User avatar
pongasoft
RE Developer
Posts: 484
Joined: 21 Apr 2016
Location: Las Vegas
Contact:

05 Jul 2021

I think the recommended approach is to use as few static_decoration as possible. Every single one of them will have to be drawn separately on top of the background panel which obviously will require much more resources than a single background panel image.

User avatar
ekss
RE Developer
Posts: 585
Joined: 09 Nov 2015
Location: Stockholm
Contact:

05 Jul 2021

I use as few static decorations as possible.

User avatar
rcbuse
RE Developer
Posts: 1184
Joined: 16 Jan 2015
Location: SR388
Contact:

05 Jul 2021

The only time I ever use static_decoration is if I need to turn a graphic on and off programmatically via visibility_switch or overlay with alpha on top of custom displays via blend_mode = "normal"

wendallsan
Posts: 45
Joined: 10 Dec 2017

06 Jul 2021

Thanks all, this means I don't need to needlessly rebuild all of my panel designs!

Post Reply
  • Information
  • Who is online

    Users browsing this forum: No registered users and 1 guest