Skip to main content

Notice

Please note that most of the software linked on this forum is likely to be safe to use. If you are unsure, feel free to ask in the relevant topics, or send a private message to an administrator or moderator. To help curb the problems of false positives, or in the event that you do find actual malware, you can contribute through the article linked here.
Topic: Columns UI (Read 4589500 times) previous topic - next topic
0 Members and 2 Guests are viewing this topic.

Columns UI

Reply #2850
Use a playlist lock. Or you could just pay more attention to where you are clicking.

Columns UI

Reply #2851
Sidebar question: If I put two panels into sidebar and hide both titles of them, I'm no more able to add/remove panels to the sidebar. There's no way to get the context menu for this. Is that correct? So I have to reset sidebar in the columns ui preferences and rebuild it.

Correct? Or is there an easier way?
You can right click in the separator between the two panels. Otherwise correct.

Please fix this musicmusic... Rightclicking on a playlist in the playlist switcher and clicking remove doesn't display a confirm window. I was renaming my playlists and clicked on the wrong text, very annoying. :/
Well, its by design otherwise it would be annoying. I don't think its particulary easy to choose the wrong item in the context menu either.

I would suggest you use the double click to rename option and avoid the context menu entirely. Maybe also a playlist trashcan component if you can find someone to make it.
.

Columns UI

Reply #2852
quick question, is there a way to toggle the sidebar playlist caption after you've turned it off?  There's no where to right click if the caption is gone.  I remember i figured it out a while back when .9 came out, but i can't remember

Thanks

Columns UI

Reply #2853
Does enabling Make date info available, also give access to Julian Date?
I have unsuccessfully tried e.g. %_system_julian_date%.
The field name is %_system_julian_day%.
Thanks 

Playlist name generation
I like the way playlist names can be generated upon drag and drop. Do you think you could make it possible to send files through this processing, also when using "send to new playlist" in Album List Panel? And how about adding a "regenerate playlist name" to the context menu, when a playlist is right clicked?
The latter: maybe. But what kind of situation did you think would cause you to need it? In regards to the former question, the album list panel should use a useful name already.

Regarding regeneration from context menu:
When I drag and drop a single album, the name my current code generates is %artist% - '%album%', but if I drop two albums, it's reduced to %artist%. The "need" for regeneration arises when you drop one album and later add another to the same playlist. Then the name of the playlist no longer reflect it's contents. Pretty lazy of me to not just remove the %album% part, but I like the feeling of automation.

Sending to playlist from Album List:
In a tree view, the parent node should, IMO, give information that is not duplicated in it's child nodes. If the parent node gives the name of the artist, and its children are albums by this artist, "send to new playlist" will name the playlist %album%. At least to me, that's not always that descriptive. Hence, sending it through the same processing would solve it in some cases.

Anyway, it’s just a few ideas that came to mind when I was playing around with the current functionality (nice feature). The ultimate would of course be a Playlist switcher that automatically changed playlist names to reflect contents in the best possible way, with the limited number of characters available. The thought of mimicking this in a reasonable way is just something I find fascinating.

Nah, I’d better start practicing by continue working on some components I made a while back, rather than bothering everyone else with my dreams of what the future might bring…

Columns UI

Reply #2854
how do i stack columns on top of each other rather than next to each other...thanks


moderation: removed unnecessary full quote of the previous post by upNorth

Columns UI

Reply #2855
If you want to have kinda the same effect of your huge quote, you have to use a vertical splitter then add all your stuff in it

Columns UI

Reply #2856
Is there a way to change the font on the menu toolbar?


Columns UI

Reply #2858
Quote
' date='Apr 13 2006, 05:01 PM' post='382209']

Is there a way to change the font on the menu toolbar?

It must be the same font as the default system 'menu' font.

Actually, on my system, it corresponds to the font set for Icons.


Columns UI

Reply #2860

Sidebar question: If I put two panels into sidebar and hide both titles of them, I'm no more able to add/remove panels to the sidebar. There's no way to get the context menu for this. Is that correct? So I have to reset sidebar in the columns ui preferences and rebuild it.

Correct? Or is there an easier way?
You can right click in the separator between the two panels. Otherwise correct.

Thx, now I remember the problem: If I have only one panel without caption loaded, I cannot add another one. This was a problem escpecially with foo_uie_tabs, because youe had to completely rebuild it after resetting the sidebar.

