home *** CD-ROM | disk | FTP | other *** search
/ Cine Live 60 / Cine Live 60.iso / pc / Data / Interface / bonus.k < prev    next >
Encoding:
Text File  |  2002-08-06  |  4.3 KB  |  198 lines

  1. module oRoot1 is cBox
  2. with 
  3.     Flags is $00000152; 
  4.     release Editor:
  5.         IOWindow is {$000000B2,$0000004B,$0000023F,$000002CD,$00000000,$00000000,$00000000,$00000000};
  6.         LayoutWindow is {$00000104,$0000008A,$0000032F,$00000267,$00000000,$00000000,$00000064,$00000000};
  7.     end;
  8.     Name is "Root"; 
  9.     Enabled is false; 
  10.     
  11.     Width is 800; Height is 600; 
  12.     
  13.     
  14.     Elements is [
  15.         oMusic2,
  16.         ofond3,
  17.         oreportage_sommaire4,
  18.         oreportage_lancer5,
  19.         oVid_o6
  20.     ];
  21.     Events is [
  22.         cOnscreenEvent
  23.         with Flags is $00000004; 
  24.             Commands is [
  25.                 cRunCommand
  26.                 with Flags is $00000004; Target is oMusic2; Rewind is true; end
  27.             ];
  28.         end,
  29.         cKeyboardEvent
  30.         with Flags is $00000004; Test is IsSpace; 
  31.             Commands is [
  32.                 cRunCommand
  33.                 with Flags is $00000004; Target is oVid_o6; Mode is Toggle; end
  34.             ];
  35.         end,
  36.         cKeyboardEvent
  37.         with Value is "+"; 
  38.             Commands is [
  39.                 cSetVolumeCommand
  40.                 with Mode is ExecuteHigher; end
  41.             ];
  42.         end,
  43.         cKeyboardEvent
  44.         with Value is "-"; 
  45.             Commands is [
  46.                 cSetVolumeCommand
  47.                 with Flags is $00000004; Mode is ExecuteLower; end
  48.             ];
  49.         end,
  50.         cKeyboardEvent
  51.         with Value is "m"; 
  52.             Commands is [
  53.                 cRunCommand
  54.                 with Flags is $00000004; Mode is Toggle; Rewind is true; end
  55.             ];
  56.         end
  57.     ];
  58. end;
  59.  
  60. object oMusic2 is cSound
  61. with 
  62.     Flags is $00000150; 
  63.     Name is "Music"; 
  64.     
  65.     AdjustX is AlignToCenter; AdjustY is AlignToMiddle; 
  66.     AdjustWidth is GetDataWidth; AdjustHeight is GetDataHeight; 
  67.     Looping is true; 
  68.     URL is "data/Sons/1.mp3"; URLOption is GetDiskURL; 
  69.     
  70. end;
  71.  
  72. object ofond3 is cImage
  73. with 
  74.     Flags is $00000150; 
  75.     Name is "fond"; 
  76.     Enabled is false; 
  77.     AdjustX is AlignToCenter; AdjustY is AlignToMiddle; 
  78.     AdjustWidth is GetDataWidth; AdjustHeight is GetDataHeight; 
  79.     
  80.     URL is "data/Images/bonus.jpg"; URLOption is GetDiskURL; 
  81.     
  82.     
  83. end;
  84.  
  85. object oreportage_sommaire4 is cImage
  86. with 
  87.     Name is "reportage sommaire"; 
  88.     Shown is false; Cursor is oFingerCursor; 
  89.     X is 629; Y is 573; 
  90.     AdjustWidth is GetDataWidth; AdjustHeight is GetDataHeight; 
  91.     
  92.     URL is "data/Images/vid%20sommaire.jpg"; URLOption is GetDiskURL; 
  93.     
  94.     
  95.     Events is [
  96.         cMouseEnterEvent
  97.         with 
  98.             Commands is [
  99.                 cShowCommand
  100.                 with Target is oTargetSelf; end
  101.             ];
  102.         end,
  103.         cMouseLeaveEvent
  104.         with 
  105.             Commands is [
  106.                 cShowCommand
  107.                 with Target is oTargetSelf; Mode is Clear; end
  108.             ];
  109.         end,
  110.         cMouseUpEvent
  111.         with 
  112.             Commands is [
  113.                 cBrowseCommand
  114.                 with URL is "data/Interface/sommaire.k"; URLOption is GetDiskURL; end
  115.             ];
  116.         end
  117.     ];
  118. end;
  119.  
  120. object oreportage_lancer5 is cImage
  121. with 
  122.     Name is "reportage lancer"; 
  123.     Shown is false; Cursor is oFingerCursor; 
  124.     X is 475; Y is 573; 
  125.     AdjustWidth is GetDataWidth; AdjustHeight is GetDataHeight; 
  126.     
  127.     URL is "data/Images/vid%20video.jpg"; URLOption is GetDiskURL; 
  128.     
  129.     
  130.     Events is [
  131.         cMouseEnterEvent
  132.         with 
  133.             Commands is [
  134.                 cShowCommand
  135.                 with Target is oTargetSelf; end
  136.             ];
  137.         end,
  138.         cMouseLeaveEvent
  139.         with 
  140.             Commands is [
  141.                 cShowCommand
  142.                 with Target is oTargetSelf; Mode is Clear; end
  143.             ];
  144.         end,
  145.         cMouseUpEvent
  146.         with 
  147.             Commands is [
  148.                 cShowCommand
  149.                 with Target is oVid_o6; end,
  150.                 cEnableCommand
  151.                 with Target is oVid_o6; end,
  152.                 cRunCommand
  153.                 with Target is oVid_o6; Rewind is true; end,
  154.                 cRunCommand
  155.                 with Target is oMusic2; Mode is Clear; Rewind is true; end
  156.             ];
  157.         end
  158.     ];
  159. end;
  160.  
  161. object oVid_o6 is cMPEGMovie
  162. with 
  163.     Flags is $00000150; 
  164.     Name is "Vid\$E9o"; 
  165.     Enabled is false; Shown is false; Cursor is oEmptyCursor; 
  166.     
  167.     Width is 800; Height is 600; 
  168.     
  169.     URL is "Data/Videos/bonus.mpg"; URLOption is GetDiskURL; 
  170.     Events is [
  171.         cMouseUpEvent
  172.         with Flags is $00000004; 
  173.             Commands is [
  174.                 cShowCommand
  175.                 with Flags is $00000004; Target is oTargetSelf; Mode is Clear; end,
  176.                 cEnableCommand
  177.                 with Flags is $00000004; Target is oTargetSelf; Mode is Clear; end,
  178.                 cRunCommand
  179.                 with Flags is $00000004; Target is oTargetSelf; Mode is Clear; Rewind is true; end,
  180.                 cRunCommand
  181.                 with Flags is $00000004; Target is oMusic2; Rewind is true; end
  182.             ];
  183.         end,
  184.         cFinishedEvent
  185.         with Flags is $00000004; 
  186.             Commands is [
  187.                 cShowCommand
  188.                 with Flags is $00000004; Target is oTargetSelf; Mode is Clear; end,
  189.                 cEnableCommand
  190.                 with Flags is $00000004; Target is oTargetSelf; Mode is Clear; end,
  191.                 cRunCommand
  192.                 with Flags is $00000004; Target is oTargetSelf; Mode is Clear; Rewind is true; end,
  193.                 cRunCommand
  194.                 with Flags is $00000004; Target is oMusic2; Rewind is true; end
  195.             ];
  196.         end
  197.     ];
  198. end;