ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/truck/DashInterface/MenuList.cpp
(Generate patch)

Comparing DashInterface/MenuList.cpp (file contents):
Revision 42 by douglas, 2008-03-06T13:04:20-08:00 vs.
Revision 43 by douglas, 2008-03-06T13:34:03-08:00

# Line 161 | Line 161 | TopList::ShuffleItem::operator bool() co
161          return audacious.IsRunning() ? audacious.IsShuffle() : false;
162   }
163  
164 + TopList::MusicItem::MusicItem(MenuList *list, Audacious::Audacious &audacious) : MenuItem(list), audacious(audacious)
165 + {
166 + }
167 +
168 + MenuList *TopList::MusicItem::Select()
169 + {
170 +        return NULL;
171 + }
172 +
173 + TopList::MusicItem::operator std::string() const
174 + {
175 +        return _B("Music");
176 + }
177 +
178   TopList::TopList(Audacious::Audacious &audacious, Display &display, bool &append) : MenuList(this, display, 3)
179   {
180          previous = NULL;
181          list[0] = new AppendItem(this, append);
182          list[1] = new ShuffleItem(this, audacious);
183 +        list[2] = new MusicItem(this, audacious);
184   }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines