Skip to content

Commit

Permalink
fix controller stubs
Browse files Browse the repository at this point in the history
  • Loading branch information
chee committed Feb 22, 2020
1 parent 7bf6c6c commit 8b99c4d
Show file tree
Hide file tree
Showing 14 changed files with 804 additions and 12,802 deletions.
2 changes: 1 addition & 1 deletion bitwig-jsdoc-stubs/AutoDetectionMidiPortNamesList.js
Expand Up @@ -9,7 +9,7 @@ function AutoDetectionMidiPortNamesList() {}
AutoDetectionMidiPortNamesList.prototype.add = function(inputNames, outputNames) {};

/**
* @return {java.util.List<AutoDetectionMidiPortNames>}
* @return {AutoDetectionMidiPortNames[]}
*/
AutoDetectionMidiPortNamesList.prototype.getPortNames = function() {};

Expand Down
36 changes: 18 additions & 18 deletions bitwig-jsdoc-stubs/BitmapFormat.js
@@ -1,21 +1,21 @@
/* API Version - 3.1.2 */

BitmapFormat = {
/**
* Each pixel is a 32-bit quantity, with alpha in the upper 8 bits, then red, then green, then
* blue. The 32-bit quantities are stored native-endian. Pre-multiplied alpha is used. (That is,
* 50% transparent red is 0x80800000, not 0x80ff0000.)
*/
ARGB32( 4 ): 0,
/**
* Each pixel is a 32-bit quantity, with the upper 8 bits unused. Red, Green, and Blue are stored
* in the remaining 24 bits in that order.
*/
RGB24_32( 4 ): 1,
int mBytesPerPixel
/**
* @return {int}
*/
BitmapFormat.prototype.bytesPerPixel = function() {};
// BitmapFormat = {
// /**
// * Each pixel is a 32-bit quantity, with alpha in the upper 8 bits, then red, then green, then
// * blue. The 32-bit quantities are stored native-endian. Pre-multiplied alpha is used. (That is,
// * 50% transparent red is 0x80800000, not 0x80ff0000.)
// */
// ARGB32( 4 ): 0,
// /**
// * Each pixel is a 32-bit quantity, with the upper 8 bits unused. Red, Green, and Blue are stored
// * in the remaining 24 bits in that order.
// */
// RGB24_32( 4 ): 1,
// int mBytesPerPixel
// /**
// * @return {int}
// */
// BitmapFormat.prototype.bytesPerPixel = function() {};

};
// };
4 changes: 2 additions & 2 deletions bitwig-jsdoc-stubs/HardwareDeviceMatcherList.js
Expand Up @@ -10,7 +10,7 @@ function HardwareDeviceMatcherList() {}
/**
* Adds information about a hardware device that is needed and how it can be matched. The hardware device
* will need to match at least one of the supplied matchers.
*
*
* For each entry added to this list the user will see a device chooser that lets them select an
* appropriate device. The information added here is also used for auto detection purposes.
*
Expand All @@ -32,6 +32,6 @@ HardwareDeviceMatcherList.prototype.getCount = function() {};
HardwareDeviceMatcherList.prototype.getHardwareDeviceMatchersAt = function(index) {};

/**
* @return {java.util.List<HardwareDeviceMatcher[]>}
* @return {HardwareDeviceMatcher[]}
*/
HardwareDeviceMatcherList.prototype.getList = function() {};
4 changes: 2 additions & 2 deletions bitwig-jsdoc-stubs/HardwareSurface.js
Expand Up @@ -165,7 +165,7 @@ HardwareSurface.prototype.invalidateHardwareOutputState = function() {};
/**
* A list of all the {@link HardwareControl}s that have been created on this {@link HardwareSurface}.
*
* @return {java.util.List<? extends HardwareControl>}
* @return {HardwareControl[]}
*/
HardwareSurface.prototype.hardwareControls = function() {};

Expand All @@ -180,6 +180,6 @@ HardwareSurface.prototype.hardwareElementWithId = function(id) {};
/**
* List of all {@link HardwareElement}s on this {@link HardwareSurface}.
*
* @return {java.util.List<? extends HardwareOutputElement>}
* @return {HardwareOutputElement[]}
*/
HardwareSurface.prototype.hardwareOutputElements = function() {};

0 comments on commit 8b99c4d

Please sign in to comment.