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

Posted on
Sat Dec 14, 2013 3:39 pm
hwitten offline
Posts: 627
Joined: Dec 26, 2007
Location: British Columbia

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

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.

Posted on
Sat Dec 14, 2013 11:49 pm
hwitten offline
Posts: 627
Joined: Dec 26, 2007
Location: British Columbia

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

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 3139 times

Posted on
Thu Sep 17, 2015 6:01 am
ncwes offline
Posts: 6
Joined: Aug 28, 2012

Creating a custom Popup UI

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.

Posted on
Thu Sep 17, 2015 7:58 am
DaveL17 offline
User avatar
Posts: 6753
Joined: Aug 20, 2013
Location: Chicago, IL, USA

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

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

I came here to drink milk and kick ass....and I've just finished my milk.

[My Plugins] - [My Forums]

Posted on
Thu Sep 17, 2015 8:26 am
RogueProeliator offline
User avatar
Posts: 2501
Joined: Nov 13, 2012
Location: Baton Rouge, LA

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

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

Posted on
Thu Sep 17, 2015 9:46 am
durosity offline
User avatar
Posts: 4320
Joined: May 10, 2012
Location: Newcastle Upon Tyne, Ye Ol' England.

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

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

Computer says no.

Posted on
Thu Sep 17, 2015 5:10 pm
CraigM offline
Posts: 586
Joined: Oct 28, 2007

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

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

Page 1 of 1

Who is online

Users browsing this forum: No registered users and 0 guests