phoenix-firestorm/indra/newview/fscontactsfriendsctrl.h

54 lines
1.6 KiB
C++

/**
* @file fscontactsfriendsctrl.h
* @brief A friend list specific implementation of scrolllist
*
* $LicenseInfo:firstyear=2014&license=viewerlgpl$
* Phoenix Firestorm Viewer Source Code
* Copyright (c) 2014 Ansariel Hiller @ Second Life
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation;
* version 2.1 of the License only.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*
* The Phoenix Firestorm Project, Inc., 1831 Oakwood Drive, Fairmont, Minnesota 56031-3225 USA
* http://www.firestormviewer.org
* $/LicenseInfo$
*/
#ifndef FS_CONTACTSFRIENDSTCTRL_H
#define FS_CONTACTSFRIENDSTCTRL_H
#include "fsscrolllistctrl.h"
class FSContactsFriendsCtrl
: public FSScrollListCtrl, public LLInstanceTracker<FSContactsFriendsCtrl>
{
public:
struct Params : public LLInitParam::Block<Params, FSScrollListCtrl::Params>
{
Params()
{
name = "friend_list";
}
};
BOOL handleRightMouseDown(S32 x, S32 y, MASK mask);
protected:
FSContactsFriendsCtrl(const Params&);
friend class LLUICtrlFactory;
};
#endif // FS_CONTACTSFRIENDSTCTRL_H