-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Show vst parameter string #5321
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 9 commits
Commits
Show all changes
13 commits
Select commit
Hold shift + click to select a range
c200a02
Add getting parameter text
ibuki2003 9f43b84
Add CustomTextKnob
ibuki2003 7bfd9c1
Replace Knob raw value with VST Parameter string
ibuki2003 2c12236
remove unused including
ibuki2003 1c7e160
split methods into cpp file
ibuki2003 6f0ebd5
Replace Knob with CustomTextKnob on VstEffect
ibuki2003 5625a58
add comments to cryptic code
ibuki2003 9bb7cec
remove minor style changes
ibuki2003 98cd5f4
Fixup multiple style changes.
Reflexe 21f2dc1
rename presName to paramDisplays that has parameterDisplays
ibuki2003 a53a3a6
rename presName to paramLabels that has parameterLabels
ibuki2003 3fee6e5
use length descriptor instead of delimiter for splitting
ibuki2003 8447ec5
Merge branch 'master' into show-vst-param-str
ibuki2003 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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,30 @@ | ||
| /* Text customizable knob */ | ||
| #ifndef CUSTOM_TEXT_KNOB_H | ||
| #define CUSTOM_TEXT_KNOB_H | ||
|
|
||
| #include "Knob.h" | ||
|
|
||
| class LMMS_EXPORT CustomTextKnob : public Knob | ||
| { | ||
| protected: | ||
| inline void setHintText( const QString & _txt_before, const QString & _txt_after ) {} // inaccessible | ||
| public: | ||
| CustomTextKnob( knobTypes _knob_num, QWidget * _parent = NULL, const QString & _name = QString(), const QString & _value_text = QString() ); | ||
|
|
||
| CustomTextKnob( QWidget * _parent = NULL, const QString & _name = QString(), const QString & _value_text = QString() ); //!< default ctor | ||
|
|
||
| CustomTextKnob( const Knob& other ) = delete; | ||
|
|
||
| inline void setValueText(const QString & _value_text) | ||
| { | ||
| m_value_text = _value_text; | ||
| } | ||
|
|
||
| private: | ||
| virtual QString displayValue() const; | ||
|
|
||
| protected: | ||
| QString m_value_text; | ||
| } ; | ||
|
|
||
| #endif |
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.