{"id":15720700,"url":"https://github.com/mcorino/wxruby3-materialdesignartprovider","last_synced_at":"2025-10-17T03:53:36.906Z","repository":{"id":240057851,"uuid":"776841355","full_name":"mcorino/wxRuby3-MaterialDesignArtProvider","owner":"mcorino","description":"MaterialDesign Art Provider for wxRuby3","archived":false,"fork":false,"pushed_at":"2025-08-25T06:30:59.000Z","size":8262,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-10T01:19:57.524Z","etag":null,"topics":["cross-platform","cross-platform-gui","gtk","gtk3","gui","linux","mac","osx","ruby","win32","windows","wxruby","wxruby3"],"latest_commit_sha":null,"homepage":"https://mcorino.github.io/wxRuby3-MaterialDesignArtProvider/","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mcorino.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2024-03-24T15:44:11.000Z","updated_at":"2025-08-25T06:30:57.000Z","dependencies_parsed_at":"2025-06-15T10:17:44.641Z","dependency_job_id":null,"html_url":"https://github.com/mcorino/wxRuby3-MaterialDesignArtProvider","commit_stats":null,"previous_names":["mcorino/wxruby3-materialdesignartprovider"],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/mcorino/wxRuby3-MaterialDesignArtProvider","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mcorino%2FwxRuby3-MaterialDesignArtProvider","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mcorino%2FwxRuby3-MaterialDesignArtProvider/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mcorino%2FwxRuby3-MaterialDesignArtProvider/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mcorino%2FwxRuby3-MaterialDesignArtProvider/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mcorino","download_url":"https://codeload.github.com/mcorino/wxRuby3-MaterialDesignArtProvider/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mcorino%2FwxRuby3-MaterialDesignArtProvider/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279279224,"owners_count":26139072,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-17T02:00:07.504Z","response_time":56,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cross-platform","cross-platform-gui","gtk","gtk3","gui","linux","mac","osx","ruby","win32","windows","wxruby","wxruby3"],"created_at":"2024-10-03T21:59:54.330Z","updated_at":"2025-10-17T03:53:34.349Z","avatar_url":"https://github.com/mcorino.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![License](https://img.shields.io/badge/license-MIT-yellowgreen.svg)](LICENSE)\n[![Gem Version](https://badge.fury.io/rb/wxruby3-mdap.svg)](https://badge.fury.io/rb/wxruby3-mdap)\n[![Documentation](https://img.shields.io/badge/docs-pages-blue.svg)](https://mcorino.github.io/wxRuby3-MaterialDesignArtProvider)\n\n# Material Design Art Provider for wxRuby3\n\nThis custom Art Provider was inspired by [wxMaterialDesignArtProvider](https://github.com/perazz/wxMaterialDesignArtProvider) \nbut rewritten in pure Ruby for use with [wxRuby3](https://github.com/mcorino/wxRuby3).\u003cbr\u003e\nSee the [License](#license) section below to see where the original icons were taken from.\n\n![screenshots](assets/readme-screenshots.png)\n\n## Installing\n\nwxRuby3-MaterialDesignArtProvider is distributed as a Ruby gem on [RubyGems](https://rubygems.org/). This gem can also \nbe downloaded from the release assets on [Github](https://github.com/mcorino/wxRuby3-MaterialDesignArtProvider/releases).\n\nInstalling the gem requires no additional installation steps and/or additional software to be installed except for a\nsupported version of the Ruby interpreter. So the following command is all it takes to install:\n\n~~~shell\ngem install wxruby3-mdap\n~~~\n\n## Using\n\nTo add [Wx::MDAP::MaterialDesignArtProvider](https://mcorino.github.io/wxRuby3-MaterialDesignArtProvider/Wx/MDAP/MaterialDesignArtProvider.html) \nto your project you first need to `require` it like this:\n\n~~~ruby\nrequire 'wx'        # make sure the wxRuby3 libraries have been loaded \nrequire 'wx/mdap'   # now load the wxRuby3-MaterialDesignArtProvider library\n~~~\n\nNext, before you load images through [Wx::ArtProvider](https://mcorino.github.io/wxRuby3/Wx/ArtProvider.html) register \nthe [Wx::MDAP::MaterialDesignArtProvider](https://mcorino.github.io/wxRuby3-MaterialDesignArtProvider/Wx/MDAP/MaterialDesignArtProvider.html) like this:\n\n~~~ruby\nWx::ArtProvider.push(Wx::MDAP::MaterialDesignArtProvider.new)\n# You can in fact normally also reference the class as `Wx::MaterialDesignArtProvider` (unless the constant \n# `Wx::MaterialDesignArtProvider` was already defined before requiring 'wx/mdap').\n~~~\n\nNow that the new art provider has been installed the new Material Design art ids can be used. Constants for these are\nall defined in the `Wx::MDAP` module as 'Wx::MDAP::ART_*ICON_NAME*' (see [here](https://mcorino.github.io/wxRuby3-MaterialDesignArtProvider/Wx/MDAP.html)).\nMany of these art ids are available under most of the various client ids (also defined [here](https://mcorino.github.io/wxRuby3-MaterialDesignArtProvider/Wx/MDAP.html))\nwhile others are only available under some client ids (as can be seen in the documentation).\nThe client ids each correspond to a different collection in the full dataset: \n\n- **Material Design** art\n  - `Wx::MDAP::ART_MATERIAL_DESIGN_FILLED`\n  - `Wx::MDAP::ART_MATERIAL_DESIGN_OUTLINE`\n  - `Wx::MDAP::ART_MATERIAL_DESIGN_ROUND`\n  - `Wx::MDAP::ART_MATERIAL_DESIGN_SHARP`\n  - `Wx::MDAP::ART_MATERIAL_DESIGN_TWO_TONE`\n- **Font Awesome** art\n  - `Wx::MDAP::ART_FONT_AWESOME_SOLID`\n  - `Wx::MDAP::ART_FONT_AWESOME_REGULAR`\n  - `Wx::MDAP::ART_FONT_AWESOME_BRANDS`\n- **Fluent UI** art\n  - `Wx::MDAP::ART_FLUENT_UI_FILLED`\n  - `Wx::MDAP::ART_FLUENT_UI_REGULAR`\n- **Simple Icons** art\n  - `Wx::MDAP::ART_SIMPLE_ICONS_ICONS`\n\nOf these collections, `Wx::MDAP::ART_FONT_AWESOME_BRANDS` and `Wx::MDAP::ART_SIMPLE_ICONS_ICONS` are the odd\nones out as these do not contain any action/function icons but rather brand/logo icons. \n\n### Extensions\n\nwxRuby3-MaterialDesignArtProvider offers several extensions to improve options for using the Material Design art:\n\n1. `Wx::MDAP::MaterialDesignArtProvider` supports mapping of standard wxRuby3 Art (Client) ids to Material Design ids so \n   you can transparently switch standard art;\n2. `Wx::MDAP::MaterialDesignArtProvider` supports using custom colors with Material Design art;\n3. `Wx::MDAP::MaterialDesignArtProvider` supports using custom default sizes with Material Design art.\n\nSee [Wx::MDAP::MaterialDesignArtProvider](https://mcorino.github.io/wxRuby3-MaterialDesignArtProvider/Wx/MDAP/MaterialDesignArtProvider.html)\nfor details concerning these extensions.\n\n### Example\n\nFor more details and a working example of how to use [Wx::MDAP::MaterialDesignArtProvider](https://mcorino.github.io/wxRuby3-MaterialDesignArtProvider/Wx/MDAP/MaterialDesignArtProvider.html)\nsee [here](USAGE.md).\n\n## License\n\n- FontAwesome icons from the FontAwesome 6 SVG set are subject to the [CC BY 4.0 License](CCBY4.0-LICENSE)\u003cbr\u003e\n  (the included icons have been copied from https://github.com/FortAwesome/Font-Awesome)\n- MaterialDesign icons are created by Google and subject to the [Apache 2.0 License](Apache2.0-LICENSE)\u003cbr\u003e\n  (the included SVG icons have been copied from https://github.com/marella/material-design-icons)\n- SimpleIcons are subject to the [CC0 1.0 License](CC01.0-LICENSE.md)\u003cbr\u003e\n  (the included icons haven been copied from https://github.com/simple-icons/simple-icons)\n- FluentUI icons are subject to the [MIT License](LICENSE)\u003cbr\u003e\n  (included SVG icons taken from [FluentUI icons](https://github.com/microsoft/fluentui-system-icons))\n\nThe wxRuby3 MaterialDesignArtProvider library itself is released under the [MIT License](LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmcorino%2Fwxruby3-materialdesignartprovider","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmcorino%2Fwxruby3-materialdesignartprovider","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmcorino%2Fwxruby3-materialdesignartprovider/lists"}