# Tab icons

The tab list's icons are from "Pixel Art Generic Icons" by Reff Pixels (Pablo Rodriguez),
https://reffpixels.itch.io/genericicons, licensed CC BY-ND 4.0 together with Reff Pixels' Itch.io Asset Licence
Agreement (the pack's `LICENCE.txt`). For Punchy that means:

- They may be used in one product, Punchy, free or commercial.
- The artist's name goes in Punchy's credits under "additional art assets" (or a fitting heading): "Pixel Art Generic
  Icons by Reff Pixels (reffpixels.com)".
- The artist is told by e-mail (reffpixels@gmail.com) when Punchy is released with them.
- They are not redistributed, shared or offered for extraction outside Punchy, and not used in a logo or with any
  blockchain technology.

`make_tab_icons.py` copies the 13 icons the tabs use, byte for byte, from the pack's `Small (24x24) PNG` folder into
`menu/punchy/src/main/resources/assets/punchy/textures/gui/menu/tabs/`, named after the tab glyph they replace
(Minecraft's resource names allow no spaces). The pack itself is not part of the module. The menu draws each icon at a
whole number of framebuffer pixels per icon pixel near 16 menu pixels (`TabIcons`), so they stay sharp at every GUI
scale.

The pack has no picture for two tabs of Punchy Moves, so `draw_tab_tiles.py` draws them on the pack's tile: `face.png`
(the Face tab, eyes under raised brows, in the pack's purple) and `toggles.png` (the Features tab, two switches, in a
teal made with the pack's steps). They are edits of the pack, which its licence allows for use in the product: like
the copied icons they ship inside Punchy only and are never redistributed or offered for extraction, Punchy Moves
included, which only names them as built-in glyphs.

# Control icons

The refresh (replay and reset), search and close icons are from the Pixel Icon Library by HackerNoon,
https://pixeliconlibrary.com, https://github.com/hackernoon/pixel-icon-library. The icon files are licensed CC BY 4.0
(https://creativecommons.org/licenses/by/4.0/): credit "Icons from Pixel Icon Library by HackerNoon" with a link to the
license, and say whether they were changed. They were not: `refresh.png`, `search.png` and `close.png` in
`menu/punchy/src/main/resources/assets/punchy/textures/gui/menu/glyphs/` are byte copies of the library's
`icons/PNG/for-dark-mode/24px/solid/refresh-solid.png`, `regular/search.png` and `solid/times-solid.png`, white so the
menu tints them. They are drawn one icon pixel per whole number of framebuffer pixels near 12 menu pixels (`UiIcons`).
