# Licenses of `snippets_buttons`

## License of code

LPGL 3.0 applies. However, all other copyright notice must be kept.

### LGPL (`LGPL-3.0-only`)

This applies to all codes.

        snippet_buttons: More toggles for snippets
        Copyright (C) 2024  1F616EMO

        This program is free software: you can redistribute it and/or modify
        it under the terms of the GNU Lesser General Public License as published by
        the Free Software Foundation, version 3 of the License.

        This program is distributed in the hope that it will be useful,
        but WITHOUT ANY WARRANTY; without even the implied warranty of
        MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
        GNU Lesser General Public License for more details.

        You should have received a copy of the GNU Lesser General Public License
        along with this program.  If not, see <https://www.gnu.org/licenses/>.

### MIT (`MIT`) for luk3yx's code

This applies to `src/api.lua`.

        Copyright © 2019 by luk3yx.

        Permission is hereby granted, free of charge, to any person obtaining a copy
        of this software and associated documentation files (the "Software"), to deal
        in the Software without restriction, including without limitation the rights
        to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
        copies of the Software, and to permit persons to whom the Software is
        furnished to do so, subject to the following conditions:
        The above copyright notice and this permission notice shall be included in all
        copies or substantial portions of the Software.

        THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
        IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
        FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
        AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
        LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
        OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
        SOFTWARE.

### LGPL (`LGPL-3.0-only`) for Mesecons

This applies to `src/btn_visual_btn.lua`. The original copyright notice was kept as-is, despite having some uncommon wordings.

        Copyright (C) 2011-2016 Mesecons Mod Developer Team and contributors

        This program is free software; you can redistribute the Mesecons Mod and/or
        modify it under the terms of the GNU Lesser General Public License version 3
        published by the Free Software Foundation.

        This library is distributed in the hope that it will be useful,
        but WITHOUT ANY WARRANTY; without even the implied warranty of
        MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
        Library General Public License for more details.

        You should have received a copy of the GNU Library General Public
        License along with this library; if not, write to the
        Free Software Foundation, Inc., 51 Franklin St, Fifth Floor,
        Boston, MA  02110-1301, USA.

## License of media

### CC BY-SA 3.0 (`CC-BY-SA-3.0`) for Mesecons

This applies to `textures/snippets_buttons_visual_btn.png` and `textures/snippets_buttons_visual_btn_side.png`. The second one was modified by 1F616EMO.

For the original files, they are created by Mesecons Mod Developer Team and contributors and are licensed under the [Attribution-ShareAlike 3.0 Unported](http://creativecommons.org/licenses/by-sa/3.0/) license.

### CC BY-SA 4.0 (`CC-BY-SA-4.0`) for other media

This applies to the following textures:

* `textures/snippets_buttons_sprite_question_sq.png`
* `textures/snippets_buttons_sprite_question.png`
* `textures/snippets_buttons_sprite_warning_sq.png`.
* `textures/snippets_buttons_sprite_warning.png`.

The above mentioned work by 1F616EMO is licensed under [CC BY-SA 4.0](http://creativecommons.org/licenses/by-sa/4.0/).