Columns UI

Reply #2861
...had to completely rebuild it after resetting the sidebar.

If you save your .fcs after you get things set up, you can reload it and save a few steps (Preferences > Columns_UI > Main > export button for v.0.9; ...Columns_UI > Other > export button for v.0.8.3).
voted 'Most likely to veer your thread' three straight years!

Columns UI

Reply #2862
Quote
...is there a way to lock a panel in width and height or perhaps set a maximum and minimum for both so that maximizing foobar won't change the panels to undesired sizes?
You can lock any panel you want from resizing by checking "locked" in the layout preferences.
I, too, would like to be able to lock the panels so that they cannot be resized.  Is this possible?
I've tried the "Lock" function in the Columns UI layout preferences, but no dice. In fact, the "Lock" function seems to have no effect at all on any of the panels.  What is it supposed to do? What am I missing? 

Foobar v0.9
Columns UI v0.1.3 pre-alpha 17v6

Thanks!

~esa

Columns UI

Reply #2863
The lock function seemingly remembers the size of the panel when restoring from autohide, and prevents it from being automatically resized in this manner.

Columns UI

Reply #2864
Quote
' date='Apr 14 2006, 09:23 PM' post='382524']The lock function seemingly remembers the size of the panel when restoring from autohide, and prevents it from being automatically resized in this manner.
Thanks for the fast reply, and the info... 

So, (just to be clear) there is no way (yet) to lock the panels in such a way that they cannot be resized...  is that correct?

Columns UI

Reply #2865
Lock keeps the panels from being resized when you resize the window. For example, if you have an album-art panel and a PL-switcher panel in your side bar, you would probably want to lock the album-art one. That way, if you vertically resize your foobar window, the PL-switcher panel will stretch to fill that extra space and your album-art one will stay the same. On the other hand, if you locked both panels and then resized the window, the extra space would be filled with 'blank window' (usually a grey-ish colour).

You could still manually resize the album-art panel, though, by resizing the side bar horizontally or by dragging the edge between the album-art and PL-switcher panels.
~

Columns UI

Reply #2866
Hi. I've got question about Columns UI SDK. Any hints on how could I add my own toolbar (whith drop-down menu like in Playback order)?

SDK is well documented, but IMO it lacks examples. I wish there were sources for all default panels and toolbars available...
The same for foobar2000-SDK - there is only one example of plugin. I have to search HA for sources of other 3rd party plugins to see how some things are done.

Columns UI

Reply #2867
Lock keeps the panels from being resized when you resize the window. [...]  You could still manually resize the album-art panel, though, by resizing the side bar horizontally or by dragging the edge between the album-art and PL-switcher panels.
Thanks, lav-chan.

Columns UI

Reply #2868
the new inline tag editor is pretty sweet. what is the difference between Windows mode and columns UI though?

also, when you activate the inline editor is it possible to have the existing tag automatically show up in the editing field? this would actually make it easy to quickly edit the tag.


edit: forget i mentioned this.. i was using %%'s in the 'meta field to edit'
still dont know what the difference between windows and columns ui mode though.

Columns UI

Reply #2869
I have a question about playlist formatting. Is it possible to call up a field for the previous playlist item? I need this because I don't want the artist or album displayed if previous playlist entry is from the same album.

In other words is it possible for me to do the equivalent of:

If %album% from previous playlist entry is the same as %album% from current playlist entry then display '...' otherwise display %album%.

I know this is sort of possible by checking if the track number is 1 but only works if you have full albums in the playlist.

 

Columns UI

Reply #2870
I have a question about playlist formatting. Is it possible to call up a field for the previous playlist item?

Not at this time, no.  Playlist formatting works line-by-line, and there's no interaction between the lines.


Columns UI

Reply #2872
Is there a way to assign a button to a masstagger script?  It appears no option exists on the context menu choices when trying to bind to a button.

Columns UI

Reply #2873
Thx, now I remember the problem: If I have only one panel without caption loaded, I cannot add another one. This was a problem escpecially with foo_uie_tabs, because youe had to completely rebuild it after resetting the sidebar.
That is why sidebar is being axed in favour of something that doesn't have this limitation

