Re: Work done on GTKMM Browser
"Kristian G. Kvilekval" <[email protected]>
| Newsgroups | gmane.comp.audio.zinf.devel |
|---|---|
| Message-ID | <[email protected]> |
On Fri, 2003-10-03 at 10:25, David Hough wrote: > Hi, > > I've finally managed to make the new browser easily switch between using a > seperate window for each playlist and using tabs for each playlist. I've > added the option "Show Tabs" to the View menu that can be turned on and > off. Nice work. > I've also moved a number of other options into the preference file. So you > can now change the layout of the browser. There are 4 options, > "MusicBrowserTreePos" etc, in the format "[-1-3],[-1-3]" which represent > where the widgets should be displayed in relation to each other. > > The browser is split into a box with 4 compartments, e.g > |0|1| > |2|3| > and each compartment has a second level box split into four. > The first number in the pref indicates where to place the widget in the > first level, and the second number indicates where to place it in the > second level. -1 means the widget should not be displayed at that level, so > "-1,-1" would mean off. > > For instance to get the layout that was used in the old musicbrowser you > would use the prefs > MusicBrowserTreePos = 0,-1 > MusicBrowserAlbumsPos = -1,-1 > MusicBrowserTracksPos = -1,-1 > MusicBrowserPlaylistPos = 1,-1 > > For more information on how this works look at the source file > musiclayout.cpp, the function PanedLayout::create() fills in a box. Could you add either an option pane changing the layout or even just a menu entry for the most common ones. > I've also added initial support for browsing by directory. It currently > shows an unsorted list of directory contents starting at the dir that is > set to be watched. Excellent! This is highly desired feature. Crashes if directory does not exist though (I made a typo on the first try). > The code is avaliable at http://www-student.cs.york.ac.uk/~djh123/arch/ > which is a continuation of the currently un-updated archive at > http://www.cs.ucsb.edu/~kris/archive-public I have a heavily hacked local archive that is no where near ready for public view.. I have also been thinking about restructuring the musicdb so that it use plugins for the metadata sources (it kinda fixed right now). > If anyone would prefer a patch against the current CVS just ask. > > David -- email:[email protected] office:(805)893-4276 http://www.cs.ucsb.edu/~kris ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf