nativeImage: adding setTemplateImage method
This commit is contained in:
parent
fb00c28026
commit
efd294d69d
4 changed files with 14 additions and 0 deletions
|
@ -138,6 +138,9 @@ mate::ObjectTemplateBuilder NativeImage::GetObjectTemplateBuilder(
|
|||
.SetMethod("toDataUrl", &NativeImage::ToDataURL)
|
||||
.SetMethod("isEmpty", &NativeImage::IsEmpty)
|
||||
.SetMethod("getSize", &NativeImage::GetSize)
|
||||
#if defined(OS_MACOSX)
|
||||
.SetMethod("setTemplateImage", &NativeImage::SetTemplateImage)
|
||||
#endif
|
||||
.Build());
|
||||
|
||||
return mate::ObjectTemplateBuilder(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue