home *** CD-ROM | disk | FTP | other *** search
/ GameStar 2004 July & August / Gamestar_64_2004-07-08_dvd.iso / Programy / winamp501_full.exe / $_14327_ / notifications_fade_times.maki (.txt) < prev    next >
Winamp Compiled Maki Script  |  2003-11-16  |  2KB  |  70 lines

  1. /* Note: a decompiler is no invitation to steal code.
  2.    Please respect the the copyright */
  3.  
  4. #include "std.mi"
  5. Global Group Group2;
  6. Global Text Text3;
  7. Global Text Text4;
  8. Global Text Text5;
  9. Global Slider Slider6;
  10. Global Slider Slider7;
  11. Global Slider Slider8;
  12.  
  13.  
  14. System.onScriptLoaded()
  15. {
  16. Int Int15;
  17. Group2 = System.getScriptGroup();
  18. Slider6 = Group2.findObject(( "snotifier_fadeintime"));
  19. Slider7 = Group2.findObject(( "snotifier_fadeouttime"));
  20. Slider8 = Group2.findObject(( "snotifier_holdtime"));
  21. Text3 = Group2.findObject(( "tnotifier_fadeintime"));
  22. Text4 = Group2.findObject(( "tnotifier_fadeouttime"));
  23. Text5 = Group2.findObject(( "tnotifier_holdtime"));
  24. Slider6.onSetPosition(Slider6.getPosition());
  25. Slider7.onSetPosition(Slider7.getPosition());
  26. Slider8.onSetPosition(Slider8.getPosition());
  27. Int15 = System.isTransparencyAvailable();
  28. Slider6.setEnabled(Int15);
  29. Slider7.setEnabled(Int15);
  30. Text3.setEnabled(Int15);
  31. Text4.setEnabled(Int15);
  32. Group2.findObject(( "snotifier_fadein_shadow")).setEnabled(Int15);
  33. Group2.findObject(( "snotifier_fadeout_shadow")).setEnabled(Int15);
  34. Group2.findObject(( "snotifier_fadein_text")).setEnabled(Int15);
  35. Group2.findObject(( "snotifier_fadeout_text")).setEnabled(Int15);
  36. return Null;
  37. }
  38.  
  39. Slider6.onSetPosition(int newpos)
  40. {
  41. Float Float22;
  42. String String24;
  43. Float22 = ( newpos / 1000);
  44. String24 = System.floatToString(Float22, 1);
  45. Text3.setText(( String24 + ( "s")));
  46. return Null;
  47. }
  48.  
  49. Slider7.onSetPosition(int newpos)
  50. {
  51. String String28;
  52. Float Float27;
  53. Float27 = ( newpos / 1000);
  54. String28 = System.floatToString(Float27, 1);
  55. Text4.setText(( String28 + ( "s")));
  56. return Null;
  57. }
  58.  
  59. Slider8.onSetPosition(int newpos)
  60. {
  61. Float Float30;
  62. String String31;
  63. Float30 = ( newpos / 1000);
  64. String31 = System.floatToString(Float30, 1);
  65. Text5.setText(( String31 + ( "s")));
  66. return Null;
  67. }
  68.  
  69.  
  70.