-
-
Notifications
You must be signed in to change notification settings - Fork 38
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adds two new methods of the audio_form class for querying the minimum…
… and maximum values of a given slider.
- Loading branch information
1 parent
bf7a704
commit 615642d
Showing
3 changed files
with
58 additions
and
0 deletions.
There are no files selected for viewing
13 changes: 13 additions & 0 deletions
13
...er Interface (form.nvgt)/Classes/audio_form/Methods/get_slider_maximum_value.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
# get_slider_maximum_value | ||
Get the maximum value of a slider. | ||
|
||
`double audio_form::get_slider_maximum_value(int control_index);` | ||
|
||
## Arguments: | ||
* int control_index: the index of the slider to query. | ||
|
||
## Returns: | ||
double: the maximum allowable value the slider may be set to. In case of error, this may return -1. To get error information, see `audio_form::get_last_error();`. | ||
|
||
## Remarks: | ||
This method only works on slider control. |
13 changes: 13 additions & 0 deletions
13
...er Interface (form.nvgt)/Classes/audio_form/Methods/get_slider_minimum_value.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
# get_slider_minimum_value | ||
Get the minimum value of a slider. | ||
|
||
`double audio_form::get_slider_minimum_value(int control_index);` | ||
|
||
## Arguments: | ||
* int control_index: the index of the slider to query. | ||
|
||
## Returns: | ||
double: the minimum allowable value the slider may be set to. In case of error, this may return -1. To get error information, see `audio_form::get_last_error();`. | ||
|
||
## Remarks: | ||
This method only works on slider control. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters