Page 1 of 1

[SOLVED]Any way to overlay a control page with another?

PostPosted: Sat Dec 14, 2013 3:39 pm
by hwitten
I'd like to do a control page that is actually a Remote for TV, etc.
Instead of sliding to a new page it would be nice to overlay instead.
Possible?

The Remote would be made up with Actions using iRed2.

Re: Any way to overlay a control page with another? I.e. pop

PostPosted: Sat Dec 14, 2013 11:49 pm
by hwitten
Working around it for now. Snapped a shot of screen, added a layer and used that as background for remote page.

myremote.png
myremote.png (281.17 KiB) Viewed 3149 times

Creating a custom Popup UI

PostPosted: Thu Sep 17, 2015 6:01 am
by ncwes
I am looking for something similar. I would like to create a popup UI similar to the HVAC control that would get invoked by touching. I know there is probably a better place for this post but I can't seem to locate it. I have a floor plan which has some rooms that are simply hard to control based on the object size without zooming in. My thought would be to show the status on this page and by tapping a region bring up a set of buttons for controlling the devices in that room.

Re: [SOLVED]Any way to overlay a control page with another?

PostPosted: Thu Sep 17, 2015 7:58 am
by DaveL17
Not as such, but what I've done is create a new page with a background image that's a screen grab of the "parent" page that has been darkened. Then add your controls to the new "child" page. It gives the appearance of being a pop up without actually being one.

Hope that makes sense.

Dave

Re: [SOLVED]Any way to overlay a control page with another?

PostPosted: Thu Sep 17, 2015 8:26 am
by RogueProeliator
Instead of sliding to a new page it would be nice to overlay instead.
Possible?

Possible if you are willing to go to Android... :-) Barring that you do kind of have to "fake" it like Dave said, or can try to trick it by using a variable flag and the image heuristics to basically make the control "disappear" when the variable is set to False/0/whatever you choose. If you want to go this route, you would create a series of images such as:

TVSelect+.png
TVSelect+true.png <- the real image you want shown
TVSelect+false.png <- a transparent 1x1 image to "hide" it.

Then set it to display based on a variable that you toggle true/false such as "ShowTVRemote" or whatever. Unfortunately this gets very clunky when a bunch of elements are involved. If your remote will be complex at all, might try Dave's suggestion to make it appear as a popover when in reality it is an illusion.

Adam

Re: [SOLVED]Any way to overlay a control page with another?

PostPosted: Thu Sep 17, 2015 9:46 am
by durosity
On a side note to this as has been requested on a few other threads before.. +1 on having real customisable popups/frames support in the control page editor. it'd make these kinda functions so much easier :D

Re: [SOLVED]Any way to overlay a control page with another?

PostPosted: Thu Sep 17, 2015 5:10 pm
by CraigM
durosity wrote:
On a side note to this as has been requested on a few other threads before.. +1 on having real customisable popups/frames support in the control page editor. it'd make these kinda functions so much easier :D


+1