diff options
author | angela <angela@lindenlab.com> | 2010-02-16 20:36:26 +0800 |
---|---|---|
committer | angela <angela@lindenlab.com> | 2010-02-16 20:36:26 +0800 |
commit | 2582f759b8d73fe197e294c3a1d6cdd48e666d84 (patch) | |
tree | 8570901f13dfa63c43634651674c7f3a1dae5761 /indra/newview/lltoastnotifypanel.h | |
parent | 4a9c68d8e66e3ff223885a455fe385e0ba51939b (diff) | |
parent | e3367fad368660bf40db29a82237475a9f2dfdbd (diff) |
merge with remote repo
Diffstat (limited to 'indra/newview/lltoastnotifypanel.h')
-rw-r--r-- | indra/newview/lltoastnotifypanel.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/indra/newview/lltoastnotifypanel.h b/indra/newview/lltoastnotifypanel.h index 1f50c21f6f..3d57c50386 100644 --- a/indra/newview/lltoastnotifypanel.h +++ b/indra/newview/lltoastnotifypanel.h @@ -73,7 +73,13 @@ private: void adjustPanelForScriptNotice(S32 max_width, S32 max_height); void adjustPanelForTipNotice(); void addDefaultButton(); - void updateButtonsLayout(const std::vector<index_button_pair_t>& buttons, S32 left_pad, S32 top); + /* + * It lays out buttons of the notification in mControlPanel. + * Buttons will be placed from BOTTOM to TOP. + * @param h_pad horizontal space between buttons. It is depent on number of buttons. + * @param buttons vector of button to be added. + */ + void updateButtonsLayout(const std::vector<index_button_pair_t>& buttons, S32 h_pad); // panel elements LLTextBase* mTextBox; |