wxMaterialDesignArtProvider

70 views
Skip to first unread message

Federico Perini

unread,
Nov 8, 2023, 1:41:20 PM11/8/23
to wx-dev
Dear all, 

first of all congratulations on the hard work on the wxwidgets library, it's really awesome software! Since I'm new here, let me point to info about myself here

I'm writing cause I've released `wxMaterialDesignArtProvider` on GitHub, it's a custom art provider that contains the Material Design icons. 

It's based on the SVG versions of the icons, so any sizes can be generated smoothly including wxBitmapBundle's.
The icon library is automatically generated from a Python script, so in the future, we could track changes to the icon repository and introduce updates automatically. All icons are hardcoded into the headers, so that issues with including external files are avoided.

I've added some functionality to customize the icons with a user-defined color, that goes beyond the `wxArtProvider` API, but hopefully it's not a big deal for the experienced wx programmers  :wink:

Here are some examples of the art browser with Material Design icons:
Windows
Mac

I would like to thank all wxWidgets forum enthusiasts that helped me along the way and especially getting started with wxWidgets, that is highly appreciated! 
If you think there are places this component could be advertised to get to a broader audience, please let me know and I'll be happy to help. Or even merge it to the wxWidgets main repo, if there is any interest. 

The Material Design icons are subject to the Apache 2.0 license, while the Font-Awesome icons which are also part of the art provider are subject to CC BY 4.0, it seems like it should be ok to share and embed code with it.

Eager to receive your comments,
Federico

Vadim Zeitlin

unread,
Nov 8, 2023, 1:49:31 PM11/8/23
to wx-...@googlegroups.com
On Wed, 8 Nov 2023 10:38:47 -0800 (PST) Federico Perini wrote:

FP> Dear all,
FP>
FP> first of all congratulations on the hard work on the wxwidgets library,
FP> it's really awesome software! Since I'm new here, let me point to info
FP> about myself here <http://github.com/perazz>.

Hello Federico.

Welcome to this list and thank you for your kind words!

After looking at your profile and the projects you're working on, I have
just one burning question: when do you plan to create wxFortran? ;-)

FP> I'm writing cause I've released `wxMaterialDesignArtProvider
FP> <https://github.com/perazz/wxMaterialDesignArtProvider>` on GitHub, it's a
FP> custom art provider that contains the Material Design icons.

This looks nice, thank you for letting us know!

FP> If you think there are places this component could be advertised to get to
FP> a broader audience, please let me know and I'll be happy to help.

I'd be glad to post a news item or a blog post to www.wxwidgets.org but
I'd be even gladder to accept a PR for https://github.com/wxWidgets/website/
repository adding such post if you can write one yourself!

FP> Or even merge it to the wxWidgets main repo, if there is any interest.

I'm not sure about this, but thanks for the offer. If this becomes popular
and becomes used in many (or at least several) wx applications, maybe we
should do it.

Thanks again!
VZ

Federico Perini

unread,
Nov 8, 2023, 3:48:16 PM11/8/23
to wx-dev
Thank you Vadim, 
 
when do you plan to create wxFortran? ;-)


I've thought about this many times... it's definitely in the cards for whenever I'm going to get more proficient with C++.
 
I'd be even gladder to accept a PR for https://github.com/wxWidgets/website/
repository adding such post if you can write one yourself!


It's probably the best way to test if there is interest in it, so I'm going to open a PR with a post on the repo directly. 

Thank you!
Federico
 
Reply all
Reply to author
Forward
0 new messages