aboutsummaryrefslogtreecommitdiff
path: root/graphics/primitives.h
diff options
context:
space:
mode:
authorMax Horn2005-04-27 20:29:19 +0000
committerMax Horn2005-04-27 20:29:19 +0000
commit4ec716103270459a978fe1e6c699db5bfd5ae6cc (patch)
tree1cce871512dd281dfa90c8b160b9e5bf5a60d8a1 /graphics/primitives.h
parent6fb944befd6e7bc089d4e7cc309ee1f6e8d89dc7 (diff)
downloadscummvm-rg350-4ec716103270459a978fe1e6c699db5bfd5ae6cc.tar.gz
scummvm-rg350-4ec716103270459a978fe1e6c699db5bfd5ae6cc.tar.bz2
scummvm-rg350-4ec716103270459a978fe1e6c699db5bfd5ae6cc.zip
Patch #1186744 (Common line-drawing function)
svn-id: r17842
Diffstat (limited to 'graphics/primitives.h')
-rw-r--r--graphics/primitives.h30
1 files changed, 30 insertions, 0 deletions
diff --git a/graphics/primitives.h b/graphics/primitives.h
new file mode 100644
index 0000000000..d00c68840e
--- /dev/null
+++ b/graphics/primitives.h
@@ -0,0 +1,30 @@
+/* ScummVM - Scumm Interpreter
+ * Copyright (C) 2002-2005 The ScummVM project
+ *
+ * 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.
+ *
+ * $Header$
+ */
+
+#ifndef GRAPHICS_PRIMITIVES_H
+#define GRAPHICS_PRIMITIVES_H
+
+namespace Graphics {
+
+extern void drawLine(int x0, int y0, int x1, int y1, int color, void (*plotProc)(int, int, int, void *), void *data);
+
+} // End of namespace Graphics
+
+#endif