Connexion rapide:  

Forum: Wishes and new features

Sujet Custom button pop up screen
I'm using a modified version of Blocks to give me 64 custom buttons to control my moving heads by DMX and also a few other custom features. Problem is that the buttons are quite small especially on smaller screens.

Just wondered if it would be possible to develop a pop up screen for the buttons (similar to the extended browser) so they could appear larger then shrink again when not needed?

Thanks!

 

Posté Sat 18 Jun 22 @ 7:08 am
Sure...
Just wrap everything inside a <window /> element.

<window name="MyDMXPanel" width="800" height="600" posx="240" posy="100" shown="true" >
.... (your custom buttons and stuff)
</window>

Then you can use
show_window 'MyDMXPanel' in a custom button on the main skin to show/hide the window


 

Posté Sat 18 Jun 22 @ 11:52 am
Brilliant, thanks George.

Do I paste in the custom button section from the settings.xml or the section from the Blocks skin.xml?
 

Posté Sat 18 Jun 22 @ 2:25 pm
From the skin.
Something like <button class=mybutyon" action="custom_button 10" .../> e.t.c.
 

Posté Sat 18 Jun 22 @ 3:02 pm
Thanks George.

I'm struggling to find the code to paste from the skin .... tried various sections but the pop up contains nothing.

Sent you a PM.

Keith
 

Posté Sat 18 Jun 22 @ 5:24 pm
All sorted now thanks to George (Phantomdeejay)

Means I can use custom buttons on the GPD Pocket without a magnifying glass :)

 

Posté Sun 26 Jun 22 @ 11:01 am