Screenset layers improvement

Here is where you can request new features or special features.

Screenset layers improvement

Postby cseyler » Sat Nov 20, 2021 6:05 pm

I would like to get some improvements on the screenset layering system:

This is the interface I suggest

/* this function allows to create a layer attached to a parent layer, independant of any tab mechanism */
void Addlayer(int layerId, int parentLayerID)

/* This function enables a specific layer and displays its optional background and all children items (buttons, leds, fields,...). The layer is rendered on top of the parent layer */
void showLayer(int layerId);

/* this function disables a specific layer and hides its optional background and all its children items */
void hideLayer(int LayerID);


Second thing:

Adding a special layer (for example, the layer 0). This layer represents a layer on top of all others layers, providing a way to create popup boxes, dialog box, .... using the same kind of controls (field, buttons, leds, ....) (to preserve the same look of the screenset instead of a winform)
cseyler
 
Posts: 71
Joined: Tue May 25, 2021 11:27 am

Re: Screenset layers improvement

Postby ger21 » Sat Nov 20, 2021 9:40 pm

Adding a special layer (for example, the layer 0). This layer represents a layer on top of all others layers


I just checked. If you place something on Layer 1, it stays on top of all other layers. At least a button does.
Gerry
UCCNC 2022 Screenset - http://www.thecncwoodworker.com/2022.html
ger21
 
Posts: 2714
Joined: Sat Sep 03, 2016 2:17 am


Return to Feature Request

Who is online

Users browsing this forum: No registered users and 6 guests

cron