Hi. I've got question about Columns UI SDK. Any hints on how could I add my own toolbar (whith drop-down menu like in Playback order)?

SDK is well documented, but IMO it lacks examples. I wish there were sources for all default panels and toolbars available...
The same for foobar2000-SDK - there is only one example of plugin. I have to search HA for sources of other 3rd party plugins to see how some things are done.
I am planning to add a couple example components to next version of sdk.

Here is simple example of a multiple-instance panel:
Code: [Select]
#include "../SDK/foobar2000.h"
#include "../helpers/helpers.h"
#include <commctrl.h>
#include <windowsx.h>

#include "../columns_ui-sdk/ui_extension.h"

/** Declare some information about our component */
DECLARE_COMPONENT_VERSION("Example Columns UI Panel",
"0.1",
"compiled: " __DATE__ "\n"
"with Panel API version: " UI_EXTENSION_VERSION
);

/** Our window class */
class example_window : public uie::container_ui_extension
{
public:
example_window();
~example_window();

virtual const GUID & get_extension_guid() const;
virtual void get_name(pfc::string_base & out)const;
virtual void get_category(pfc::string_base & out)const;
unsigned get_type () const;

private:
/** Our window procedure */
LRESULT on_message(HWND wnd,UINT msg,WPARAM wp,LPARAM lp);

virtual class_data & get_class_data()const;

static const GUID g_extension_guid;

/** Our child window */
HWND wnd_static;
};


example_window::example_window() : wnd_static(NULL)
{}

example_window::~example_window()
{}

LRESULT example_window::on_message(HWND wnd,UINT msg,WPARAM wp,LPARAM lp)
{

switch(msg)
{
case WM_CREATE:
{
RECT rc;
GetClientRect(wnd, &rc);

/** Create a static window, with text "Example" */
wnd_static = CreateWindowEx(0, WC_STATIC, _T("Example panel"),
WS_CHILD | WS_VISIBLE, 0, 0, rc.right, rc.bottom,
wnd, HMENU(0), core_api::get_my_instance(), NULL);
}
break;
case WM_SIZE:
/** Reposition our child window */
SetWindowPos(wnd_static, 0, 0, 0, LOWORD(lp), HIWORD(lp), SWP_NOZORDER);
break;
case WM_DESTROY:
/** DefWindowProc will destroy our child window. Set our window handle to NULL now. */
wnd_static=NULL;
break;
}
return DefWindowProc(wnd, msg, wp, lp);
}

example_window::class_data & example_window::get_class_data() const
{
__implement_get_class_data(_T("{79F574F1-DC70-4f3f-8155-384B00AE0679}"), true);
}

const GUID & example_window::get_extension_guid() const
{
return g_extension_guid;
}

void example_window::get_name(pfc::string_base & out)const
{
out.set_string("Example");
}
void example_window::get_category(pfc::string_base & out)const
{
out.set_string("Panels");
}
unsigned example_window::get_type() const{return uie::type_panel;}

/** Do not use the same GUID! */
// {79F574F1-DC70-4f3f-8155-384B00AE0679}
const GUID example_window::g_extension_guid =
{ 0x79f574f1, 0xdc70, 0x4f3f, { 0x81, 0x55, 0x38, 0x4b, 0x0, 0xae, 0x6, 0x79 } };

uie::window_factory<example_window> g_example_window_factory;
What you may want to do from there may include:
  • Change the child window to a Combo Box
  • Change the font of the child window using WM_SETFONT
  • Keep a list of the instances of your class that have windows
  • Use the above list to update your windows from callbacks/whatever
  • Change the type of the panel to uie::type_toolbar
  • Add the style WS_TABSTOP to your Combo Box
  • Handle the WM_GETMINMAXINFO window message
  • Subclass the Combo Box's window procedure and process key presses as indicated in window_host.h
  • Change the extension GUID
Is there a way to assign a button to a masstagger script?  It appears no option exists on the context menu choices when trying to bind to a button.
Strange, seems to be broken. I'll look into it.
.

Columns UI

Reply #2874
@musicmusic:

I know that you're quite busy and overwhelmed with feature-proposals. However, you didn't forget about my "contentgroups"-proposal(the one which would make albummode work also with incomplete albums) from a few months ago, right? : - )

- Lyx
I am arrogant and I can afford it because I deliver.