mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-20 00:51:42 +00:00
CvSourceImpl: Add stub for CreateProperty(callback).
This commit is contained in:
@@ -128,6 +128,14 @@ CS_Property CvSourceImpl::CreateProperty(llvm::StringRef name,
|
||||
return ndx;
|
||||
}
|
||||
|
||||
CS_Property CvSourceImpl::CreateProperty(
|
||||
llvm::StringRef name, CS_PropertyType type, int minimum, int maximum,
|
||||
int step, int defaultValue, int value,
|
||||
std::function<void(CS_Property property)> onChange) {
|
||||
// TODO
|
||||
return 0;
|
||||
}
|
||||
|
||||
void CvSourceImpl::SetEnumPropertyChoices(CS_Property property,
|
||||
llvm::ArrayRef<std::string> choices,
|
||||
CS_Status* status) {
|
||||
|
||||
Reference in New Issue
Block a user