summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--algorithm.mod/algorithm.bmx26
-rw-r--r--bitmapfont.mod/bitmapfont.bmx25
-rw-r--r--gfxmenu.mod/gfxmenu.bmx25
-rw-r--r--glflag.mod/glflag.bmx28
-rw-r--r--keysyms.mod/keysyms.bmx348
-rw-r--r--mwidget.mod/mwidget.bmx28
-rw-r--r--simplegui.mod/simplegui.bmx26
-rw-r--r--vector.mod/vector.bmx26
-rw-r--r--vectorgfx.mod/vectorgfx.bmx28
-rw-r--r--win32.mod/win32.bmx26
10 files changed, 394 insertions, 192 deletions
diff --git a/algorithm.mod/algorithm.bmx b/algorithm.mod/algorithm.bmx
index 9828362..065a254 100644
--- a/algorithm.mod/algorithm.bmx
+++ b/algorithm.mod/algorithm.bmx
@@ -1,15 +1,35 @@
+' Copyright (c) 2006 Ian Cowburn
+'
+' 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.
+'
+' $Id$
+'
Rem
bbdoc: noddybox.algorithm
EndRem
Module noddybox.algorithm
ModuleInfo "Framework: Various algorithm routines"
-ModuleInfo "Copyright: Public Domain"
+ModuleInfo "Copyright: Ian Cowburn -- released under the MIT License"
ModuleInfo "Author: Ian Cowburn"
ModuleInfo "Version: $Revision$"
-' $Id$
-
Strict
Import brl.math
Import brl.linkedlist
diff --git a/bitmapfont.mod/bitmapfont.bmx b/bitmapfont.mod/bitmapfont.bmx
index 2bad398..de7edb2 100644
--- a/bitmapfont.mod/bitmapfont.bmx
+++ b/bitmapfont.mod/bitmapfont.bmx
@@ -1,14 +1,35 @@
+' Copyright (c) 2006 Ian Cowburn
+'
+' 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.
+'
+' $Id$
+'
Rem
bbdoc: noddybox.bitmapfont
EndRem
Module noddybox.bitmapfont
ModuleInfo "Framework: Simple Bitmap Font Routines"
-ModuleInfo "Copyright: Public Domain"
+ModuleInfo "Copyright: Ian Cowburn -- released under the MIT License"
ModuleInfo "Author: Ian Cowburn"
ModuleInfo "Version: $Revision$"
-' $Id$
Import brl.Max2D
Import brl.Basic
diff --git a/gfxmenu.mod/gfxmenu.bmx b/gfxmenu.mod/gfxmenu.bmx
index 921ebc7..92ce08c 100644
--- a/gfxmenu.mod/gfxmenu.bmx
+++ b/gfxmenu.mod/gfxmenu.bmx
@@ -1,14 +1,35 @@
+' Copyright (c) 2006 Ian Cowburn
+'
+' 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.
+'
+' $Id$
+'
Rem
bbdoc: noddybox.gfxmenu
EndRem
Module noddybox.gfxmenu
ModuleInfo "Framework: Simple Graphical Menu"
-ModuleInfo "Copyright: Public Domain"
+ModuleInfo "Copyright: Ian Cowburn -- released under the MIT License"
ModuleInfo "Author: Ian Cowburn"
ModuleInfo "Version: $Revision$"
-' $Id$
Strict
Import brl.linkedlist
diff --git a/glflag.mod/glflag.bmx b/glflag.mod/glflag.bmx
index e0993cf..2efab50 100644
--- a/glflag.mod/glflag.bmx
+++ b/glflag.mod/glflag.bmx
@@ -1,12 +1,32 @@
+' Copyright (c) 2006 Ian Cowburn
+'
+' 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.
+'
+' $Id$
+'
Module noddybox.glflag
ModuleInfo "Framework: Simple Open GL Backdrop flag"
-ModuleInfo "Copyright: Public Domain"
+ModuleInfo "Copyright: Ian Cowburn -- released under the MIT License"
ModuleInfo "Author: Ian Cowburn"
ModuleInfo "Version: $Revision$"
-' $Id$
-
Import brl.Basic
Import pub.OpenGL
@@ -187,4 +207,4 @@ Type TGLFlagVertex
aiy=0
aiz=0
End Method
-End Type \ No newline at end of file
+End Type
diff --git a/keysyms.mod/keysyms.bmx b/keysyms.mod/keysyms.bmx
index 97f6cce..9dd7f38 100644
--- a/keysyms.mod/keysyms.bmx
+++ b/keysyms.mod/keysyms.bmx
@@ -1,164 +1,184 @@
-Rem
-bbdoc: noddybox.keysyms
-EndRem
-Module noddybox.keysyms
-
-ModuleInfo "Framework: English string symbols for keycodes"
-ModuleInfo "Copyright: Public Domain"
-ModuleInfo "Author: Ian Cowburn"
-ModuleInfo "Version: $Revision$"
-
-' $Id$
-
-Strict
-
-Import brl.keycodes
-
-Rem
-bbdoc: Get a keysym.
-returns: The string name of @keycode, or "Unknown" for unknown codes.
-EndRem
-Function KeySym:String(keycode:Int)
- KeySymStatic.Init()
-
- If keycode<0 Or keycode>=KeySymStatic.codes.length
- Return "Unknown"
- EndIf
-
- If KeySymStatic.codes[keycode]
- Return KeySymStatic.codes[keycode]
- Else
- Return "Unknown"
- EndIf
-End Function
-
-Private
-
-Type KeySymStatic
- Global done:Int=False
- Global codes:String[]
-
- Function Init()
- If Not done
-
- ' TODO: This will break if keycodes are ever above 511
- '
- codes=New String[512]
-
- codes[MOUSE_LEFT] = "Left Mouse button"
- codes[MOUSE_RIGHT] = "Right Mouse button"
- codes[MOUSE_MIDDLE] = "Middle Mouse button"
- codes[KEY_BACKSPACE] = "Backspace"
- codes[KEY_TAB] = "Tab"
- codes[KEY_RETURN] = "Return"
- codes[KEY_CLEAR] = "Clear"
- codes[KEY_ENTER] = "Enter"
- 'codes[KEY_PAUSE] = "Pause"
- 'codes[KEY_CAPSLOCK] = "Caps Lock"
- codes[KEY_ESCAPE] = "Escape"
- codes[KEY_SPACE] = "Space"
- codes[KEY_PAGEUP] = "Page Up"
- codes[KEY_PAGEDOWN] = "Page Down"
- codes[KEY_END] = "End"
- codes[KEY_HOME] = "Home"
- codes[KEY_LEFT] = "Left"
- codes[KEY_UP] = "Up"
- codes[KEY_RIGHT] = "Right"
- codes[KEY_DOWN] = "Down"
- codes[KEY_SELECT] = "Select"
- codes[KEY_PRINT] = "Print"
- codes[KEY_EXECUTE] = "Execute"
- codes[KEY_SCREEN] = "Screen"
- codes[KEY_INSERT] = "Insert"
- codes[KEY_DELETE] = "Delete"
- 'codes[KEY_HELP] = "Help"
- codes[KEY_0] = "0"
- codes[KEY_1] = "1"
- codes[KEY_2] = "2"
- codes[KEY_3] = "3"
- codes[KEY_4] = "4"
- codes[KEY_5] = "5"
- codes[KEY_6] = "6"
- codes[KEY_7] = "7"
- codes[KEY_8] = "8"
- codes[KEY_9] = "9"
- codes[KEY_A] = "A"
- codes[KEY_B] = "B"
- codes[KEY_C] = "C"
- codes[KEY_D] = "D"
- codes[KEY_E] = "E"
- codes[KEY_F] = "F"
- codes[KEY_G] = "G"
- codes[KEY_H] = "H"
- codes[KEY_I] = "I"
- codes[KEY_J] = "J"
- codes[KEY_K] = "K"
- codes[KEY_L] = "L"
- codes[KEY_M] = "M"
- codes[KEY_N] = "N"
- codes[KEY_O] = "O"
- codes[KEY_P] = "P"
- codes[KEY_Q] = "Q"
- codes[KEY_R] = "R"
- codes[KEY_S] = "S"
- codes[KEY_T] = "T"
- codes[KEY_U] = "U"
- codes[KEY_V] = "V"
- codes[KEY_W] = "W"
- codes[KEY_X] = "X"
- codes[KEY_Y] = "Y"
- codes[KEY_Z] = "Z"
- codes[KEY_LSYS] = "Left Sys"
- codes[KEY_RSYS] = "Right Sys"
- codes[KEY_NUM0] = "Numpad 0"
- codes[KEY_NUM1] = "Numpad 1"
- codes[KEY_NUM2] = "Numpad 2"
- codes[KEY_NUM3] = "Numpad 3"
- codes[KEY_NUM4] = "Numpad 4"
- codes[KEY_NUM5] = "Numpad 5"
- codes[KEY_NUM6] = "Numpad 6"
- codes[KEY_NUM7] = "Numpad 7"
- codes[KEY_NUM8] = "Numpad 8"
- codes[KEY_NUM9] = "Numpad 9"
- codes[KEY_NUMMULTIPLY] = "Numpad *"
- codes[KEY_NUMADD] = "Numpad +"
- codes[KEY_NUMDIVIDE] = "Numpad /"
- codes[KEY_NUMSUBTRACT] = "Numpad -"
- codes[KEY_NUMDECIMAL] = "Numpad ."
- codes[KEY_NUMDIVIDE] = "Numpad /"
- codes[KEY_F1] = "F1"
- codes[KEY_F2] = "F2"
- codes[KEY_F3] = "F3"
- codes[KEY_F4] = "F4"
- codes[KEY_F5] = "F5"
- codes[KEY_F6] = "F6"
- codes[KEY_F7] = "F7"
- codes[KEY_F8] = "F8"
- codes[KEY_F9] = "F9"
- codes[KEY_F10] = "F10"
- codes[KEY_F11] = "F11"
- codes[KEY_F12] = "F12"
- 'codes[KEY_NUMLOCK] = "Num Lock"
- 'codes[KEY_SCROLL] = "Scroll Lock"
- codes[KEY_LSHIFT] = "Left Shift"
- codes[KEY_RSHIFT] = "Right Shift"
- codes[KEY_LCONTROL] = "Left Control"
- codes[KEY_RCONTROL] = "Right Control"
- codes[KEY_LALT] = "Left Alt"
- codes[KEY_RALT] = "Right Alt"
- codes[KEY_TILDE] = "Tilde"
- codes[KEY_MINUS] = "Minus"
- codes[KEY_EQUALS] = "Equals"
- codes[KEY_OPENBRACKET] = "Open Bracket"
- codes[KEY_CLOSEBRACKET] = "Close Bracket"
- codes[KEY_BACKSLASH] = "Backslash"
- codes[KEY_SEMICOLON] = "Semi-colon"
- codes[KEY_QUOTES] = "Quote"
- codes[KEY_COMMA] = "Comma"
- codes[KEY_PERIOD] = "Period"
- codes[KEY_SLASH] = "Slash"
-
- done=True
- EndIf
- End Function
-End Type
+' Copyright (c) 2006 Ian Cowburn
+'
+' 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.
+'
+' $Id$
+'
+Rem
+bbdoc: noddybox.keysyms
+EndRem
+Module noddybox.keysyms
+
+ModuleInfo "Framework: English string symbols for keycodes"
+ModuleInfo "Copyright: Ian Cowburn -- released under the MIT License"
+ModuleInfo "Author: Ian Cowburn"
+ModuleInfo "Version: $Revision$"
+
+Strict
+
+Import brl.keycodes
+
+Rem
+bbdoc: Get a keysym.
+returns: The string name of @keycode, or "Unknown" for unknown codes.
+EndRem
+Function KeySym:String(keycode:Int)
+ KeySymStatic.Init()
+
+ If keycode<0 Or keycode>=KeySymStatic.codes.length
+ Return "Unknown"
+ EndIf
+
+ If KeySymStatic.codes[keycode]
+ Return KeySymStatic.codes[keycode]
+ Else
+ Return "Unknown"
+ EndIf
+End Function
+
+Private
+
+Type KeySymStatic
+ Global done:Int=False
+ Global codes:String[]
+
+ Function Init()
+ If Not done
+
+ ' TODO: This will break if keycodes are ever above 511
+ '
+ codes=New String[512]
+
+ codes[MOUSE_LEFT] = "Left Mouse button"
+ codes[MOUSE_RIGHT] = "Right Mouse button"
+ codes[MOUSE_MIDDLE] = "Middle Mouse button"
+ codes[KEY_BACKSPACE] = "Backspace"
+ codes[KEY_TAB] = "Tab"
+ codes[KEY_RETURN] = "Return"
+ codes[KEY_CLEAR] = "Clear"
+ codes[KEY_ENTER] = "Enter"
+ 'codes[KEY_PAUSE] = "Pause"
+ 'codes[KEY_CAPSLOCK] = "Caps Lock"
+ codes[KEY_ESCAPE] = "Escape"
+ codes[KEY_SPACE] = "Space"
+ codes[KEY_PAGEUP] = "Page Up"
+ codes[KEY_PAGEDOWN] = "Page Down"
+ codes[KEY_END] = "End"
+ codes[KEY_HOME] = "Home"
+ codes[KEY_LEFT] = "Left"
+ codes[KEY_UP] = "Up"
+ codes[KEY_RIGHT] = "Right"
+ codes[KEY_DOWN] = "Down"
+ codes[KEY_SELECT] = "Select"
+ codes[KEY_PRINT] = "Print"
+ codes[KEY_EXECUTE] = "Execute"
+ codes[KEY_SCREEN] = "Screen"
+ codes[KEY_INSERT] = "Insert"
+ codes[KEY_DELETE] = "Delete"
+ 'codes[KEY_HELP] = "Help"
+ codes[KEY_0] = "0"
+ codes[KEY_1] = "1"
+ codes[KEY_2] = "2"
+ codes[KEY_3] = "3"
+ codes[KEY_4] = "4"
+ codes[KEY_5] = "5"
+ codes[KEY_6] = "6"
+ codes[KEY_7] = "7"
+ codes[KEY_8] = "8"
+ codes[KEY_9] = "9"
+ codes[KEY_A] = "A"
+ codes[KEY_B] = "B"
+ codes[KEY_C] = "C"
+ codes[KEY_D] = "D"
+ codes[KEY_E] = "E"
+ codes[KEY_F] = "F"
+ codes[KEY_G] = "G"
+ codes[KEY_H] = "H"
+ codes[KEY_I] = "I"
+ codes[KEY_J] = "J"
+ codes[KEY_K] = "K"
+ codes[KEY_L] = "L"
+ codes[KEY_M] = "M"
+ codes[KEY_N] = "N"
+ codes[KEY_O] = "O"
+ codes[KEY_P] = "P"
+ codes[KEY_Q] = "Q"
+ codes[KEY_R] = "R"
+ codes[KEY_S] = "S"
+ codes[KEY_T] = "T"
+ codes[KEY_U] = "U"
+ codes[KEY_V] = "V"
+ codes[KEY_W] = "W"
+ codes[KEY_X] = "X"
+ codes[KEY_Y] = "Y"
+ codes[KEY_Z] = "Z"
+ codes[KEY_LSYS] = "Left Sys"
+ codes[KEY_RSYS] = "Right Sys"
+ codes[KEY_NUM0] = "Numpad 0"
+ codes[KEY_NUM1] = "Numpad 1"
+ codes[KEY_NUM2] = "Numpad 2"
+ codes[KEY_NUM3] = "Numpad 3"
+ codes[KEY_NUM4] = "Numpad 4"
+ codes[KEY_NUM5] = "Numpad 5"
+ codes[KEY_NUM6] = "Numpad 6"
+ codes[KEY_NUM7] = "Numpad 7"
+ codes[KEY_NUM8] = "Numpad 8"
+ codes[KEY_NUM9] = "Numpad 9"
+ codes[KEY_NUMMULTIPLY] = "Numpad *"
+ codes[KEY_NUMADD] = "Numpad +"
+ codes[KEY_NUMDIVIDE] = "Numpad /"
+ codes[KEY_NUMSUBTRACT] = "Numpad -"
+ codes[KEY_NUMDECIMAL] = "Numpad ."
+ codes[KEY_NUMDIVIDE] = "Numpad /"
+ codes[KEY_F1] = "F1"
+ codes[KEY_F2] = "F2"
+ codes[KEY_F3] = "F3"
+ codes[KEY_F4] = "F4"
+ codes[KEY_F5] = "F5"
+ codes[KEY_F6] = "F6"
+ codes[KEY_F7] = "F7"
+ codes[KEY_F8] = "F8"
+ codes[KEY_F9] = "F9"
+ codes[KEY_F10] = "F10"
+ codes[KEY_F11] = "F11"
+ codes[KEY_F12] = "F12"
+ 'codes[KEY_NUMLOCK] = "Num Lock"
+ 'codes[KEY_SCROLL] = "Scroll Lock"
+ codes[KEY_LSHIFT] = "Left Shift"
+ codes[KEY_RSHIFT] = "Right Shift"
+ codes[KEY_LCONTROL] = "Left Control"
+ codes[KEY_RCONTROL] = "Right Control"
+ codes[KEY_LALT] = "Left Alt"
+ codes[KEY_RALT] = "Right Alt"
+ codes[KEY_TILDE] = "Tilde"
+ codes[KEY_MINUS] = "Minus"
+ codes[KEY_EQUALS] = "Equals"
+ codes[KEY_OPENBRACKET] = "Open Bracket"
+ codes[KEY_CLOSEBRACKET] = "Close Bracket"
+ codes[KEY_BACKSLASH] = "Backslash"
+ codes[KEY_SEMICOLON] = "Semi-colon"
+ codes[KEY_QUOTES] = "Quote"
+ codes[KEY_COMMA] = "Comma"
+ codes[KEY_PERIOD] = "Period"
+ codes[KEY_SLASH] = "Slash"
+
+ done=True
+ EndIf
+ End Function
+End Type
diff --git a/mwidget.mod/mwidget.bmx b/mwidget.mod/mwidget.bmx
index 397e874..90d3d6f 100644
--- a/mwidget.mod/mwidget.bmx
+++ b/mwidget.mod/mwidget.bmx
@@ -1,3 +1,25 @@
+' Copyright (c) 2006 Ian Cowburn
+'
+' 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.
+'
+' $Id$
+'
Rem
bbdoc: noddybox.mwidget
about: <p>Provides a simply class based interface to the MaxGUI. Note that all widgets have create type methods. For these to work correctly with
@@ -34,12 +56,10 @@ EndRem
Module noddybox.mwidget
ModuleInfo "Framework: Simple Managed Widget Classes"
-ModuleInfo "Copyright: Public Domain"
+ModuleInfo "Copyright: Ian Cowburn -- released under the MIT License"
ModuleInfo "Author: Ian Cowburn"
ModuleInfo "Version: $Revision$"
-' $Id$
-
Strict
Import brl.maxgui
Import brl.linkedlist
@@ -2784,4 +2804,4 @@ Type Static
End Function
End Type
-Static.Init() \ No newline at end of file
+Static.Init()
diff --git a/simplegui.mod/simplegui.bmx b/simplegui.mod/simplegui.bmx
index 1f2742a..39cd5f5 100644
--- a/simplegui.mod/simplegui.bmx
+++ b/simplegui.mod/simplegui.bmx
@@ -1,15 +1,35 @@
+' Copyright (c) 2006 Ian Cowburn
+'
+' 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.
+'
+' $Id$
+'
Rem
bbdoc: noddybox.simplegui
EndRem
Module noddybox.simplegui
ModuleInfo "Framework: (Very) Simple GUI"
-ModuleInfo "Copyright: Public Domain"
+ModuleInfo "Copyright: Ian Cowburn -- released under the MIT License"
ModuleInfo "Author: Ian Cowburn"
ModuleInfo "Version: $Revision$"
-' $Id$
-
Strict
Import brl.max2d
Import brl.filesystem
diff --git a/vector.mod/vector.bmx b/vector.mod/vector.bmx
index d0b1a07..2b2bb55 100644
--- a/vector.mod/vector.bmx
+++ b/vector.mod/vector.bmx
@@ -1,15 +1,35 @@
+' Copyright (c) 2006 Ian Cowburn
+'
+' 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.
+'
+' $Id$
+'
Rem
bbdoc: noddybox.vector
EndRem
Module noddybox.vector
ModuleInfo "Framework: Simple Vector class"
-ModuleInfo "Copyright: Public Domain"
+ModuleInfo "Copyright: Ian Cowburn -- released under the MIT License"
ModuleInfo "Author: Ian Cowburn"
ModuleInfo "Version: $Revision$"
-' $Id$
-
Strict
Import brl.math
diff --git a/vectorgfx.mod/vectorgfx.bmx b/vectorgfx.mod/vectorgfx.bmx
index 4dfc801..06018a8 100644
--- a/vectorgfx.mod/vectorgfx.bmx
+++ b/vectorgfx.mod/vectorgfx.bmx
@@ -1,15 +1,35 @@
+' Copyright (c) 2006 Ian Cowburn
+'
+' 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.
+'
+' $Id$
+'
Rem
bbdoc: noddybox.vectorgfx
EndRem
Module noddybox.vectorgfx
ModuleInfo "Framework: 2D Vector Graphics classes"
-ModuleInfo "Copyright: Public Domain"
+ModuleInfo "Copyright: Ian Cowburn -- released under the MIT License"
ModuleInfo "Author: Ian Cowburn"
ModuleInfo "Version: $Revision$"
-' $Id$
-
Strict
Import brl.linkedlist
Import brl.math
@@ -660,4 +680,4 @@ Type LineSolid Extends TVectorGfxLineStyle
End Method
End Type
-Static.Init() \ No newline at end of file
+Static.Init()
diff --git a/win32.mod/win32.bmx b/win32.mod/win32.bmx
index 8f0068f..11b6512 100644
--- a/win32.mod/win32.bmx
+++ b/win32.mod/win32.bmx
@@ -1,15 +1,35 @@
+' Copyright (c) 2006 Ian Cowburn
+'
+' 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.
+'
+' $Id$
+'
Rem
bbdoc: noddybox.win32
EndRem
Module noddybox.win32
ModuleInfo "Framework: Some routines I wanted from the Windows API"
-ModuleInfo "Copyright: Public Domain"
+ModuleInfo "Copyright: Ian Cowburn -- Released under the MIT License"
ModuleInfo "Author: Ian Cowburn"
ModuleInfo "Version: $Revision$"
-' $Id$
-
Strict
?Win32