Lines Matching defs:item
86 MemoryBarMenuItem* item;
88 for (k = 1; (item = (MemoryBarMenuItem*)ItemAt(k)) != NULL; k++) {
89 int m = item->UpdateSituation(committedMemory);
97 fRecycleList[lastRecycle++].item = item;
108 // Look new teams that have appeared. Create an item for them, or recycle from the list.
111 item = NULL;
139 if (!item && firstRecycle < lastRecycle)
140 item = fRecycleList[firstRecycle++].item;
142 if (item)
143 item->Reset(infos.team_name, infos.team_info.team, infos.team_icon, true);
145 AddItem(item = new MemoryBarMenuItem(infos.team_name,
149 int m = item->UpdateSituation(committedMemory);
152 item = NULL;
159 if (item) {
160 RemoveItem(item);
161 delete item;
166 RemoveItems(IndexOf(fRecycleList[firstRecycle].item),