Changeset 6

Show
Ignore:
Timestamp:
11/09/06 03:33:27 (2 years ago)
Author:
baxissimo
Message:

Added copyright notices

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/luigi/adaptor/base.d

    r5 r6  
     1//--------------------------------------------------------------------- 
     2/* 
     3 Copyright: 
     4 
     5  luigi/adaptor/base.d -- input adaptor basics for the 'Luigi' user 
     6  interface library. 
     7 
     8  Copyright (C) 2006 William V. Baxter III 
     9 
     10  This software is provided 'as-is', without any express or implied 
     11  warranty.  In no event will the authors be held liable for any 
     12  damages arising from the use of this software. 
     13 
     14  Permission is granted to anyone to use this software for any 
     15  purpose, including commercial applications, and to alter it and 
     16  redistribute it freely, subject to the following restrictions: 
     17 
     18  1. The origin of this software must not be misrepresented; you must 
     19     not claim that you wrote the original software. If you use this 
     20     software in a product, an acknowledgment in the product 
     21     documentation would be appreciated but is not required. 
     22  2. Altered source versions must be plainly marked as such, and must 
     23     not be misrepresented as being the original software. 
     24  3. This notice may not be removed or altered from any source distribution. 
     25 
     26  William Baxter wbaxter@gmail.com 
     27*/ 
    128module luigi.adaptor.base; 
    229 
  • trunk/luigi/adaptor/glfw.d

    r5 r6  
     1//--------------------------------------------------------------------- 
     2/* 
     3 Copyright: 
     4 
     5  luigi/adaptor/glfw.d 
     6     -- GLFW input adaptor for the 'Luigi' user interface library. 
     7 
     8  Copyright (C) 2006 William V. Baxter III 
     9 
     10  This software is provided 'as-is', without any express or implied 
     11  warranty.  In no event will the authors be held liable for any 
     12  damages arising from the use of this software. 
     13 
     14  Permission is granted to anyone to use this software for any 
     15  purpose, including commercial applications, and to alter it and 
     16  redistribute it freely, subject to the following restrictions: 
     17 
     18  1. The origin of this software must not be misrepresented; you must 
     19     not claim that you wrote the original software. If you use this 
     20     software in a product, an acknowledgment in the product 
     21     documentation would be appreciated but is not required. 
     22  2. Altered source versions must be plainly marked as such, and must 
     23     not be misrepresented as being the original software. 
     24  3. This notice may not be removed or altered from any source distribution. 
     25 
     26  William Baxter wbaxter@gmail.com 
     27*/ 
    128module luigi.adaptor.glfw; 
    229 
  • trunk/luigi/arranger.d

    r5 r6  
     1//--------------------------------------------------------------------- 
     2/** 
     3   In Luigi, Arrangers are responsible for deciding how widgets are  
     4   arranged in a container.  The Arranger interface actually does not 
     5   depend on the GUI portion of the library it all. It only requires 
     6   items to support the Arrangeable interface.  The Arrangeable  
     7   interface just provides information about an item's preferred,  
     8   minimum and maximum sizes. 
     9 
     10   Note in many toolkits "arranging" is referred to as "layout". 
     11   Layout is a good word, but the problem is that its hard to come up 
     12   with good names for the things that can be laid-out and the thing 
     13   that does the laying-out.  You end up with words like "Layoutable", 
     14   "Layouter", "Layoutee", "Layouting", or "LayoutManager", which are 
     15   all either dubious as English words, or just too long.  Adding to 
     16   the mess is the fact that "layout" is both a verb and a noun, so 
     17   just "layout" alone is ambiguious.  Is layout() a method that does 
     18   the layout or one that returns an arrangement of items, or perhaps 
     19   one that returns the object responsible for laying things out? 
     20 
     21   In contrast, starting from the verb "arrange" we can use the very 
     22   reasonable English words "arrange", "arranging", "arranged", 
     23   "arrangement", "arranger", and "arrangeable". 
     24 
     25*/  
     26//--------------------------------------------------------------------- 
     27/* 
     28 Copyright: 
     29 
     30  luigi/arranger.d -- arrangers for 'luigi' user interface library. 
     31 
     32  Copyright (C) 2006 William V. Baxter III 
     33 
     34  This software is provided 'as-is', without any express or implied 
     35  warranty.  In no event will the authors be held liable for any 
     36  damages arising from the use of this software. 
     37 
     38  Permission is granted to anyone to use this software for any 
     39  purpose, including commercial applications, and to alter it and 
     40  redistribute it freely, subject to the following restrictions: 
     41 
     42  1. The origin of this software must not be misrepresented; you must 
     43     not claim that you wrote the original software. If you use this 
     44     software in a product, an acknowledgment in the product 
     45     documentation would be appreciated but is not required. 
     46 
     47  2. Altered source versions must be plainly marked as such, and must 
     48     not be misrepresented as being the original software. 
     49  3. This notice may not be removed or altered from any source distribution. 
     50 
     51  William Baxter wbaxter@gmail.com 
     52*/ 
    153module luigi.arranger; 
    254 
     
    759 
    860//-------------------------------------------------------------------------- 
    9 /** An abstract interface for a class that can be arranged */ 
     61/** An abstract interface for an Object that can be arranged */ 
    1062interface Arrangeable 
    1163{ 
     
    4698 
    4799//-------------------------------------------------------------------------- 
    48 /** An abstract interface for a class that arranges the children of a panel */ 
     100/** An abstract interface for an Object that arranges things */ 
    49101interface Arranger 
    50102{ 
     
    66118} 
    67119 
     120//-------------------------------------------------------------------------- 
     121/** An abstract base class that implements some common parts of the Arranger  
     122 *  interface, and leaves others for subclasses to specify. 
     123 */ 
    68124class BaseArranger : Arranger 
    69125{ 
     
    106162} 
    107163 
     164//---------------------------------------------------------------------------- 
    108165class FlowArranger : BaseArranger 
    109166{ 
     
    282339} 
    283340 
     341//---------------------------------------------------------------------------- 
     342/** 
     343 * FlowRow is a private implementation detail of the FlowArranger class 
     344 */ 
    284345private class FlowRow 
    285346{ 
     
    369430 
    370431 
     432//---------------------------------------------------------------------------- 
     433/** 
     434 * The GridArranger arranges items into a grid with a fixed number of 
     435 * columns or rows. 
     436 */ 
    371437class GridArranger : BaseArranger 
    372438{ 
     
    523589 
    524590//---------------------------------------------------------------------------- 
    525  
    526  
     591/** 
     592 * The BorderArranger can arrange up to five items, which can be 
     593 * either on the north, south, east, or west borders of the parent 
     594 * container, or in the remaining center portion..  The position is specified by  
     595 * the Region enumerated type. 
     596 */ 
    527597public class BorderArranger : BaseArranger 
    528598{ 
  • trunk/luigi/base.d

    r5 r6  
     1//--------------------------------------------------------------------- 
     2/* 
     3 Copyright: 
     4 
     5  luigi/base.d -- basic definitions for the 'luigi' user interface library. 
     6 
     7  Copyright (C) 2006 William V. Baxter III 
     8 
     9  This software is provided 'as-is', without any express or implied 
     10  warranty.  In no event will the authors be held liable for any 
     11  damages arising from the use of this software. 
     12 
     13  Permission is granted to anyone to use this software for any 
     14  purpose, including commercial applications, and to alter it and 
     15  redistribute it freely, subject to the following restrictions: 
     16 
     17  1. The origin of this software must not be misrepresented; you must 
     18     not claim that you wrote the original software. If you use this 
     19     software in a product, an acknowledgment in the product 
     20     documentation would be appreciated but is not required. 
     21 
     22  2. Altered source versions must be plainly marked as such, and must 
     23     not be misrepresented as being the original software. 
     24  3. This notice may not be removed or altered from any source distribution. 
     25 
     26  William Baxter wbaxter@gmail.com 
     27*/ 
    128module luigi.base; 
    229 
  • trunk/luigi/example1.d

    r5 r6  
     1//--------------------------------------------------------------------- 
     2/* 
     3 Copyright: 
     4 
     5  luigi/example1.d -- An example program using the Luigi user 
     6                      interface library. 
     7 
     8  Copyright (C) 2006 William V. Baxter III 
     9 
     10  This software is provided 'as-is', without any express or implied 
     11  warranty.  In no event will the authors be held liable for any 
     12  damages arising from the use of this software. 
     13 
     14  Permission is granted to anyone to use this software for any 
     15  purpose, including commercial applications, and to alter it and 
     16  redistribute it freely, subject to the following restrictions: 
     17 
     18  1. The origin of this software must not be misrepresented; you must 
     19     not claim that you wrote the original software. If you use this 
     20     software in a product, an acknowledgment in the product 
     21     documentation would be appreciated but is not required. 
     22  2. Altered source versions must be plainly marked as such, and must 
     23     not be misrepresented as being the original software. 
     24  3. This notice may not be removed or altered from any source distribution. 
     25 
     26  William Baxter wbaxter@gmail.com 
     27*/ 
    128import luigui = luigi.gui; 
    229 
  • trunk/luigi/font.d

    r5 r6  
    1 // The following copyright applies to portions of this code below. 
     1//--------------------------------------------------------------------- 
     2/* 
     3 Copyright: 
     4 
     5  luigi/font.d -- font support for 'luigi' user interface library. 
     6 
     7  Copyright (C) 2006 William V. Baxter III 
     8 
     9  This software is provided 'as-is', without any express or implied 
     10  warranty.  In no event will the authors be held liable for any 
     11  damages arising from the use of this software. 
     12 
     13  Permission is granted to anyone to use this software for any 
     14  purpose, including commercial applications, and to alter it and 
     15  redistribute it freely, subject to the following restrictions: 
     16 
     17  1. The origin of this software must not be misrepresented; you must 
     18     not claim that you wrote the original software. If you use this 
     19     software in a product, an acknowledgment in the product 
     20     documentation would be appreciated but is not required. 
     21  2. Altered source versions must be plainly marked as such, and must 
     22     not be misrepresented as being the original software. 
     23  3. This notice may not be removed or altered from any source distribution. 
     24 
     25  William Baxter wbaxter@gmail.com 
     26*/ 
     27 
     28// The following copyright applies to some portions of this code below. 
    229/* 
    330 * Portions copyright (C) 2004, the OpenGLUT project contributors. 
  • trunk/luigi/gldraw.d

    r5 r6  
     1//--------------------------------------------------------------------- 
     2/* 
     3 Copyright: 
     4 
     5  luigi/gldraw.d -- OpenGL drawing utilities 'luigi' user interface library. 
     6 
     7  Copyright (C) 2006 William V. Baxter III 
     8 
     9  This software is provided 'as-is', without any express or implied 
     10  warranty.  In no event will the authors be held liable for any 
     11  damages arising from the use of this software. 
     12 
     13  Permission is granted to anyone to use this software for any 
     14  purpose, including commercial applications, and to alter it and 
     15  redistribute it freely, subject to the following restrictions: 
     16 
     17  1. The origin of this software must not be misrepresented; you must 
     18     not claim that you wrote the original software. If you use this 
     19     software in a product, an acknowledgment in the product 
     20     documentation would be appreciated but is not required. 
     21 
     22  2. Altered source versions must be plainly marked as such, and must 
     23     not be misrepresented as being the original software. 
     24  3. This notice may not be removed or altered from any source distribution. 
     25 
     26  William Baxter wbaxter@gmail.com 
     27*/ 
    128module luigi.gldraw; 
    229 
  • trunk/luigi/gui.d

    r5 r6  
     1//--------------------------------------------------------------------- 
     2/** 
     3   Luigi is an OpenGL based GUI library. 
     4*/  
     5//--------------------------------------------------------------------- 
     6/* 
     7 Copyright: 
     8 
     9  luigi/gui.d -- main import file for 'luigi' user interface library. 
     10  version 0.1, November 9, 2006 
     11 
     12  Copyright (C) 2006 William V. Baxter III 
     13 
     14  This software is provided 'as-is', without any express or implied 
     15  warranty.  In no event will the authors be held liable for any 
     16  damages arising from the use of this software. 
     17 
     18  Permission is granted to anyone to use this software for any 
     19  purpose, including commercial applications, and to alter it and 
     20  redistribute it freely, subject to the following restrictions: 
     21 
     22  1. The origin of this software must not be misrepresented; you must 
     23     not claim that you wrote the original software. If you use this 
     24     software in a product, an acknowledgment in the product 
     25     documentation would be appreciated but is not required. 
     26 
     27  2. Altered source versions must be plainly marked as such, and must 
     28     not be misrepresented as being the original software. 
     29  3. This notice may not be removed or altered from any source distribution. 
     30 
     31  William Baxter wbaxter@gmail.com 
     32*/ 
     33 
    134module luigi.gui; 
    235 
  • trunk/luigi/opengl.d

    r5 r6  
     1//--------------------------------------------------------------------- 
     2/* 
     3 Copyright: 
     4 
     5  luigi/opengl.d -- opegl imports for 'luigi' user interface library. 
     6 
     7  Copyright (C) 2006 William V. Baxter III 
     8 
     9  This software is provided 'as-is', without any express or implied 
     10  warranty.  In no event will the authors be held liable for any 
     11  damages arising from the use of this software. 
     12 
     13  Permission is granted to anyone to use this software for any 
     14  purpose, including commercial applications, and to alter it and 
     15  redistribute it freely, subject to the following restrictions: 
     16 
     17  1. The origin of this software must not be misrepresented; you must 
     18     not claim that you wrote the original software. If you use this 
     19     software in a product, an acknowledgment in the product 
     20     documentation would be appreciated but is not required. 
     21 
     22  2. Altered source versions must be plainly marked as such, and must 
     23     not be misrepresented as being the original software. 
     24  3. This notice may not be removed or altered from any source distribution. 
     25 
     26  William Baxter wbaxter@gmail.com 
     27*/ 
     28 
    129// This is just to centralize how we import gl declarations in one place 
    230 
  • trunk/luigi/theme.d

    r5 r6  
     1//--------------------------------------------------------------------- 
     2/* 
     3 Copyright: 
     4 
     5  luigi/theme.d -- theme support for 'luigi' user interface library. 
     6 
     7  Copyright (C) 2006 William V. Baxter III 
     8 
     9  This software is provided 'as-is', without any express or implied 
     10  warranty.  In no event will the authors be held liable for any 
     11  damages arising from the use of this software. 
     12 
     13  Permission is granted to anyone to use this software for any 
     14  purpose, including commercial applications, and to alter it and 
     15  redistribute it freely, subject to the following restrictions: 
     16 
     17  1. The origin of this software must not be misrepresented; you must 
     18     not claim that you wrote the original software. If you use this 
     19     software in a product, an acknowledgment in the product 
     20     documentation would be appreciated but is not required. 
     21 
     22  2. Altered source versions must be plainly marked as such, and must 
     23     not be misrepresented as being the original software. 
     24  3. This notice may not be removed or altered from any source distribution. 
     25 
     26  William Baxter wbaxter@gmail.com 
     27*/ 
    128module luigi.theme; 
    229