diff --git a/tobkit/LICENSE b/tobkit/LICENSE new file mode 100644 index 0000000..d645695 --- /dev/null +++ b/tobkit/LICENSE @@ -0,0 +1,202 @@ + + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright [yyyy] [name of copyright owner] + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. diff --git a/tobkit/NOTICE b/tobkit/NOTICE new file mode 100644 index 0000000..de0edfd --- /dev/null +++ b/tobkit/NOTICE @@ -0,0 +1,2 @@ +NitroTracker TobKit Library +Copyright 2006 Tobias Weyand diff --git a/tobkit/include/tobkit/bitbutton.h b/tobkit/include/tobkit/bitbutton.h index abebb8f..bb10590 100644 --- a/tobkit/include/tobkit/bitbutton.h +++ b/tobkit/include/tobkit/bitbutton.h @@ -1,3 +1,19 @@ +/*==================================================================== +Copyright 2006 Tobias Weyand + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +======================================================================*/ + /********************** TobKit BitButton Class Bitmap Button. Has a nxn bitmap. diff --git a/tobkit/include/tobkit/button.h b/tobkit/include/tobkit/button.h index 2296243..62fc0b1 100644 --- a/tobkit/include/tobkit/button.h +++ b/tobkit/include/tobkit/button.h @@ -1,3 +1,19 @@ +/*==================================================================== +Copyright 2006 Tobias Weyand + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +======================================================================*/ + /********************** DS Tracker Button Class Very basic diff --git a/tobkit/include/tobkit/checkbox.h b/tobkit/include/tobkit/checkbox.h index 0e56165..68c5fb3 100644 --- a/tobkit/include/tobkit/checkbox.h +++ b/tobkit/include/tobkit/checkbox.h @@ -1,3 +1,19 @@ +/*==================================================================== +Copyright 2006 Tobias Weyand + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +======================================================================*/ + #ifndef _CHECKBOX_H_ #define _CHECKBOX_H_ diff --git a/tobkit/include/tobkit/fileselector.h b/tobkit/include/tobkit/fileselector.h index d92df11..b9a604b 100644 --- a/tobkit/include/tobkit/fileselector.h +++ b/tobkit/include/tobkit/fileselector.h @@ -1,3 +1,19 @@ +/*==================================================================== +Copyright 2006 Tobias Weyand + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +======================================================================*/ + #ifndef FILESELECTOR_H #define FILESELECTOR_H diff --git a/tobkit/include/tobkit/fontchars.h b/tobkit/include/tobkit/fontchars.h index 12008a5..6fc4f30 100644 --- a/tobkit/include/tobkit/fontchars.h +++ b/tobkit/include/tobkit/fontchars.h @@ -1,3 +1,19 @@ +/*==================================================================== +Copyright 2006 Tobias Weyand + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +======================================================================*/ + #define N_FONT_CHARS 93 extern const char fontchars[]; extern const unsigned char charwidths_8x11[]; diff --git a/tobkit/include/tobkit/groupbox.h b/tobkit/include/tobkit/groupbox.h index 5870690..82b4a29 100644 --- a/tobkit/include/tobkit/groupbox.h +++ b/tobkit/include/tobkit/groupbox.h @@ -1,3 +1,19 @@ +/*==================================================================== +Copyright 2006 Tobias Weyand + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +======================================================================*/ + #ifndef _GROUPBOX_H_ #define _GROUPBOX_H_ diff --git a/tobkit/include/tobkit/gui.h b/tobkit/include/tobkit/gui.h index efe37fd..732f8d1 100644 --- a/tobkit/include/tobkit/gui.h +++ b/tobkit/include/tobkit/gui.h @@ -1,3 +1,19 @@ +/*==================================================================== +Copyright 2006 Tobias Weyand + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +======================================================================*/ + /******************* DS Tracker GUI Class diff --git a/tobkit/include/tobkit/htabbox.h b/tobkit/include/tobkit/htabbox.h index 273a16d..3ba4c6c 100644 --- a/tobkit/include/tobkit/htabbox.h +++ b/tobkit/include/tobkit/htabbox.h @@ -1,3 +1,19 @@ +/*==================================================================== +Copyright 2006 Tobias Weyand + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +======================================================================*/ + #ifndef HTABBOX_H #define HTABBOX_H diff --git a/tobkit/include/tobkit/label.h b/tobkit/include/tobkit/label.h index 6ab15f5..b61d857 100644 --- a/tobkit/include/tobkit/label.h +++ b/tobkit/include/tobkit/label.h @@ -1,3 +1,19 @@ +/*==================================================================== +Copyright 2006 Tobias Weyand + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +======================================================================*/ + #ifndef LABEL_H #define LABEL_H diff --git a/tobkit/include/tobkit/listbox.h b/tobkit/include/tobkit/listbox.h index 99a47bf..39d0738 100644 --- a/tobkit/include/tobkit/listbox.h +++ b/tobkit/include/tobkit/listbox.h @@ -1,3 +1,19 @@ +/*==================================================================== +Copyright 2006 Tobias Weyand + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +======================================================================*/ + #ifndef LISTBOX_H #define LISTBOX_H diff --git a/tobkit/include/tobkit/memoryindicator.h b/tobkit/include/tobkit/memoryindicator.h index d44f68c..2ac0ea6 100644 --- a/tobkit/include/tobkit/memoryindicator.h +++ b/tobkit/include/tobkit/memoryindicator.h @@ -1,3 +1,19 @@ +/*==================================================================== +Copyright 2006 Tobias Weyand + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +======================================================================*/ + #ifndef MEMORYINDICATOR_H_ #define MEMORYINDICATOR_H_ diff --git a/tobkit/include/tobkit/messagebox.h b/tobkit/include/tobkit/messagebox.h index 754eb64..deabffa 100644 --- a/tobkit/include/tobkit/messagebox.h +++ b/tobkit/include/tobkit/messagebox.h @@ -1,3 +1,19 @@ +/*==================================================================== +Copyright 2006 Tobias Weyand + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +======================================================================*/ + #ifndef _MESSAGEBOX_H_ #define _MESSAGEBOX_H_ diff --git a/tobkit/include/tobkit/numberbox.h b/tobkit/include/tobkit/numberbox.h index e0283c4..9315752 100644 --- a/tobkit/include/tobkit/numberbox.h +++ b/tobkit/include/tobkit/numberbox.h @@ -1,3 +1,19 @@ +/*==================================================================== +Copyright 2006 Tobias Weyand + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +======================================================================*/ + #ifndef NUMBERBOX_H #define NUMBERBOX_H diff --git a/tobkit/include/tobkit/numberslider.h b/tobkit/include/tobkit/numberslider.h index e9aafdc..8b35922 100644 --- a/tobkit/include/tobkit/numberslider.h +++ b/tobkit/include/tobkit/numberslider.h @@ -1,3 +1,19 @@ +/*==================================================================== +Copyright 2006 Tobias Weyand + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +======================================================================*/ + #ifndef NUMBERSLIDER_H #define NUMBERSLIDER_H diff --git a/tobkit/include/tobkit/piano.h b/tobkit/include/tobkit/piano.h index d2daeca..4e95ab9 100644 --- a/tobkit/include/tobkit/piano.h +++ b/tobkit/include/tobkit/piano.h @@ -1,3 +1,19 @@ +/*==================================================================== +Copyright 2006 Tobias Weyand + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +======================================================================*/ + #ifndef PIANO_H #define PIANO_H diff --git a/tobkit/include/tobkit/piano.map.h b/tobkit/include/tobkit/piano.map.h index 4d5ff83..afc21eb 100644 --- a/tobkit/include/tobkit/piano.map.h +++ b/tobkit/include/tobkit/piano.map.h @@ -1,3 +1,19 @@ +/*==================================================================== +Copyright 2006 Tobias Weyand + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +======================================================================*/ + /* * 29x5 map data */ diff --git a/tobkit/include/tobkit/piano.pal.h b/tobkit/include/tobkit/piano.pal.h index 7ba5c21..eecc2fc 100644 --- a/tobkit/include/tobkit/piano.pal.h +++ b/tobkit/include/tobkit/piano.pal.h @@ -1,3 +1,19 @@ +/*==================================================================== +Copyright 2006 Tobias Weyand + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +======================================================================*/ + extern const unsigned short piano_Palette[]; extern const unsigned short piano_fullnotehighlight_Palette[]; extern const unsigned short piano_halfnotehighlight_Palette[]; diff --git a/tobkit/include/tobkit/piano.raw.h b/tobkit/include/tobkit/piano.raw.h index db57f04..9969b1a 100644 --- a/tobkit/include/tobkit/piano.raw.h +++ b/tobkit/include/tobkit/piano.raw.h @@ -1,3 +1,19 @@ +/*==================================================================== +Copyright 2006 Tobias Weyand + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +======================================================================*/ + // // piano (736 uncompressed bytes) // diff --git a/tobkit/include/tobkit/piano_hit.h b/tobkit/include/tobkit/piano_hit.h index b1dde14..0246699 100644 --- a/tobkit/include/tobkit/piano_hit.h +++ b/tobkit/include/tobkit/piano_hit.h @@ -1 +1,17 @@ +/*==================================================================== +Copyright 2006 Tobias Weyand + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +======================================================================*/ + extern const u8 piano_hit[][28]; diff --git a/tobkit/include/tobkit/pixmap.h b/tobkit/include/tobkit/pixmap.h index eaf555e..05adbfb 100644 --- a/tobkit/include/tobkit/pixmap.h +++ b/tobkit/include/tobkit/pixmap.h @@ -1,3 +1,19 @@ +/*==================================================================== +Copyright 2006 Tobias Weyand + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +======================================================================*/ + #ifndef _PIXMAP_H_ #define _PIXMAP_H_ diff --git a/tobkit/include/tobkit/radiobutton.h b/tobkit/include/tobkit/radiobutton.h index 6aacaac..1e42083 100644 --- a/tobkit/include/tobkit/radiobutton.h +++ b/tobkit/include/tobkit/radiobutton.h @@ -1,3 +1,19 @@ +/*==================================================================== +Copyright 2006 Tobias Weyand + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +======================================================================*/ + #ifndef RADIOBUTTON_H #define RADIOBUTTON_H diff --git a/tobkit/include/tobkit/tabbox.h b/tobkit/include/tobkit/tabbox.h index 6d1625d..673f206 100644 --- a/tobkit/include/tobkit/tabbox.h +++ b/tobkit/include/tobkit/tabbox.h @@ -1,3 +1,19 @@ +/*==================================================================== +Copyright 2006 Tobias Weyand + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +======================================================================*/ + #ifndef TABBOX_H #define TABBOX_H diff --git a/tobkit/include/tobkit/theme.h b/tobkit/include/tobkit/theme.h index d904ed1..d2f4438 100644 --- a/tobkit/include/tobkit/theme.h +++ b/tobkit/include/tobkit/theme.h @@ -1,3 +1,19 @@ +/*==================================================================== +Copyright 2006 Tobias Weyand + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +======================================================================*/ + #ifndef _THEME_H_ #define _THEME_H_ diff --git a/tobkit/include/tobkit/tobkit.h b/tobkit/include/tobkit/tobkit.h index a4a6866..a1ccbf6 100644 --- a/tobkit/include/tobkit/tobkit.h +++ b/tobkit/include/tobkit/tobkit.h @@ -1,3 +1,19 @@ +/*==================================================================== +Copyright 2006 Tobias Weyand + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +======================================================================*/ + #ifndef _TOBKIT_H_ #define _TOBKIT_H_ diff --git a/tobkit/include/tobkit/togglebutton.h b/tobkit/include/tobkit/togglebutton.h index 512ed26..d6c85e5 100644 --- a/tobkit/include/tobkit/togglebutton.h +++ b/tobkit/include/tobkit/togglebutton.h @@ -1,3 +1,19 @@ +/*==================================================================== +Copyright 2006 Tobias Weyand + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +======================================================================*/ + #ifndef TOGGLEBUTTON_H #define TOGGLEBUTTON_H diff --git a/tobkit/include/tobkit/typewriter.h b/tobkit/include/tobkit/typewriter.h index e51df2b..1f6412f 100644 --- a/tobkit/include/tobkit/typewriter.h +++ b/tobkit/include/tobkit/typewriter.h @@ -1,3 +1,19 @@ +/*==================================================================== +Copyright 2006 Tobias Weyand + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +======================================================================*/ + #ifndef _TYPEWRITER_H_ #define _TYPEWRITER_H_ diff --git a/tobkit/include/tobkit/typewriter.hit.h b/tobkit/include/tobkit/typewriter.hit.h index 8666851..d0ce5a6 100644 --- a/tobkit/include/tobkit/typewriter.hit.h +++ b/tobkit/include/tobkit/typewriter.hit.h @@ -1,2 +1,18 @@ +/*==================================================================== +Copyright 2006 Tobias Weyand + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +======================================================================*/ + extern const unsigned char typewriter_Hit[]; extern const unsigned char typewriter_Hit_Shift[]; diff --git a/tobkit/include/tobkit/typewriter.map.h b/tobkit/include/tobkit/typewriter.map.h index cb3b401..d3e7a72 100644 --- a/tobkit/include/tobkit/typewriter.map.h +++ b/tobkit/include/tobkit/typewriter.map.h @@ -1 +1,17 @@ +/*==================================================================== +Copyright 2006 Tobias Weyand + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +======================================================================*/ + extern const unsigned short typewriter_Map[]; diff --git a/tobkit/include/tobkit/typewriter.pal.h b/tobkit/include/tobkit/typewriter.pal.h index 3e43454..5c5aa6c 100644 --- a/tobkit/include/tobkit/typewriter.pal.h +++ b/tobkit/include/tobkit/typewriter.pal.h @@ -1,2 +1,18 @@ +/*==================================================================== +Copyright 2006 Tobias Weyand + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +======================================================================*/ + extern const unsigned short typewriter_Palette[]; extern const unsigned short typewriter_Palette_Hilight[]; diff --git a/tobkit/include/tobkit/typewriter.raw.h b/tobkit/include/tobkit/typewriter.raw.h index 2331d54..c4aa77b 100644 --- a/tobkit/include/tobkit/typewriter.raw.h +++ b/tobkit/include/tobkit/typewriter.raw.h @@ -1 +1,17 @@ +/*==================================================================== +Copyright 2006 Tobias Weyand + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +======================================================================*/ + extern const unsigned char typewriter_Tiles[]; diff --git a/tobkit/include/tobkit/widget.h b/tobkit/include/tobkit/widget.h index 21d2aa0..46a6245 100644 --- a/tobkit/include/tobkit/widget.h +++ b/tobkit/include/tobkit/widget.h @@ -1,3 +1,19 @@ +/*==================================================================== +Copyright 2006 Tobias Weyand + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +======================================================================*/ + /********************** DS Tracker Widget Class Has rectangular area diff --git a/tobkit/source/bitbutton.cpp b/tobkit/source/bitbutton.cpp index e8b24d9..64a005d 100644 --- a/tobkit/source/bitbutton.cpp +++ b/tobkit/source/bitbutton.cpp @@ -1,3 +1,19 @@ +/*==================================================================== +Copyright 2006 Tobias Weyand + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +======================================================================*/ + #include #include #include diff --git a/tobkit/source/button.cpp b/tobkit/source/button.cpp index d901f00..9ccaf24 100644 --- a/tobkit/source/button.cpp +++ b/tobkit/source/button.cpp @@ -1,3 +1,19 @@ +/*==================================================================== +Copyright 2006 Tobias Weyand + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +======================================================================*/ + #include #include #include diff --git a/tobkit/source/checkbox.cpp b/tobkit/source/checkbox.cpp index 0231d48..633227b 100644 --- a/tobkit/source/checkbox.cpp +++ b/tobkit/source/checkbox.cpp @@ -1,3 +1,19 @@ +/*==================================================================== +Copyright 2006 Tobias Weyand + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +======================================================================*/ + #include #include #include diff --git a/tobkit/source/fileselector.cpp b/tobkit/source/fileselector.cpp index 859e497..9f117f6 100644 --- a/tobkit/source/fileselector.cpp +++ b/tobkit/source/fileselector.cpp @@ -1,3 +1,19 @@ +/*==================================================================== +Copyright 2006 Tobias Weyand + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +======================================================================*/ + #include #include diff --git a/tobkit/source/fontchars.cpp b/tobkit/source/fontchars.cpp index 9fa1a1c..b7154e0 100644 --- a/tobkit/source/fontchars.cpp +++ b/tobkit/source/fontchars.cpp @@ -1,3 +1,19 @@ +/*==================================================================== +Copyright 2006 Tobias Weyand + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +======================================================================*/ + char fontchars[] = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789\"!?+-*_#%&(),.<=>/\\:[]'@$;{}^~ "; // a b c d e f g h i j k l m n o p q r s t u v w x y z A B C D E F G H I J K L M N O P Q R S T U V W X Y Z 0 1 2 3 4 5 6 7 8 9 " ! ? + - * _ # % & ( ) , . < = > / \ : [ ] ' @ $ ; { } ^ ~ unsigned char charwidths_8x11[] = {6,6,6,6,6,4,6,6,2,4,6,2,8,6,6,6,6,4,6,4,6,7,8,7,6,6,7,7,7,7,7,7,7,7,2,7,7,7,8,7,7,7,7,7,8,7,7,7,8,8,8,7,6,6,6,6,6,6,6,6,6,6,6,2,7,6,6,6,6,7,7,7,4,4,3,2,4,4,4,7,7,2,3,3,3,6,7,3,4,4,6,8,6}; diff --git a/tobkit/source/groupbox.cpp b/tobkit/source/groupbox.cpp index e53e5b1..fe4957c 100644 --- a/tobkit/source/groupbox.cpp +++ b/tobkit/source/groupbox.cpp @@ -1,3 +1,19 @@ +/*==================================================================== +Copyright 2006 Tobias Weyand + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +======================================================================*/ + #include #include diff --git a/tobkit/source/gui.cpp b/tobkit/source/gui.cpp index d5665ae..2a86acf 100644 --- a/tobkit/source/gui.cpp +++ b/tobkit/source/gui.cpp @@ -1,3 +1,19 @@ +/*==================================================================== +Copyright 2006 Tobias Weyand + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +======================================================================*/ + #include "tobkit/gui.h" #include diff --git a/tobkit/source/htabbox.cpp b/tobkit/source/htabbox.cpp index 91f1ae9..8ab526c 100644 --- a/tobkit/source/htabbox.cpp +++ b/tobkit/source/htabbox.cpp @@ -1,3 +1,19 @@ +/*==================================================================== +Copyright 2006 Tobias Weyand + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +======================================================================*/ + #include "tobkit/htabbox.h" /* ===================== PUBLIC ===================== */ diff --git a/tobkit/source/label.cpp b/tobkit/source/label.cpp index 33f6a5c..42920ad 100644 --- a/tobkit/source/label.cpp +++ b/tobkit/source/label.cpp @@ -1,3 +1,19 @@ +/*==================================================================== +Copyright 2006 Tobias Weyand + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +======================================================================*/ + #include #include #include diff --git a/tobkit/source/listbox.cpp b/tobkit/source/listbox.cpp index c649fe3..32fca3b 100644 --- a/tobkit/source/listbox.cpp +++ b/tobkit/source/listbox.cpp @@ -1,3 +1,19 @@ +/*==================================================================== +Copyright 2006 Tobias Weyand + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +======================================================================*/ + #include "tobkit/listbox.h" #include diff --git a/tobkit/source/memoryindicator.cpp b/tobkit/source/memoryindicator.cpp index e292440..695312e 100644 --- a/tobkit/source/memoryindicator.cpp +++ b/tobkit/source/memoryindicator.cpp @@ -1,3 +1,19 @@ +/*==================================================================== +Copyright 2006 Tobias Weyand + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +======================================================================*/ + #include #include diff --git a/tobkit/source/messagebox.cpp b/tobkit/source/messagebox.cpp index d612997..1ed1797 100644 --- a/tobkit/source/messagebox.cpp +++ b/tobkit/source/messagebox.cpp @@ -1,3 +1,19 @@ +/*==================================================================== +Copyright 2006 Tobias Weyand + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +======================================================================*/ + #include #include diff --git a/tobkit/source/numberbox.cpp b/tobkit/source/numberbox.cpp index 25c3601..cd15645 100644 --- a/tobkit/source/numberbox.cpp +++ b/tobkit/source/numberbox.cpp @@ -1,3 +1,19 @@ +/*==================================================================== +Copyright 2006 Tobias Weyand + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +======================================================================*/ + #include #include diff --git a/tobkit/source/numberslider.cpp b/tobkit/source/numberslider.cpp index 32b066a..2e559d8 100644 --- a/tobkit/source/numberslider.cpp +++ b/tobkit/source/numberslider.cpp @@ -1,3 +1,19 @@ +/*==================================================================== +Copyright 2006 Tobias Weyand + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +======================================================================*/ + #include #include diff --git a/tobkit/source/piano.cpp b/tobkit/source/piano.cpp index 29fea22..f569815 100644 --- a/tobkit/source/piano.cpp +++ b/tobkit/source/piano.cpp @@ -1,3 +1,19 @@ +/*==================================================================== +Copyright 2006 Tobias Weyand + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +======================================================================*/ + #include #include diff --git a/tobkit/source/piano.map.c b/tobkit/source/piano.map.c index 25449f0..adffc1b 100644 --- a/tobkit/source/piano.map.c +++ b/tobkit/source/piano.map.c @@ -1,3 +1,19 @@ +/*==================================================================== +Copyright 2006 Tobias Weyand + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +======================================================================*/ + /* * 29x5 map data */ diff --git a/tobkit/source/piano.pal.c b/tobkit/source/piano.pal.c index b183531..3b69dd9 100644 --- a/tobkit/source/piano.pal.c +++ b/tobkit/source/piano.pal.c @@ -1,3 +1,19 @@ +/*==================================================================== +Copyright 2006 Tobias Weyand + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +======================================================================*/ + const unsigned short piano_Palette[16] = { 0x0000, 0x0421, 0x0842, 0x0c63, 0x1084, 0x14a5, 0x18c6, 0x1ce7, 0x2108, 0x6318, 0x6b5a, 0x6f7b, 0x739c, 0x77bd, 0x7bde, 0x7c1f diff --git a/tobkit/source/piano.raw.c b/tobkit/source/piano.raw.c index 36535db..e56bc98 100644 --- a/tobkit/source/piano.raw.c +++ b/tobkit/source/piano.raw.c @@ -1,3 +1,19 @@ +/*==================================================================== +Copyright 2006 Tobias Weyand + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +======================================================================*/ + // // piano (736 uncompressed bytes) // diff --git a/tobkit/source/piano_hit.c b/tobkit/source/piano_hit.c index ba8ca9b..cfc7908 100644 --- a/tobkit/source/piano_hit.c +++ b/tobkit/source/piano_hit.c @@ -1,3 +1,19 @@ +/*==================================================================== +Copyright 2006 Tobias Weyand + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +======================================================================*/ + #include const u8 piano_hit[5][28] = { {0, 1, 1, 3, 3, 4, 5, 6, 6, 8, 8, 10, 10, 11, 12, 13, 13, 15, 15, 16, 17, 18, 18, 20, 20, 22, 22, 23}, diff --git a/tobkit/source/pixmap.cpp b/tobkit/source/pixmap.cpp index 93b03f8..233dfef 100644 --- a/tobkit/source/pixmap.cpp +++ b/tobkit/source/pixmap.cpp @@ -1,3 +1,19 @@ +/*==================================================================== +Copyright 2006 Tobias Weyand + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +======================================================================*/ + #include #include "tobkit/pixmap.h" diff --git a/tobkit/source/radiobutton.cpp b/tobkit/source/radiobutton.cpp index e228dab..e651b2e 100644 --- a/tobkit/source/radiobutton.cpp +++ b/tobkit/source/radiobutton.cpp @@ -1,3 +1,19 @@ +/*==================================================================== +Copyright 2006 Tobias Weyand + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +======================================================================*/ + #include "tobkit/radiobutton.h" /* ===================== PUBLIC ===================== */ diff --git a/tobkit/source/radiobuttongroup.cpp b/tobkit/source/radiobuttongroup.cpp index 15131a8..093b89e 100644 --- a/tobkit/source/radiobuttongroup.cpp +++ b/tobkit/source/radiobuttongroup.cpp @@ -1,3 +1,19 @@ +/*==================================================================== +Copyright 2006 Tobias Weyand + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +======================================================================*/ + #include "tobkit/radiobutton.h" RadioButton::RadioButtonGroup::RadioButtonGroup() diff --git a/tobkit/source/tabbox.cpp b/tobkit/source/tabbox.cpp index fcde690..7cc26c3 100644 --- a/tobkit/source/tabbox.cpp +++ b/tobkit/source/tabbox.cpp @@ -1,3 +1,19 @@ +/*==================================================================== +Copyright 2006 Tobias Weyand + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +======================================================================*/ + #include "tobkit/tabbox.h" /* ===================== PUBLIC ===================== */ diff --git a/tobkit/source/theme.cpp b/tobkit/source/theme.cpp index a54daee..cf17182 100644 --- a/tobkit/source/theme.cpp +++ b/tobkit/source/theme.cpp @@ -1,3 +1,19 @@ +/*==================================================================== +Copyright 2006 Tobias Weyand + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +======================================================================*/ + #include "tobkit/theme.h" Theme::Theme(void) diff --git a/tobkit/source/togglebutton.cpp b/tobkit/source/togglebutton.cpp index 1401a6d..74a58fd 100644 --- a/tobkit/source/togglebutton.cpp +++ b/tobkit/source/togglebutton.cpp @@ -1,3 +1,19 @@ +/*==================================================================== +Copyright 2006 Tobias Weyand + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +======================================================================*/ + #include #include diff --git a/tobkit/source/typewriter.cpp b/tobkit/source/typewriter.cpp index af122d0..33f41a3 100644 --- a/tobkit/source/typewriter.cpp +++ b/tobkit/source/typewriter.cpp @@ -1,3 +1,19 @@ +/*==================================================================== +Copyright 2006 Tobias Weyand + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +======================================================================*/ + #include #include #include diff --git a/tobkit/source/typewriter.hit.c b/tobkit/source/typewriter.hit.c index 209ae9b..e7048af 100644 --- a/tobkit/source/typewriter.hit.c +++ b/tobkit/source/typewriter.hit.c @@ -1,3 +1,19 @@ +/*==================================================================== +Copyright 2006 Tobias Weyand + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +======================================================================*/ + /* * 32x24 hit data */ diff --git a/tobkit/source/typewriter.map.c b/tobkit/source/typewriter.map.c index b4ec13f..510c86a 100644 --- a/tobkit/source/typewriter.map.c +++ b/tobkit/source/typewriter.map.c @@ -1,3 +1,19 @@ +/*==================================================================== +Copyright 2006 Tobias Weyand + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +======================================================================*/ + /* * 26x12*2 map data */ diff --git a/tobkit/source/typewriter.pal.c b/tobkit/source/typewriter.pal.c index 38b6b2b..b5925d7 100644 --- a/tobkit/source/typewriter.pal.c +++ b/tobkit/source/typewriter.pal.c @@ -1,3 +1,19 @@ +/*==================================================================== +Copyright 2006 Tobias Weyand + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +======================================================================*/ + const unsigned short typewriter_Palette[16] = { 0x0000, 0x6a31, 0x72d6, 0x4e73, 0x7fff, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000 diff --git a/tobkit/source/typewriter.raw.c b/tobkit/source/typewriter.raw.c index 0767432..8050d4a 100644 --- a/tobkit/source/typewriter.raw.c +++ b/tobkit/source/typewriter.raw.c @@ -1,3 +1,19 @@ +/*==================================================================== +Copyright 2006 Tobias Weyand + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +======================================================================*/ + // // typewriter (7776 uncompressed bytes) // diff --git a/tobkit/source/widget.cpp b/tobkit/source/widget.cpp index 9418e47..bc9bea3 100644 --- a/tobkit/source/widget.cpp +++ b/tobkit/source/widget.cpp @@ -1,3 +1,19 @@ +/*==================================================================== +Copyright 2006 Tobias Weyand + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +======================================================================*/ + #include #include