- Messages
- 10,142
- Country
Hey all,
So... I was hoping I could figure this out myself.. but not getting anywhere.
I have a LCD screen. I have multiple pages. I wish to have each page 'slide' into view, like an Android App or iOS app, where the pages slide into view from the outside edge.
It works like this:
* Page A is 'always active' background
* Click page B screen click zone
* Page B slides out from far right, sliding left into center of screen.
* Click page C click zone and page B slides left, out of sight, and page C slides from 'right' side (not left) into view, centering on screen.
* * * Timer system that keeps the pages visible for 6 seconds
So I need a page enum system for pages to show up. (Done.. )
I need a 'trolly system' that brings the pages out from the edges;
* * Trolly page B Open (Macros?) (slides page into view)
* * Trolly page B Close (slides page out)
* * Trolly page C Open (slides page into view)
* * Trolly page C Close (slides page out)
etc, etc, up to say page J or M...
*** and not to forget the timer system
When page is turned off and a new page is brought into view, the page turning off is 'slide the screen out of view and then off' and the new screen is brought in.
Then there is the timer... for the screen to be active only for say 6 seconds, then it reverts back to primary screen page A, unless you tap it, work a gauge, click the screen, or its a special screen that doesnt need a timer.
How in the world would one write the trolly code?
Lets say, this is page B...
<Element>
<Visible>(L:SyrosOS_Page,enum) 1 ==</Visible>
<Position X="0" Y="0"/>
<Image Name="ScreenBackgroundTESTPAGETHREE.bmp"/>
</Element>
I need to also bring this into a sliding gauge element, like a horizontal dial gauge code, with adjustable speed of animation. So the part shows up (first), then slides into view (second) and timer begins running and page disappears at 6 second mark (third) or holds position if no timer is set for that particular page (such as the NAV page).
I am using 1024 x 1024 as the $pan sheet size. The gauge size is 1500,681. Thats the resolution I want. So I have start point of the trolly at X=1500 and stop point as X=0. Then when either the timer goes off, or another page is selected, the trolly then goes to point X=-1500 (negative 1500, to slide out of view)
These would have an animation speed as well.
So probably a draft would be;
Element
<enum,Page B> turn on
Element
Trolly page B to X=1500 to X=0
Turn on timer
/Element
/Element
Then how to turn off the active window...? Send the trolly to left stage and shut down that page enum.
Its not an easy one... Any thoughts?
I was thinking it would be cool if you could swipe left and swipe right to move through the gauge screens. This is a 2D gauge that represents a glass LCD screen with TTF touch screen interaction, so its all touch screen controls.
Bill
LHC
So... I was hoping I could figure this out myself.. but not getting anywhere.
I have a LCD screen. I have multiple pages. I wish to have each page 'slide' into view, like an Android App or iOS app, where the pages slide into view from the outside edge.
It works like this:
* Page A is 'always active' background
* Click page B screen click zone
* Page B slides out from far right, sliding left into center of screen.
* Click page C click zone and page B slides left, out of sight, and page C slides from 'right' side (not left) into view, centering on screen.
* * * Timer system that keeps the pages visible for 6 seconds
So I need a page enum system for pages to show up. (Done.. )
I need a 'trolly system' that brings the pages out from the edges;
* * Trolly page B Open (Macros?) (slides page into view)
* * Trolly page B Close (slides page out)
* * Trolly page C Open (slides page into view)
* * Trolly page C Close (slides page out)
etc, etc, up to say page J or M...
*** and not to forget the timer system
When page is turned off and a new page is brought into view, the page turning off is 'slide the screen out of view and then off' and the new screen is brought in.
Then there is the timer... for the screen to be active only for say 6 seconds, then it reverts back to primary screen page A, unless you tap it, work a gauge, click the screen, or its a special screen that doesnt need a timer.
How in the world would one write the trolly code?
Lets say, this is page B...
<Element>
<Visible>(L:SyrosOS_Page,enum) 1 ==</Visible>
<Position X="0" Y="0"/>
<Image Name="ScreenBackgroundTESTPAGETHREE.bmp"/>
</Element>
I need to also bring this into a sliding gauge element, like a horizontal dial gauge code, with adjustable speed of animation. So the part shows up (first), then slides into view (second) and timer begins running and page disappears at 6 second mark (third) or holds position if no timer is set for that particular page (such as the NAV page).
I am using 1024 x 1024 as the $pan sheet size. The gauge size is 1500,681. Thats the resolution I want. So I have start point of the trolly at X=1500 and stop point as X=0. Then when either the timer goes off, or another page is selected, the trolly then goes to point X=-1500 (negative 1500, to slide out of view)
These would have an animation speed as well.
So probably a draft would be;
Element
<enum,Page B> turn on
Element
Trolly page B to X=1500 to X=0
Turn on timer
/Element
/Element
Then how to turn off the active window...? Send the trolly to left stage and shut down that page enum.
Its not an easy one... Any thoughts?
I was thinking it would be cool if you could swipe left and swipe right to move through the gauge screens. This is a 2D gauge that represents a glass LCD screen with TTF touch screen interaction, so its all touch screen controls.
Bill
LHC
Last edited: