summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpixel <pixel>2004-07-15 14:21:30 +0000
committerpixel <pixel>2004-07-15 14:21:30 +0000
commit2d7027363cc50c6532711a2b976c65a3cae0ec4a (patch)
treee328cf5b8f41b7150708bc2212bfad2d1090f32d
parent55524da6af5a98df4d9c38d8408cd65bd233ee57 (diff)
Updating copyrights and headers
-rw-r--r--include/base.h21
-rw-r--r--include/engine.h21
-rw-r--r--include/font.h21
-rw-r--r--include/glbase.h21
-rw-r--r--include/glfont.h21
-rw-r--r--include/glshape.h21
-rw-r--r--include/glsprite.h21
-rw-r--r--include/glwidgets.h21
-rw-r--r--include/mcolor.h21
-rw-r--r--include/shape.h21
-rw-r--r--include/sprite.h21
-rw-r--r--include/texture.h21
-rw-r--r--include/widgets.h21
-rw-r--r--lib/base.cc21
-rw-r--r--lib/engine.cc21
-rw-r--r--lib/font.cc21
-rw-r--r--lib/glbase.cc21
-rw-r--r--lib/glfont.cc21
-rw-r--r--lib/glshape.cc21
-rw-r--r--lib/glsprite.cc21
-rw-r--r--lib/glwidgets.cc21
-rw-r--r--lib/mcolor.cc21
-rw-r--r--lib/shape.cc21
-rw-r--r--lib/sprite.cc21
-rw-r--r--lib/texture.cc21
-rw-r--r--lib/widgets.cc27
26 files changed, 549 insertions, 3 deletions
diff --git a/include/base.h b/include/base.h
index 0aecf8c..8a2ccbf 100644
--- a/include/base.h
+++ b/include/base.h
@@ -1,3 +1,24 @@
+/*
+ * mogltk
+ * Copyright (C) 1999-2004 Nicolas "Pixel" Noble
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ */
+
+/* $Id: base.h,v 1.8 2004-07-15 14:21:30 pixel Exp $ */
+
#ifndef __BASE_H__
#define __BASE_H__
diff --git a/include/engine.h b/include/engine.h
index 6dbd990..9d12e95 100644
--- a/include/engine.h
+++ b/include/engine.h
@@ -1,3 +1,24 @@
+/*
+ * mogltk
+ * Copyright (C) 1999-2004 Nicolas "Pixel" Noble
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ */
+
+/* $Id: engine.h,v 1.18 2004-07-15 14:21:30 pixel Exp $ */
+
#ifndef __ENGINE_H__
#define __ENGINE_H__
diff --git a/include/font.h b/include/font.h
index da9ad46..0ad075f 100644
--- a/include/font.h
+++ b/include/font.h
@@ -1,3 +1,24 @@
+/*
+ * mogltk
+ * Copyright (C) 1999-2004 Nicolas "Pixel" Noble
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ */
+
+/* $Id: font.h,v 1.8 2004-07-15 14:21:30 pixel Exp $ */
+
#ifndef __FONT_H__
#define __FONT_H__
diff --git a/include/glbase.h b/include/glbase.h
index 9069d69..031821e 100644
--- a/include/glbase.h
+++ b/include/glbase.h
@@ -1,3 +1,24 @@
+/*
+ * mogltk
+ * Copyright (C) 1999-2004 Nicolas "Pixel" Noble
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ */
+
+/* $Id: glbase.h,v 1.10 2004-07-15 14:21:30 pixel Exp $ */
+
#ifndef __GLBASE_H__
#define __GLBASE_H__
diff --git a/include/glfont.h b/include/glfont.h
index 2076675..185b316 100644
--- a/include/glfont.h
+++ b/include/glfont.h
@@ -1,3 +1,24 @@
+/*
+ * mogltk
+ * Copyright (C) 1999-2004 Nicolas "Pixel" Noble
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ */
+
+/* $Id: glfont.h,v 1.14 2004-07-15 14:21:30 pixel Exp $ */
+
#ifndef __GLFONT_H__
#define __GLFONT_H__
diff --git a/include/glshape.h b/include/glshape.h
index aad9f16..9ee541d 100644
--- a/include/glshape.h
+++ b/include/glshape.h
@@ -1,3 +1,24 @@
+/*
+ * mogltk
+ * Copyright (C) 1999-2004 Nicolas "Pixel" Noble
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ */
+
+/* $Id: glshape.h,v 1.13 2004-07-15 14:21:30 pixel Exp $ */
+
#ifndef __GLSHAPE_H__
#define __GLSHAPE_H__
diff --git a/include/glsprite.h b/include/glsprite.h
index 237a922..031f1b8 100644
--- a/include/glsprite.h
+++ b/include/glsprite.h
@@ -1,3 +1,24 @@
+/*
+ * mogltk
+ * Copyright (C) 1999-2004 Nicolas "Pixel" Noble
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ */
+
+/* $Id: glsprite.h,v 1.5 2004-07-15 14:21:30 pixel Exp $ */
+
#ifndef __GLSPRITE_H__
#define __GLSPRITE_H__
diff --git a/include/glwidgets.h b/include/glwidgets.h
index 241dd55..7b4eea8 100644
--- a/include/glwidgets.h
+++ b/include/glwidgets.h
@@ -1,3 +1,24 @@
+/*
+ * mogltk
+ * Copyright (C) 1999-2004 Nicolas "Pixel" Noble
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ */
+
+/* $Id: glwidgets.h,v 1.7 2004-07-15 14:21:30 pixel Exp $ */
+
#ifndef __GLWIDGETS_H__
#define __GLWIDGETS_H__
diff --git a/include/mcolor.h b/include/mcolor.h
index 4cf3113..abb1e10 100644
--- a/include/mcolor.h
+++ b/include/mcolor.h
@@ -1,3 +1,24 @@
+/*
+ * mogltk
+ * Copyright (C) 1999-2004 Nicolas "Pixel" Noble
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ */
+
+/* $Id: mcolor.h,v 1.7 2004-07-15 14:21:30 pixel Exp $ */
+
#ifndef __MCOLOR_H__
#define __MCOLOR_H__
diff --git a/include/shape.h b/include/shape.h
index 58f4c07..a3d3bcb 100644
--- a/include/shape.h
+++ b/include/shape.h
@@ -1,3 +1,24 @@
+/*
+ * mogltk
+ * Copyright (C) 1999-2004 Nicolas "Pixel" Noble
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ */
+
+/* $Id: shape.h,v 1.14 2004-07-15 14:21:30 pixel Exp $ */
+
#ifndef __SHAPE_H__
#define __SHAPE_H__
diff --git a/include/sprite.h b/include/sprite.h
index 2b1a4a0..5c7f041 100644
--- a/include/sprite.h
+++ b/include/sprite.h
@@ -1,3 +1,24 @@
+/*
+ * mogltk
+ * Copyright (C) 1999-2004 Nicolas "Pixel" Noble
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ */
+
+/* $Id: sprite.h,v 1.11 2004-07-15 14:21:30 pixel Exp $ */
+
#ifndef __SPRITE_H__
#define __SPRITE_H__
diff --git a/include/texture.h b/include/texture.h
index 44e2efe..8bff668 100644
--- a/include/texture.h
+++ b/include/texture.h
@@ -1,3 +1,24 @@
+/*
+ * mogltk
+ * Copyright (C) 1999-2004 Nicolas "Pixel" Noble
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ */
+
+/* $Id: texture.h,v 1.7 2004-07-15 14:21:30 pixel Exp $ */
+
#ifndef __TEXTURE_H__
#define __TEXTURE_H__
diff --git a/include/widgets.h b/include/widgets.h
index 939c753..88ba2d9 100644
--- a/include/widgets.h
+++ b/include/widgets.h
@@ -1,3 +1,24 @@
+/*
+ * mogltk
+ * Copyright (C) 1999-2004 Nicolas "Pixel" Noble
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ */
+
+/* $Id: widgets.h,v 1.4 2004-07-15 14:21:30 pixel Exp $ */
+
#ifndef __WIDGETS_H__
#define __WIDGETS_H__
diff --git a/lib/base.cc b/lib/base.cc
index fd5c1da..d1ba7ef 100644
--- a/lib/base.cc
+++ b/lib/base.cc
@@ -1,3 +1,24 @@
+/*
+ * mogltk
+ * Copyright (C) 1999-2004 Nicolas "Pixel" Noble
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ */
+
+/* $Id: base.cc,v 1.12 2004-07-15 14:21:31 pixel Exp $ */
+
#include <stdio.h>
#include <SDL.h>
#include "base.h"
diff --git a/lib/engine.cc b/lib/engine.cc
index e8d232e..9da6777 100644
--- a/lib/engine.cc
+++ b/lib/engine.cc
@@ -1,3 +1,24 @@
+/*
+ * mogltk
+ * Copyright (C) 1999-2004 Nicolas "Pixel" Noble
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ */
+
+/* $Id: engine.cc,v 1.26 2004-07-15 14:21:31 pixel Exp $ */
+
#include <SDL.h>
#include <Input.h>
#include "engine.h"
diff --git a/lib/font.cc b/lib/font.cc
index a23eae2..1683387 100644
--- a/lib/font.cc
+++ b/lib/font.cc
@@ -1,3 +1,24 @@
+/*
+ * mogltk
+ * Copyright (C) 1999-2004 Nicolas "Pixel" Noble
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ */
+
+/* $Id: font.cc,v 1.14 2004-07-15 14:21:31 pixel Exp $ */
+
#include <stdarg.h>
#include <SDL.h>
#include <Input.h>
diff --git a/lib/glbase.cc b/lib/glbase.cc
index 22cbe3f..a404f8e 100644
--- a/lib/glbase.cc
+++ b/lib/glbase.cc
@@ -1,3 +1,24 @@
+/*
+ * mogltk
+ * Copyright (C) 1999-2004 Nicolas "Pixel" Noble
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ */
+
+/* $Id: glbase.cc,v 1.19 2004-07-15 14:21:31 pixel Exp $ */
+
#include <stdio.h>
#include <SDL.h>
#include <SDL_opengl.h>
diff --git a/lib/glfont.cc b/lib/glfont.cc
index 9bbcbd9..ba3ed77 100644
--- a/lib/glfont.cc
+++ b/lib/glfont.cc
@@ -1,3 +1,24 @@
+/*
+ * mogltk
+ * Copyright (C) 1999-2004 Nicolas "Pixel" Noble
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ */
+
+/* $Id: glfont.cc,v 1.23 2004-07-15 14:21:31 pixel Exp $ */
+
#include "engine.h"
#include "glbase.h"
#include "glfont.h"
diff --git a/lib/glshape.cc b/lib/glshape.cc
index 270279d..617e1dd 100644
--- a/lib/glshape.cc
+++ b/lib/glshape.cc
@@ -1,3 +1,24 @@
+/*
+ * mogltk
+ * Copyright (C) 1999-2004 Nicolas "Pixel" Noble
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ */
+
+/* $Id: glshape.cc,v 1.14 2004-07-15 14:21:31 pixel Exp $ */
+
#include <SDL_opengl.h>
#include "glbase.h"
#include "glshape.h"
diff --git a/lib/glsprite.cc b/lib/glsprite.cc
index 44322b7..0a98149 100644
--- a/lib/glsprite.cc
+++ b/lib/glsprite.cc
@@ -1,3 +1,24 @@
+/*
+ * mogltk
+ * Copyright (C) 1999-2004 Nicolas "Pixel" Noble
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ */
+
+/* $Id: glsprite.cc,v 1.9 2004-07-15 14:21:31 pixel Exp $ */
+
#include <SDL.h>
#include "glbase.h"
#include "glsprite.h"
diff --git a/lib/glwidgets.cc b/lib/glwidgets.cc
index 3119831..5183ff5 100644
--- a/lib/glwidgets.cc
+++ b/lib/glwidgets.cc
@@ -1,3 +1,24 @@
+/*
+ * mogltk
+ * Copyright (C) 1999-2004 Nicolas "Pixel" Noble
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ */
+
+/* $Id: glwidgets.cc,v 1.7 2004-07-15 14:21:31 pixel Exp $ */
+
#include <SDL.h>
#include <SDL_opengl.h>
#include "mcolor.h"
diff --git a/lib/mcolor.cc b/lib/mcolor.cc
index 7932fb8..e355615 100644
--- a/lib/mcolor.cc
+++ b/lib/mcolor.cc
@@ -1,3 +1,24 @@
+/*
+ * mogltk
+ * Copyright (C) 1999-2004 Nicolas "Pixel" Noble
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ */
+
+/* $Id: mcolor.cc,v 1.6 2004-07-15 14:21:31 pixel Exp $ */
+
#include <SDL.h>
#include <SDL_opengl.h>
#include "engine.h"
diff --git a/lib/shape.cc b/lib/shape.cc
index 60e9522..032ea23 100644
--- a/lib/shape.cc
+++ b/lib/shape.cc
@@ -1,3 +1,24 @@
+/*
+ * mogltk
+ * Copyright (C) 1999-2004 Nicolas "Pixel" Noble
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ */
+
+/* $Id: shape.cc,v 1.17 2004-07-15 14:21:31 pixel Exp $ */
+
#include <math.h>
#include <limits.h>
#include <SDL.h>
diff --git a/lib/sprite.cc b/lib/sprite.cc
index 77795dc..b3160b8 100644
--- a/lib/sprite.cc
+++ b/lib/sprite.cc
@@ -1,3 +1,24 @@
+/*
+ * mogltk
+ * Copyright (C) 1999-2004 Nicolas "Pixel" Noble
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ */
+
+/* $Id: sprite.cc,v 1.13 2004-07-15 14:21:31 pixel Exp $ */
+
#include <SDL.h>
#include "engine.h"
#include "base.h"
diff --git a/lib/texture.cc b/lib/texture.cc
index 40c02ac..8303910 100644
--- a/lib/texture.cc
+++ b/lib/texture.cc
@@ -1,3 +1,24 @@
+/*
+ * mogltk
+ * Copyright (C) 1999-2004 Nicolas "Pixel" Noble
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ */
+
+/* $Id: texture.cc,v 1.9 2004-07-15 14:21:31 pixel Exp $ */
+
#include <sys/types.h>
#include <SDL.h>
#include <SDL_opengl.h>
diff --git a/lib/widgets.cc b/lib/widgets.cc
index f1b558d..c0e09db 100644
--- a/lib/widgets.cc
+++ b/lib/widgets.cc
@@ -1,3 +1,24 @@
+/*
+ * mogltk
+ * Copyright (C) 1999-2004 Nicolas "Pixel" Noble
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ */
+
+/* $Id: widgets.cc,v 1.6 2004-07-15 14:21:31 pixel Exp $ */
+
#include <SDL.h>
#include <vector>
#include <Input.h>
@@ -887,16 +908,16 @@ bool mogltk::widgets::ContextMenu::iin_click() {
mogltk::widgets::Menu::Menu(shape * sh, mogltk::widget * father) : widget(father, 0, 0, 0, 0, 0, "Menu", sh) {
rect r = father->GetDrawRect();
move(r.x, r.y);
- resize(r.w, r.h);
+ resize(r.w, 16);
}
void mogltk::widgets::Menu::resize_notify() {
rect r = Father()->GetDrawRect();
- resize(r.w, r.h);
+ resize(r.w, 16);
}
void mogltk::widgets::Menu::draw(void) {
- Shaper()->box(GetAX(), GetAY(), GetAX2(), GetAY() + 16, BLUE);
+ Shaper()->box(GetAX(), GetAY(), GetAX2(), GetAY2(), BLUE);
}
bool mogltk::widgets::Menu::process_event(int mx, int my, mogltk::event_t event) {