Page 1 of 1

Screenset layers improvement

PostPosted: Sat Nov 20, 2021 6:05 pm
by cseyler
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)

Re: Screenset layers improvement

PostPosted: Sat Nov 20, 2021 9:40 pm
by ger21
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.