21 lines
593 B
C++
21 lines
593 B
C++
/* -----------------------------------------------------------------------------
|
|
GSFramework
|
|
Copyright 2001-2013 Emmanuel Julien. All Rights Reserved.
|
|
----------------------------------------------------------------------------- */
|
|
|
|
|
|
#include "ui/ui_group.h"
|
|
|
|
using namespace GS::S2D;
|
|
|
|
|
|
//------------------------------------------------------------------------------
|
|
bool Group::IsMember(const Item *item) const
|
|
{
|
|
ListForeachPtr(Item *, i, item_list)
|
|
if (i == item)
|
|
return true;
|
|
return false;
|
|
}
|
|
//------------------------------------------------------------------------------
|