Author: stuartm
Date: 2008-09-01 19:36:21 +0000 (Mon, 01 Sep 2008)
New Revision: 18244
Changeset: http://cvs.mythtv.org/trac/changeset/18244
Modified:
trunk/mythtv/libs/libmythui/mythgenerictree.cpp
trunk/mythtv/libs/libmythui/mythgenerictree.h
trunk/mythtv/libs/libmythui/mythuibuttontree.cpp
Log:
Add a visibility attribute to MythGenericTree and omit hidden nodes when building the lists in MythUIButtonTree. This allows certain nodes to be removed from display without needing to modify or rebuild the tree, it could potentially be used along with filters in mythmusic etc. In mythvideo it is used to hide return nodes in the List view without sacrificing the speed gains from sharing a single tree across views.