著作権
守矢諏訪子 <suwako@076.moe>、2026-06-26 01:58
コミット d153e8dfe704ec966951175cdd3af518cbad9e9a
・親 8bb473d
・ファイルを見る
9個のファイル、+307 -1
| @@ -1,3 +1,37 @@ | ||
| 1 | +/* | |
| 2 | +Copyright (c) テクニカル諏訪子 | |
| 3 | + | |
| 4 | +Permission is hereby granted to any person obtaining a copy of the software | |
| 5 | +Shader Playground (the "Software") to use, modify, merge, copy, publish, distribute, | |
| 6 | +sublicense, and/or sell copies of the Software, subject to the following conditions: | |
| 7 | + | |
| 8 | + 1. **Origin Attribution**: | |
| 9 | + - You must not misrepresent the origin of the Software; you must not claim | |
| 10 | + you created the original Software. | |
| 11 | + - If the Software is used in a product, you must either: | |
| 12 | + a. Provide clear attribution in the product's documentation, user interface, | |
| 13 | + or other visible areas, **OR** | |
| 14 | + b. Pay the original developers a fee they specify in writing. | |
| 15 | + 2. **Usage Restriction**: | |
| 16 | + - The Software, or any derivative works, dependencies, or libraries | |
| 17 | + incorporating it, must not be used for censorship or to suppress freedom of | |
| 18 | + speech, expression, or creativity. Prohibited uses include, but are not | |
| 19 | + limited to: | |
| 20 | + - Censorship of so-called "hate speech", visuals, non-mainstream opinions, | |
| 21 | + ideas, or objective reality. | |
| 22 | + - Tools or systems designed to restrict access to information or | |
| 23 | + artistic works. | |
| 24 | + 3. **Notice Preservation**: | |
| 25 | + - This license and the above copyright notice must remain intact in all copies | |
| 26 | + of the source code. | |
| 27 | + | |
| 28 | +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, | |
| 29 | +INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A | |
| 30 | +PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT | |
| 31 | +HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF | |
| 32 | +CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE | |
| 33 | +OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. | |
| 34 | +*/ | |
| 1 | 35 | #pragma once |
| 2 | 36 | |
| 3 | 37 | #include <util/types.hh> |
| @@ -1,3 +1,37 @@ | ||
| 1 | +/* | |
| 2 | +Copyright (c) テクニカル諏訪子 | |
| 3 | + | |
| 4 | +Permission is hereby granted to any person obtaining a copy of the software | |
| 5 | +Shader Playground (the "Software") to use, modify, merge, copy, publish, distribute, | |
| 6 | +sublicense, and/or sell copies of the Software, subject to the following conditions: | |
| 7 | + | |
| 8 | + 1. **Origin Attribution**: | |
| 9 | + - You must not misrepresent the origin of the Software; you must not claim | |
| 10 | + you created the original Software. | |
| 11 | + - If the Software is used in a product, you must either: | |
| 12 | + a. Provide clear attribution in the product's documentation, user interface, | |
| 13 | + or other visible areas, **OR** | |
| 14 | + b. Pay the original developers a fee they specify in writing. | |
| 15 | + 2. **Usage Restriction**: | |
| 16 | + - The Software, or any derivative works, dependencies, or libraries | |
| 17 | + incorporating it, must not be used for censorship or to suppress freedom of | |
| 18 | + speech, expression, or creativity. Prohibited uses include, but are not | |
| 19 | + limited to: | |
| 20 | + - Censorship of so-called "hate speech", visuals, non-mainstream opinions, | |
| 21 | + ideas, or objective reality. | |
| 22 | + - Tools or systems designed to restrict access to information or | |
| 23 | + artistic works. | |
| 24 | + 3. **Notice Preservation**: | |
| 25 | + - This license and the above copyright notice must remain intact in all copies | |
| 26 | + of the source code. | |
| 27 | + | |
| 28 | +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, | |
| 29 | +INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A | |
| 30 | +PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT | |
| 31 | +HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF | |
| 32 | +CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE | |
| 33 | +OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. | |
| 34 | +*/ | |
| 1 | 35 | #pragma once |
| 2 | 36 | |
| 3 | 37 | #include <util/types.hh> |
| @@ -1,3 +1,37 @@ | ||
| 1 | +/* | |
| 2 | +Copyright (c) テクニカル諏訪子 | |
| 3 | + | |
| 4 | +Permission is hereby granted to any person obtaining a copy of the software | |
| 5 | +Shader Playground (the "Software") to use, modify, merge, copy, publish, distribute, | |
| 6 | +sublicense, and/or sell copies of the Software, subject to the following conditions: | |
| 7 | + | |
| 8 | + 1. **Origin Attribution**: | |
| 9 | + - You must not misrepresent the origin of the Software; you must not claim | |
| 10 | + you created the original Software. | |
| 11 | + - If the Software is used in a product, you must either: | |
| 12 | + a. Provide clear attribution in the product's documentation, user interface, | |
| 13 | + or other visible areas, **OR** | |
| 14 | + b. Pay the original developers a fee they specify in writing. | |
| 15 | + 2. **Usage Restriction**: | |
| 16 | + - The Software, or any derivative works, dependencies, or libraries | |
| 17 | + incorporating it, must not be used for censorship or to suppress freedom of | |
| 18 | + speech, expression, or creativity. Prohibited uses include, but are not | |
| 19 | + limited to: | |
| 20 | + - Censorship of so-called "hate speech", visuals, non-mainstream opinions, | |
| 21 | + ideas, or objective reality. | |
| 22 | + - Tools or systems designed to restrict access to information or | |
| 23 | + artistic works. | |
| 24 | + 3. **Notice Preservation**: | |
| 25 | + - This license and the above copyright notice must remain intact in all copies | |
| 26 | + of the source code. | |
| 27 | + | |
| 28 | +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, | |
| 29 | +INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A | |
| 30 | +PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT | |
| 31 | +HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF | |
| 32 | +CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE | |
| 33 | +OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. | |
| 34 | +*/ | |
| 1 | 35 | #pragma once |
| 2 | 36 | |
| 3 | 37 | #include <util/types.hh> |
| @@ -1,3 +1,37 @@ | ||
| 1 | +/* | |
| 2 | +Copyright (c) テクニカル諏訪子 | |
| 3 | + | |
| 4 | +Permission is hereby granted to any person obtaining a copy of the software | |
| 5 | +Shader Playground (the "Software") to use, modify, merge, copy, publish, distribute, | |
| 6 | +sublicense, and/or sell copies of the Software, subject to the following conditions: | |
| 7 | + | |
| 8 | + 1. **Origin Attribution**: | |
| 9 | + - You must not misrepresent the origin of the Software; you must not claim | |
| 10 | + you created the original Software. | |
| 11 | + - If the Software is used in a product, you must either: | |
| 12 | + a. Provide clear attribution in the product's documentation, user interface, | |
| 13 | + or other visible areas, **OR** | |
| 14 | + b. Pay the original developers a fee they specify in writing. | |
| 15 | + 2. **Usage Restriction**: | |
| 16 | + - The Software, or any derivative works, dependencies, or libraries | |
| 17 | + incorporating it, must not be used for censorship or to suppress freedom of | |
| 18 | + speech, expression, or creativity. Prohibited uses include, but are not | |
| 19 | + limited to: | |
| 20 | + - Censorship of so-called "hate speech", visuals, non-mainstream opinions, | |
| 21 | + ideas, or objective reality. | |
| 22 | + - Tools or systems designed to restrict access to information or | |
| 23 | + artistic works. | |
| 24 | + 3. **Notice Preservation**: | |
| 25 | + - This license and the above copyright notice must remain intact in all copies | |
| 26 | + of the source code. | |
| 27 | + | |
| 28 | +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, | |
| 29 | +INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A | |
| 30 | +PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT | |
| 31 | +HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF | |
| 32 | +CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE | |
| 33 | +OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. | |
| 34 | +*/ | |
| 1 | 35 | #pragma once |
| 2 | 36 | |
| 3 | 37 | #include <util/types.hh> |
| @@ -1,3 +1,37 @@ | ||
| 1 | +/* | |
| 2 | +Copyright (c) テクニカル諏訪子 | |
| 3 | + | |
| 4 | +Permission is hereby granted to any person obtaining a copy of the software | |
| 5 | +Shader Playground (the "Software") to use, modify, merge, copy, publish, distribute, | |
| 6 | +sublicense, and/or sell copies of the Software, subject to the following conditions: | |
| 7 | + | |
| 8 | + 1. **Origin Attribution**: | |
| 9 | + - You must not misrepresent the origin of the Software; you must not claim | |
| 10 | + you created the original Software. | |
| 11 | + - If the Software is used in a product, you must either: | |
| 12 | + a. Provide clear attribution in the product's documentation, user interface, | |
| 13 | + or other visible areas, **OR** | |
| 14 | + b. Pay the original developers a fee they specify in writing. | |
| 15 | + 2. **Usage Restriction**: | |
| 16 | + - The Software, or any derivative works, dependencies, or libraries | |
| 17 | + incorporating it, must not be used for censorship or to suppress freedom of | |
| 18 | + speech, expression, or creativity. Prohibited uses include, but are not | |
| 19 | + limited to: | |
| 20 | + - Censorship of so-called "hate speech", visuals, non-mainstream opinions, | |
| 21 | + ideas, or objective reality. | |
| 22 | + - Tools or systems designed to restrict access to information or | |
| 23 | + artistic works. | |
| 24 | + 3. **Notice Preservation**: | |
| 25 | + - This license and the above copyright notice must remain intact in all copies | |
| 26 | + of the source code. | |
| 27 | + | |
| 28 | +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, | |
| 29 | +INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A | |
| 30 | +PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT | |
| 31 | +HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF | |
| 32 | +CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE | |
| 33 | +OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. | |
| 34 | +*/ | |
| 1 | 35 | #include <gui/consolelog.hh> |
| 2 | 36 | #include <imgui.h> |
| 3 | 37 |
| @@ -1,3 +1,37 @@ | ||
| 1 | +/* | |
| 2 | +Copyright (c) テクニカル諏訪子 | |
| 3 | + | |
| 4 | +Permission is hereby granted to any person obtaining a copy of the software | |
| 5 | +Shader Playground (the "Software") to use, modify, merge, copy, publish, distribute, | |
| 6 | +sublicense, and/or sell copies of the Software, subject to the following conditions: | |
| 7 | + | |
| 8 | + 1. **Origin Attribution**: | |
| 9 | + - You must not misrepresent the origin of the Software; you must not claim | |
| 10 | + you created the original Software. | |
| 11 | + - If the Software is used in a product, you must either: | |
| 12 | + a. Provide clear attribution in the product's documentation, user interface, | |
| 13 | + or other visible areas, **OR** | |
| 14 | + b. Pay the original developers a fee they specify in writing. | |
| 15 | + 2. **Usage Restriction**: | |
| 16 | + - The Software, or any derivative works, dependencies, or libraries | |
| 17 | + incorporating it, must not be used for censorship or to suppress freedom of | |
| 18 | + speech, expression, or creativity. Prohibited uses include, but are not | |
| 19 | + limited to: | |
| 20 | + - Censorship of so-called "hate speech", visuals, non-mainstream opinions, | |
| 21 | + ideas, or objective reality. | |
| 22 | + - Tools or systems designed to restrict access to information or | |
| 23 | + artistic works. | |
| 24 | + 3. **Notice Preservation**: | |
| 25 | + - This license and the above copyright notice must remain intact in all copies | |
| 26 | + of the source code. | |
| 27 | + | |
| 28 | +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, | |
| 29 | +INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A | |
| 30 | +PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT | |
| 31 | +HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF | |
| 32 | +CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE | |
| 33 | +OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. | |
| 34 | +*/ | |
| 1 | 35 | #include <gui/editor.hh> |
| 2 | 36 | |
| 3 | 37 | namespace gui { |
| @@ -32,7 +66,7 @@ | ||
| 32 | 66 | ImGui::PushFont(m_MonoFont); |
| 33 | 67 | m_Editor.Render(m_RenderName.c_str()); |
| 34 | 68 | ImGui::PopFont(); |
| 35 | - RenderStatusBar(m_Editor); | |
| 69 | + //RenderStatusBar(m_Editor); | |
| 36 | 70 | ImGui::End(); |
| 37 | 71 | } |
| 38 | 72 |
| @@ -1,3 +1,37 @@ | ||
| 1 | +/* | |
| 2 | +Copyright (c) テクニカル諏訪子 | |
| 3 | + | |
| 4 | +Permission is hereby granted to any person obtaining a copy of the software | |
| 5 | +Shader Playground (the "Software") to use, modify, merge, copy, publish, distribute, | |
| 6 | +sublicense, and/or sell copies of the Software, subject to the following conditions: | |
| 7 | + | |
| 8 | + 1. **Origin Attribution**: | |
| 9 | + - You must not misrepresent the origin of the Software; you must not claim | |
| 10 | + you created the original Software. | |
| 11 | + - If the Software is used in a product, you must either: | |
| 12 | + a. Provide clear attribution in the product's documentation, user interface, | |
| 13 | + or other visible areas, **OR** | |
| 14 | + b. Pay the original developers a fee they specify in writing. | |
| 15 | + 2. **Usage Restriction**: | |
| 16 | + - The Software, or any derivative works, dependencies, or libraries | |
| 17 | + incorporating it, must not be used for censorship or to suppress freedom of | |
| 18 | + speech, expression, or creativity. Prohibited uses include, but are not | |
| 19 | + limited to: | |
| 20 | + - Censorship of so-called "hate speech", visuals, non-mainstream opinions, | |
| 21 | + ideas, or objective reality. | |
| 22 | + - Tools or systems designed to restrict access to information or | |
| 23 | + artistic works. | |
| 24 | + 3. **Notice Preservation**: | |
| 25 | + - This license and the above copyright notice must remain intact in all copies | |
| 26 | + of the source code. | |
| 27 | + | |
| 28 | +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, | |
| 29 | +INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A | |
| 30 | +PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT | |
| 31 | +HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF | |
| 32 | +CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE | |
| 33 | +OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. | |
| 34 | +*/ | |
| 1 | 35 | #include <gui/guiengine.hh> |
| 2 | 36 | #include <util/glfwpp.hh> |
| 3 | 37 |
| @@ -1,3 +1,37 @@ | ||
| 1 | +/* | |
| 2 | +Copyright (c) テクニカル諏訪子 | |
| 3 | + | |
| 4 | +Permission is hereby granted to any person obtaining a copy of the software | |
| 5 | +Shader Playground (the "Software") to use, modify, merge, copy, publish, distribute, | |
| 6 | +sublicense, and/or sell copies of the Software, subject to the following conditions: | |
| 7 | + | |
| 8 | + 1. **Origin Attribution**: | |
| 9 | + - You must not misrepresent the origin of the Software; you must not claim | |
| 10 | + you created the original Software. | |
| 11 | + - If the Software is used in a product, you must either: | |
| 12 | + a. Provide clear attribution in the product's documentation, user interface, | |
| 13 | + or other visible areas, **OR** | |
| 14 | + b. Pay the original developers a fee they specify in writing. | |
| 15 | + 2. **Usage Restriction**: | |
| 16 | + - The Software, or any derivative works, dependencies, or libraries | |
| 17 | + incorporating it, must not be used for censorship or to suppress freedom of | |
| 18 | + speech, expression, or creativity. Prohibited uses include, but are not | |
| 19 | + limited to: | |
| 20 | + - Censorship of so-called "hate speech", visuals, non-mainstream opinions, | |
| 21 | + ideas, or objective reality. | |
| 22 | + - Tools or systems designed to restrict access to information or | |
| 23 | + artistic works. | |
| 24 | + 3. **Notice Preservation**: | |
| 25 | + - This license and the above copyright notice must remain intact in all copies | |
| 26 | + of the source code. | |
| 27 | + | |
| 28 | +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, | |
| 29 | +INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A | |
| 30 | +PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT | |
| 31 | +HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF | |
| 32 | +CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE | |
| 33 | +OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. | |
| 34 | +*/ | |
| 1 | 35 | #include <gui/titlebar.hh> |
| 2 | 36 | |
| 3 | 37 | #include <imgui.h> |
| @@ -1,3 +1,37 @@ | ||
| 1 | +/* | |
| 2 | +Copyright (c) テクニカル諏訪子 | |
| 3 | + | |
| 4 | +Permission is hereby granted to any person obtaining a copy of the software | |
| 5 | +Shader Playground (the "Software") to use, modify, merge, copy, publish, distribute, | |
| 6 | +sublicense, and/or sell copies of the Software, subject to the following conditions: | |
| 7 | + | |
| 8 | + 1. **Origin Attribution**: | |
| 9 | + - You must not misrepresent the origin of the Software; you must not claim | |
| 10 | + you created the original Software. | |
| 11 | + - If the Software is used in a product, you must either: | |
| 12 | + a. Provide clear attribution in the product's documentation, user interface, | |
| 13 | + or other visible areas, **OR** | |
| 14 | + b. Pay the original developers a fee they specify in writing. | |
| 15 | + 2. **Usage Restriction**: | |
| 16 | + - The Software, or any derivative works, dependencies, or libraries | |
| 17 | + incorporating it, must not be used for censorship or to suppress freedom of | |
| 18 | + speech, expression, or creativity. Prohibited uses include, but are not | |
| 19 | + limited to: | |
| 20 | + - Censorship of so-called "hate speech", visuals, non-mainstream opinions, | |
| 21 | + ideas, or objective reality. | |
| 22 | + - Tools or systems designed to restrict access to information or | |
| 23 | + artistic works. | |
| 24 | + 3. **Notice Preservation**: | |
| 25 | + - This license and the above copyright notice must remain intact in all copies | |
| 26 | + of the source code. | |
| 27 | + | |
| 28 | +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, | |
| 29 | +INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A | |
| 30 | +PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT | |
| 31 | +HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF | |
| 32 | +CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE | |
| 33 | +OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. | |
| 34 | +*/ | |
| 1 | 35 | #include <gui/view.hh> |
| 2 | 36 | |
| 3 | 37 | namespace gui { |