Searched defs:MenuParam (Results 1 – 2 of 2) sorted by relevance
51 struct MenuParam { struct52 std::string title;53 OffsetF positionOffset;54 bool setShow = false;55 bool isShow = false;56 MenuBindingType menuBindType = MenuBindingType::LONG_PRESS;57 ContextMenuRegisterType contextMenuRegisterType = ContextMenuRegisterType::NORMAL_TYPE;58 std::function<void(const std::string&)> onStateChange;59 std::optional<Placement> placement;60 std::function<void()> onAppear;[all …]
1540 std::vector<NG::OptionParam>&& params, std::function<void()>&& buildFunc, const NG::MenuParam&) in BindMenu()