xboxscene.org forums

Author Topic: Rotating Info Field?  (Read 42 times)

BenJeremy

  • Archived User
  • Hero Member
  • *
  • Posts: 5645
Rotating Info Field?
« on: August 25, 2003, 10:50:00 AM »

QUOTE (moowear @ Aug 25 2003, 01:36 PM)
I've seen this done on several skins now and am trying to figure it out myself but can't seem to. What i'm referring is having information (ShortDriveFree, Time Date, Current  Song Temp. etc) within the same area on the skin so that it will rotate between all that info. Not sure if i'm being to vague but can anyone help? Do you just simply overlap all the info in the skinner?

In "cycling" text strings, they are Text Layout Elements placed in the same location, and the timers are used to delay the initial display, then use the cycle on and cycle off timers to hide/display them in sequence.

Look at the "Matrix" skin I created (In AXS) to see how this works.
Logged

Habs69M

  • Archived User
  • Full Member
  • *
  • Posts: 190
Rotating Info Field?
« Reply #1 on: August 25, 2003, 02:16:00 PM »

smile.gif

      <LayoutElement Type="Text" Source="Name">
         <Pos l="375"  t="220" w="171"  h="21"/>
         <Scale x="false" y="false" />
                       <Font>Book</Font>
         <TextColor>0xFFFFFFFF</TextColor>
         <ShadowColor>0x25000000</ShadowColor>
         <DoGlow>True</DoGlow>
         <Proportional>true</Proportional>
         <Timer Type="delay">0</Timer>
         <Timer Type="cycleon">3000</Timer>
         <Timer Type="cycleoff">10000</Timer>
      </LayoutElement>

      <LayoutElement Type="Text" Source="VideoStandard">
         <Pos l="375"  t="220" w="171"  h="21"/>
         <Scale x="false" y="false" />
                       <Font>Book</Font>
         <TextColor>0xFFFFFFFF</TextColor>
         <ShadowColor>0x25000000</ShadowColor>
         <DoGlow>True</DoGlow>
         <Proportional>true</Proportional>
         <Timer Type="delay">3000</Timer>
         <Timer Type="cycleon">3000</Timer>
         <Timer Type="cycleoff">10000</Timer>
      </LayoutElement>

      <LayoutElement Type="Text" Source="XboxVersion">
         <Pos l="375"  t="220" w="171"  h="21"/>
         <Scale x="false" y="false" />
                       <Font>Book</Font>
         <TextColor>0xFFFFFFFF</TextColor>
         <ShadowColor>0x25000000</ShadowColor>
         <DoGlow>True</DoGlow>
         <Proportional>true</Proportional>
         <Timer Type="delay">6000</Timer>
         <Timer Type="cycleon">3000</Timer>
         <Timer Type="cycleoff">10000</Timer>
      </LayoutElement>

      <LayoutElement Type="Text" Source="BIOSName">
         <Pos l="375"  t="220" w="171"  h="21"/>
         <Scale x="false" y="false" />
                       <Font>Book</Font>
         <TextColor>0xFFFFFFFF</TextColor>
         <ShadowColor>0x25000000</ShadowColor>
         <DoGlow>True</DoGlow>
         <Proportional>true</Proportional>
         <Timer Type="delay">9000</Timer>
         <Timer Type="cycleon">3000</Timer>
         <Timer Type="cycleoff">10000</Timer>
      </LayoutElement>
Logged

Habs69M

  • Archived User
  • Full Member
  • *
  • Posts: 190
Rotating Info Field?
« Reply #2 on: August 25, 2003, 02:24:00 PM »

smile.gif  and other than the timers ,its the same info as your plain text within the skin  smile.gif
Logged

koldfuzion

  • Archived User
  • Hero Member
  • *
  • Posts: 1226
Rotating Info Field?
« Reply #3 on: August 25, 2003, 03:28:00 PM »

From the skinning doc.

•   Delay – The number of milliseconds before the element appears when the screen is first activated. Defaults to ‘0’
•   Lifetime – The length of time in milliseconds the element remains on the screen. Defaults to ‘infinite’
•   CycleOn – Once it appears, the element will cycle on by this period in milliseconds. Defaults to ‘infinite’
•   CycleOff – Once it appears, the element will cycle off by this period in milliseconds. If not defined, it will inherit from the CycleOn value.


If you look at habs post,  you will notice the delay is staggered over the life (cycle off) of the timers and all stay on for the same amount of time, which for all purposes.. should be an equal division of the cycle off time.
Logged

moowear

  • Archived User
  • Newbie
  • *
  • Posts: 26
Rotating Info Field?
« Reply #4 on: August 25, 2003, 03:36:00 PM »

Thanks KF,
I should read the .doc but couldn't find it. Thanks for the help!
Logged