diff options
author | Mnikolenko Productengine <mnikolenko@productengine.com> | 2022-01-25 19:43:32 +0200 |
---|---|---|
committer | Mnikolenko Productengine <mnikolenko@productengine.com> | 2022-01-25 19:43:32 +0200 |
commit | b50de181623874ab799fdc31532dffe8f7bc610a (patch) | |
tree | 1027e985c838b902691d5e34a0fbc76a96b675ae /indra/llui/llcombobox.h | |
parent | 0c70f9d91a15c240f00176d6d81b74593ce3b0d3 (diff) |
SL-16627 add auto-adjustment warning for affected settings
Diffstat (limited to 'indra/llui/llcombobox.h')
-rw-r--r-- | indra/llui/llcombobox.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/indra/llui/llcombobox.h b/indra/llui/llcombobox.h index e17d6cdfb4..49a55c98a3 100644 --- a/indra/llui/llcombobox.h +++ b/indra/llui/llcombobox.h @@ -78,6 +78,8 @@ public: text_entry_callback, text_changed_callback; + Optional<CommitCallbackParam> mouse_down_callback; + Optional<EPreferredPosition, PreferredPositionValues> list_position; // components @@ -207,6 +209,8 @@ public: void setTextEntryCallback( commit_callback_t cb ) { mTextEntryCallback = cb; } void setTextChangedCallback( commit_callback_t cb ) { mTextChangedCallback = cb; } + boost::signals2::connection setMouseDownCallback( const commit_signal_t::slot_type& cb ); + /** * Connects callback to signal called when Return key is pressed. */ @@ -244,6 +248,7 @@ private: commit_callback_t mTextChangedCallback; commit_callback_t mSelectionCallback; boost::signals2::connection mTopLostSignalConnection; + commit_signal_t* mMouseDownSignal; commit_signal_t mOnReturnSignal; S32 mLastSelectedIndex; }; |