VuoInputEditorIntegerRange implementation.
- Copyright
- Copyright © 2012–2016 Kosada Incorporated. This code may be modified and distributed under the terms of the MIT License. For more information, see http://vuo.org/license.
|
#define | IS_FINITE(value) (abs(value) != INT_MAX) |
| < Tests if an integer value is within bounds of -INT_MAX and INT_MAX. VuoInteger spinbox only accepts int32, not int64, so if a value is INT_MAX it's "infinity".
|
|
#define IS_FINITE |
( |
|
value | ) |
(abs(value) != INT_MAX) |
< Tests if an integer value is within bounds of -INT_MAX and INT_MAX. VuoInteger spinbox only accepts int32, not int64, so if a value is INT_MAX it's "infinity".
Try to read in suggested details and return true if min/max are both found, false otherwise (though there still may be some usable data read).