aboutsummaryrefslogtreecommitdiffstats
path: root/fbtruetype/fbtruetype-messages.c
diff options
context:
space:
mode:
authorFlorent Villard <warly@mandriva.com>2004-01-21 16:42:06 +0000
committerFlorent Villard <warly@mandriva.com>2004-01-21 16:42:06 +0000
commit5ba2cbc09292a179e6ea1df36321b055aa2d7052 (patch)
treee339c38a774d338459682d48e8b7e93f98b99c30 /fbtruetype/fbtruetype-messages.c
parent310345298a52363e2627a714c9ad21216c6ce369 (diff)
downloadbootsplash-5ba2cbc09292a179e6ea1df36321b055aa2d7052.tar
bootsplash-5ba2cbc09292a179e6ea1df36321b055aa2d7052.tar.gz
bootsplash-5ba2cbc09292a179e6ea1df36321b055aa2d7052.tar.bz2
bootsplash-5ba2cbc09292a179e6ea1df36321b055aa2d7052.tar.xz
bootsplash-5ba2cbc09292a179e6ea1df36321b055aa2d7052.zip
sync with bootsplash.org code. fix freetype build
Diffstat (limited to 'fbtruetype/fbtruetype-messages.c')
-rw-r--r--fbtruetype/fbtruetype-messages.c38
1 files changed, 38 insertions, 0 deletions
diff --git a/fbtruetype/fbtruetype-messages.c b/fbtruetype/fbtruetype-messages.c
new file mode 100644
index 0000000..33a1be4
--- /dev/null
+++ b/fbtruetype/fbtruetype-messages.c
@@ -0,0 +1,38 @@
+/*
+ * (c) 2002-2003 by Stefan Reinauer, <stepan@suse.de>
+ *
+ * This program my be redistributed under the terms of the
+ * GNU General Public Licence, version 2, or at your preference,
+ * any later version.
+ */
+
+#include <stdio.h>
+#include "fbtruetype.h"
+#include "messages.h"
+
+void usage(char *name)
+{
+ fprintf(stderr, "\nusage: %s [ parameters ] text\n", name);
+ fprintf(stderr,
+ "\n -x: x coordinate\n"
+ " -y: y coordinate\n"
+ " -f, --font: font name (.ttf file)\n"
+ " -t, --textcolor: text color (hex)\n"
+ " -s, --size: font size (default 36)\n"
+ " -a, --alpha: default alpha channel 1..100\n"
+ " -v, --verbose: verbose mode\n"
+ " -V, --version: show version and exit\n"
+ " -?, -h, --help: print this help.\n"
+ " -S --start-console: output on start console only.\n"
+ " -c: start on specified console.\n\n");
+}
+
+void version(void)
+{
+ fprintf(stderr,
+ "fbtruetype v%s, Copyright (C) 2002, 2003 Stefan Reinauer <stepan@suse.de>\n\n"
+ "fbtruetype comes with ABSOLUTELY NO WARRANTY;\n"
+ "This is free software, and you are welcome to redistribute it\n"
+ "under certain conditions; Check the GPL for details.\n",
+ FBTRUETYPE_VERSION);
+}