summaryrefslogtreecommitdiff
path: root/uisimulator
diff options
context:
space:
mode:
Diffstat (limited to 'uisimulator')
-rw-r--r--uisimulator/x11/chardef.h25
-rw-r--r--uisimulator/x11/charundef.h22
2 files changed, 47 insertions, 0 deletions
diff --git a/uisimulator/x11/chardef.h b/uisimulator/x11/chardef.h
new file mode 100644
index 0000000000..f85f422eec
--- /dev/null
+++ b/uisimulator/x11/chardef.h
@@ -0,0 +1,25 @@
+/***************************************************************************
+ * __________ __ ___.
+ * Open \______ \ ____ ____ | | _\_ |__ _______ ___
+ * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
+ * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
+ * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
+ * \/ \/ \/ \/ \/
+ * $Id$
+ *
+ * Copyright (C) 2002 by Daniel Stenberg <daniel@haxx.se>
+ *
+ * All files in this archive are subject to the GNU General Public License.
+ * See the file COPYING in the source tree root for full license agreement.
+ *
+ * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
+ * KIND, either express or implied.
+ *
+ ****************************************************************************/
+
+/* When we're simulating the charcell LCDs we still use these functions
+ to do bitmap stuff so then we need to re-define them slightly so that
+ the names don't collide */
+#define lcd_clear_display sim_lcd_clear_display
+#define lcd_puts sim_lcd_puts
+#define lcd_bitmap sim_lcd_bitmap
diff --git a/uisimulator/x11/charundef.h b/uisimulator/x11/charundef.h
new file mode 100644
index 0000000000..1436831d8e
--- /dev/null
+++ b/uisimulator/x11/charundef.h
@@ -0,0 +1,22 @@
+/***************************************************************************
+ * __________ __ ___.
+ * Open \______ \ ____ ____ | | _\_ |__ _______ ___
+ * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
+ * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
+ * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
+ * \/ \/ \/ \/ \/
+ * $Id$
+ *
+ * Copyright (C) 2002 by Daniel Stenberg <daniel@haxx.se>
+ *
+ * All files in this archive are subject to the GNU General Public License.
+ * See the file COPYING in the source tree root for full license agreement.
+ *
+ * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
+ * KIND, either express or implied.
+ *
+ ****************************************************************************/
+
+#undef lcd_clear_display
+#undef lcd_puts
+#undef lcd_bitmap