diff --git a/indra/newview/fsareasearchlistctrl.h b/indra/newview/fsareasearchlistctrl.h index fdbe329d49..f84aafaee1 100644 --- a/indra/newview/fsareasearchlistctrl.h +++ b/indra/newview/fsareasearchlistctrl.h @@ -38,15 +38,14 @@ public: struct Params : public LLInitParam::Block { Params() - { - name = "area_search_list"; - } + {} }; BOOL handleRightMouseDown(S32 x, S32 y, MASK mask); protected: FSAreaSearchListCtrl(const Params&); + virtual ~FSAreaSearchListCtrl() {} friend class LLUICtrlFactory; }; diff --git a/indra/newview/fsblocklistctrl.h b/indra/newview/fsblocklistctrl.h index afa0acb866..146de75e35 100644 --- a/indra/newview/fsblocklistctrl.h +++ b/indra/newview/fsblocklistctrl.h @@ -38,15 +38,14 @@ public: struct Params : public LLInitParam::Block { Params() - { - name = "block_list"; - } + {} }; - + BOOL handleRightMouseDown(S32 x, S32 y, MASK mask); protected: FSBlockListCtrl(const Params&); + virtual ~FSBlockListCtrl() {} friend class LLUICtrlFactory; }; diff --git a/indra/newview/fscontactsfriendsctrl.h b/indra/newview/fscontactsfriendsctrl.h index 476ce81a22..372ed66c22 100644 --- a/indra/newview/fscontactsfriendsctrl.h +++ b/indra/newview/fscontactsfriendsctrl.h @@ -38,15 +38,14 @@ public: struct Params : public LLInitParam::Block { Params() - { - name = "friend_list"; - } + {} }; - + BOOL handleRightMouseDown(S32 x, S32 y, MASK mask); protected: FSContactsFriendsCtrl(const Params&); + virtual ~FSContactsFriendsCtrl() {} friend class LLUICtrlFactory; }; diff --git a/indra/newview/fsradarlistctrl.h b/indra/newview/fsradarlistctrl.h index a9530af583..a77d99b80b 100644 --- a/indra/newview/fsradarlistctrl.h +++ b/indra/newview/fsradarlistctrl.h @@ -34,58 +34,18 @@ class FSRadarListCtrl : public FSScrollListCtrl, public LLInstanceTracker { public: - + struct Params : public LLInitParam::Block { - // behavioral flags - Optional multi_select, - commit_on_keyboard_movement, - mouse_wheel_opaque; - - // display flags - Optional has_border, - draw_heading, - draw_stripes, - background_visible, - scroll_bar_bg_visible; - - // layout - Optional column_padding, - page_lines, - heading_height; - - // sort and search behavior - Optional search_column, - sort_column; - Optional sort_ascending; - - // colors - Optional fg_unselected_color, - fg_selected_color, - bg_selected_color, - fg_disable_color, - bg_writeable_color, - bg_readonly_color, - bg_stripe_color, - hovered_color, - highlighted_color, - scroll_bar_bg_color; - - Optional contents; - - Optional border; - Params() - { - name = "radar_list"; - } - }; - + {} + }; + BOOL handleRightMouseDown(S32 x, S32 y, MASK mask); - - + protected: FSRadarListCtrl(const Params&); + virtual ~FSRadarListCtrl() {} friend class LLUICtrlFactory; };