TheQwertiest / foo_spider_monkey_panel

foobar2000 component that allows to use JavaScript to create CUI/DUI panels
https://theqwertiest.github.io/foo_spider_monkey_panel/
MIT License
261 stars 20 forks source link

Replace `PropertyList` with libPPUI implementation #85

Open ghost opened 4 years ago

ghost commented 4 years ago

Have you looked at this in the new fb2k SDK? I'm currently in the process of re-writing my Properties dialog by ditching that ancient PropertyList code and replacing it with this.

A little preview:

Untitled

I just need to do some testing on the conversion of text strings back to number variants etc.

It's pretty much based entirely on this from foo_sample if you want to take a look right now..

https://github.com/marc2k3/foobar2000-SDK/blob/master/foobar2000/foo_sample/listcontrol-advanced.cpp

TheQwertiest commented 4 years ago

Looks pretty neat! I have yet to check the libPPui... But it seems that it is worth investing some time into it.

ghost commented 4 years ago

You can point and laugh at my changes here...

https://github.com/marc2k3/foo_jscript_panel/commit/dcd8ece2ba5003a949b07f72bc3fe864ed705770

The removal of old code went in a previous commit

https://github.com/marc2k3/foo_jscript_panel/commit/c3bef8fa1ff3d0955695e78feccc6de634c5690c