Author Topic: DCIcon  (Read 6078 times)

0 Members and 1 Guest are viewing this topic.

Joe

  • Guest
DCIcon
« on: July 25, 2002, 01:44:11 PM »
Pardon all my questions, but:

Is there a way to slow down the animation of a DCIcon?  They seem to set the games to the highest and then animate.  The cycleSpeed property doesn't seem to do much.



Joe

  • Guest
Re:DCIcon
« Reply #1 on: July 25, 2002, 01:45:10 PM »
I meant to put 'speed' between 'game' and 'to'.

Offline Brian Provinciano

Re:DCIcon
« Reply #2 on: July 25, 2002, 06:35:28 PM »
Good question. To give a smoother interface, I removed the delay in the dialogs. Simply open up controls.sc, scroll down to the class Dialog of List, then go to the doit method. Replace the code from:

Code: [Select]

      (while(not isClaimed)
          (self:eachElementDo(#cycle))
         = hEvent (Event:new())
         (send hEvent:localize())
          = isClaimed (self:handleEvent(hEvent))
         (send hEvent:dispose())
         (self:check)
         (if( (== isClaimed -1) or (not busy) )
             = isClaimed FALSE
             EditControl(theItem 0)
             break
          )

      )



to this:

Code: [Select]

      (while(not isClaimed)
          (self:eachElementDo(#cycle))
         = hEvent (Event:new())
         (send hEvent:localize())
          = isClaimed (self:handleEvent(hEvent))
         (send hEvent:dispose())
         (self:check)
         (if( (== isClaimed -1) or (not busy) )
             = isClaimed FALSE
             EditControl(theItem 0)
             break
          )
          Wait(1)
      )

Pikachu14

  • Guest
Re:DCIcon
« Reply #3 on: July 26, 2002, 03:12:06 AM »
For short, just add a Wait(1).


SMF 2.0.19 | SMF © 2021, Simple Machines
Simple Audio Video Embedder

Page created in 0.034 seconds with 22 queries.