Hydrogenaudio Forums

Hosted Forums => foobar2000 => Development - (fb2k) => Topic started by: mixcherry on 2008-07-19 10:36:45

Title: Columns UI Extension preferences page inside Columns UI branch
Post by: mixcherry on 2008-07-19 10:36:45
I would like to place my Columns UI extension's preferences page inside 'Columns UI' branch - so it would show just under 'Colours and Fonts', 'Playlist switcher' and 'Playlist view'.
(http://i6.photobucket.com/albums/y223/mixcherry/foobar2000/cuiprefsbranch.png)
I think that it would be clearer for users to include all Columns-UI-only extensions here.

That is not possible for the moment, or I couldn't find GUID for it. musicmusic, do you plan to include it in CUI SDK?
Title: Columns UI Extension preferences page inside Columns UI branch
Post by: foosion on 2008-07-19 11:38:41
I personally think it would be clearer to create a new branch called "Columns UI Extensions" to make it clear - especially for inexperienced users - which preferences pages belong to Columns UI itself and which belong to a separate component.
Title: Columns UI Extension preferences page inside Columns UI branch
Post by: musicmusic on 2008-07-19 18:20:54
Yes, do not put it directly under Columns UI.

Maybe under an "Extensions" subbranch of the Columns UI branch, but then subbranches become a bit deep. So maybe a new branch alongside "Columns UI", but still need to pick a name, could be "Columns UI Extensions" as foosion suggested, or "Panels", or ...

So what do you think? Once we are agreed I can set up some GUIDs...
Title: Columns UI Extension preferences page inside Columns UI branch
Post by: mixcherry on 2008-07-19 19:03:40
I think "Columns UI Extensions" would be fine - as branches are sorted by name, it would appear just below "Columns UI" branch.
Title: Columns UI Extension preferences page inside Columns UI branch
Post by: musicmusic on 2008-07-19 19:49:38
OK well here is a GUID. Declare the branch yourself as well as below.

Code: [Select]
// {74FD83FD-6927-43c6-B673-01272CD8A54E}
static const GUID g_guid_columns_ui_extensions_branch =
{ 0x74fd83fd, 0x6927, 0x43c6, { 0xb6, 0x73, 0x1, 0x27, 0x2c, 0xd8, 0xa5, 0x4e } };

namespace {
preferences_branch_factory g_branch(g_guid_columns_ui_extensions_branch, preferences_page_v2::guid_display, "Columns UI extensions", 0);
}
SimplePortal 1.0.0 RC1 © 2008-2020