File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11declare namespace GorillaEngine . UI {
2+
23 interface Zone {
34 path : string ;
45 name : string ;
@@ -16,7 +17,7 @@ declare namespace GorillaEngine.UI {
1617 refreshView ( index ?: number ) : void ;
1718 selectAllZones ( ) : void ;
1819 deselectAllZones ( ) : void ;
19- selectZones ( zones : Partial < Zone [ ] > ) : void ;
20+ selectZones ( zones : Partial < Zone [ ] > ) :void ;
2021 addZones ( zones : Partial < Zone [ ] > ) : void ;
2122 removeZones ( zones : Partial < Zone [ ] > ) : void ;
2223 }
Original file line number Diff line number Diff line change 1+
12const mylabel = new GorillaEngine . UI . Label ( { text : "rr" } ) ;
23
34const combo = new GorillaEngine . UI . ComboBox ( { id : "myCombo" , x : 0 } ) ;
@@ -12,6 +13,6 @@ const knob = new GorillaEngine.UI.Knob({ id: "myknob" });
1213
1314const label = new GorillaEngine . UI . Label ( { margin : 5 } ) ;
1415
15- const slider = new GorillaEngine . UI . Slider ( { id : "slider" , x : 0 } ) ;
16+ const slider = new GorillaEngine . UI . Slider ( { id : "slider" , x : 0 , y : 2 } ) ;
1617
17- const mappingEditor = new GorillaEngine . UI . MappingEditor ( { id : " myNewMappingEditor" , x : 3 , y : 2 } ) ;
18+ const mappingEditor = new GorillaEngine . UI . MappingEditor ( { id : ' myNewMappingEditor' , x : 3 , y :2 } )
Original file line number Diff line number Diff line change @@ -174,6 +174,13 @@ declare namespace GorillaEngine {
174174 * @param module The serialised module to set as a string
175175 */
176176 setModuleAtPath ( path : string , module : string ) : boolean ;
177+ /**
178+ * Method used to replace a module in an instrument in a given path
179+ * @param path The path to the module that should be retrieved.
180+ * @param module The serialised module to replace as a string
181+ */
182+ replaceModuleAtPath ( path : string , module : string ) : boolean ;
183+
177184 /**
178185 * Method used to determine if a value from the Gorilla Engine is a module.
179186 *
@@ -598,4 +605,4 @@ declare namespace GorillaEngine {
598605 */
599606 function setSettingsButtonPosition ( x : number , y : number ) : void ;
600607 }
601- }
608+ }
You can’t perform that action at this time.
0 commit comments