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: foo_vis_text (Text Visualizer) (Read 4314 times) previous topic - next topic
0 Members and 2 Guests are viewing this topic.

Re: foo_vis_text (Text Visualizer)

Reply #75
You have to be monumentally stupid to have a problem with the Columns UI api for retrieving colours.

Code: [Select]
//Default UI requires a GUID.
const COLORREF colour = m_callback->query_std_color(GUID);

//Columns UI requires an enum value
const COLORREF colour = cui::colours::helper().get_colour(ENUM_VALUE);

edit: added links...

DUI GUIDs
https://github.com/marc2k3/foobar2000-sdk/blob/7f047cf2e541dd2f756c023195ef95285947d201/foobar2000/SDK/ui_element.h#L84-L87

CUI enum
https://github.com/reupen/columns_ui-sdk/blob/164ab473464aaf2626544c9ee1dbb548a39282e5/columns_ui_appearance.h#L7-L13
Did you just call me stupid? Gotta work on your people skills, @marc2k3 , especially since you missed the point, again.

Re: foo_vis_text (Text Visualizer)

Reply #76
I haven't even begun to look at the colors in CUI yet. That API is so brutally broken and incomplete it is no fun to develop against. It's beyond me how it became so popular.
Well, it's old, and the person who created it wasn't even an adult when the first version was released. Largely the API is stuck as it is for compatibility reasons, but requests and suggestions are always welcome.

Dark mode is also documented here: https://columns-ui-sdk.readthedocs.io/en/latest/dark-mode.html
.

Re: foo_vis_text (Text Visualizer)

Reply #77
I haven't even begun to look at the colors in CUI yet. That API is so brutally broken and incomplete it is no fun to develop against. It's beyond me how it became so popular.
Well, it's old, and the person who created it wasn't even an adult when the first version was released. Largely the API is stuck as it is for compatibility reasons, but requests and suggestions are always welcome.

Dark mode is documented here: https://columns-ui-sdk.readthedocs.io/en/latest/dark-mode.html
@musicmusic , thx but that's not the problem. I already wrestled with it for foo_vis_spectrum_analyzer, including the colors. It's just overall weird. The fb2k api is not easy but it's more consistent.

But let's stick to the topic. We're boring the people looking for information on foo_vis_text.

 

Re: foo_vis_text (Text Visualizer)

Reply #78
Wow, this seems promising. Me being a dunderhead, I'm compelled to start messing with this in Linux under WINE. ::) It's, uh, not working. Can you believe it?

I did find an installer for WebView2 and installed that. However, fb2k just crashes as soon as I try to play anything. I even have to kill the process manually after the crash report dialog closes. I'll include that, FWIW.

I don't expect that this is on your radar, nor should it be right now, if ever. I only mention it in hopes that someone similarly afflicted can chime in with their brilliant fix.