| 62 | } |
| 63 | |
| 64 | SuggestionMenuButton::SuggestionMenuButton(HINSTANCE h_inst, HWND parent, |
| 65 | NppInterface &npp, ContextMenuHandler &context_menu_handler, |
| 66 | const Settings &settings) |
| 67 | : m_npp(npp), |
| 68 | m_settings(settings), m_context_menu_handler(context_menu_handler) { |
| 69 | Window::init(h_inst, parent); |
| 70 | m_state_pressed = false; |
| 71 | m_state_hovered = false; |
| 72 | m_state_menu = false; |
| 73 | } |
| 74 | |
| 75 | void SuggestionMenuButton::show_suggestion_menu() { |
| 76 | SendMessage(getHSelf(), WM_SHOWANDRECREATEMENU, 0, 0); |
nothing calls this directly
no outgoing calls
no test coverage detected