|
Revision 46, 1.3 kB
(checked in by baxissimo, 2 years ago)
|
Added top level add_blah_callback calls in gui.d to hook the system-level input routines. May rethink this a bit still. That may be wanted in some cases (reshape, or recording all mouse motion for example) , but probably more useful would be routines that get called as a _fallback_ when no gui widget intercepts the event.
Fixed disconnect in signalobj.d
Added disconnect routines to adapter.d
Fixed dxut to work without Derelict.
|
| Line | |
|---|
| 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 |
|
|---|
| 29 |
// This is just to centralize how we import gl declarations in one place |
|---|
| 30 |
|
|---|
| 31 |
module luigi.opengl; |
|---|
| 32 |
|
|---|
| 33 |
version(useDerelict) { |
|---|
| 34 |
public import derelict.opengl.gl; |
|---|
| 35 |
} else { |
|---|
| 36 |
public import gl; |
|---|
| 37 |
} |
|---|