views: Support ink drop effect on buttons (issue #2102)

This commit is contained in:
Marshall Greenblatt
2017-02-24 13:02:07 -05:00
parent f8909fe9e0
commit 10f9a9484f
14 changed files with 112 additions and 0 deletions

View File

@@ -294,6 +294,18 @@ cef_button_state_t CefMenuButtonCToCpp::GetState() {
return _retval;
}
void CefMenuButtonCToCpp::SetInkDropEnabled(bool enabled) {
cef_button_t* _struct = reinterpret_cast<cef_button_t*>(GetStruct());
if (CEF_MEMBER_MISSING(_struct, set_ink_drop_enabled))
return;
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
// Execute
_struct->set_ink_drop_enabled(_struct,
enabled);
}
void CefMenuButtonCToCpp::SetTooltipText(const CefString& tooltip_text) {
cef_button_t* _struct = reinterpret_cast<cef_button_t*>(GetStruct());
if (CEF_MEMBER_MISSING(_struct, set_tooltip_text))