Advertisement
Guest User

Untitled

a guest
May 27th, 2017
60
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. public function getSettings():Vector.<SettingsWrapper>
  2.         {
  3.             var settings:Vector.<SettingsWrapper> = new Vector.<SettingsWrapper>();
  4.            
  5.             var output:SettingsWrapper = new SettingsWrapper('Output',
  6.                 Vector.<ISetting>([
  7.                     new IntSetting(swfOutput, 'frameRate',  'Framerate (FPS)'),
  8.                     new IntSetting(swfOutput, 'width',      'Width'),
  9.                     new IntSetting(swfOutput, 'height',     'Height'),
  10.                     new ColorSetting(swfOutput, 'background', 'Background color'),
  11.                     new IntSetting(swfOutput, 'swfVersion', 'Minimum player version')
  12.                 ])
  13.             );
  14.            
  15.             settings.push(output);
  16.            
  17.             var buildOptions:SettingsWrapper = new SettingsWrapper('Build options',
  18.                 Vector.<ISetting>([
  19.                     new PathSetting(buildOptions, 'customSDKPath', 'Custom SDK', true, buildOptions.customSDKPath),
  20.                 ])
  21.             );
  22.             settings.push(buildOptions);
  23.            
  24.             return settings;
  25.         }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement