1
0
mirror of git://projects.qi-hardware.com/antorcha.git synced 2024-11-01 05:43:09 +02:00

rename libtxt to libant

This commit is contained in:
Werner Almesberger 2012-11-01 18:13:03 -03:00
parent 95c7d71fb2
commit f38d3201d1
7 changed files with 13 additions and 13 deletions

View File

@ -16,7 +16,7 @@ MAIN = ant-txt
CFLAGS = -g -Wall -I.. \
$(if $(BEN), -static)
LDLIBS = -L../libtxt -ltxt
LDLIBS = -L../libant -lant
OBJS = ant-txt.o

View File

@ -18,7 +18,7 @@
#include <assert.h>
#include <sys/types.h>
#include <libtxt/libtxt.h>
#include <libant/libant.h>
#define W 80

View File

@ -1,5 +1,5 @@
#
# tools/libtxt/Makefile - Build the Antorcha tool
# tools/libant/Makefile - Build the Antorcha library
#
# Written 2012 by Werner Almesberger
# Copyright 2012 Werner Almesberger
@ -11,7 +11,7 @@
#
LIB = libtxt.a
LIB = libant.a
# _GNU_SOURCE for vasprintf
CFLAGS = -g -Wall -D_GNU_SOURCE

View File

@ -1,5 +1,5 @@
/*
* tools/libtxt/edit.c - Editing and rendering
* tools/libant/edit.c - Editing and rendering
*
* Written 2012 by Werner Almesberger
* Copyright 2012 Werner Almesberger
@ -17,7 +17,7 @@
#include <sys/types.h>
#include "util.h"
#include "libtxt.h"
#include "libant.h"
#define DEFAULT_FONT "5x7"

View File

@ -1,5 +1,5 @@
/*
* tools/libtxt/font.c - Font operations
* tools/libant/font.c - Font operations
*
* Written 2012 by Werner Almesberger
* Copyright 2012 Werner Almesberger
@ -17,7 +17,7 @@
#include <errno.h>
#include "util.h"
#include "libtxt.h"
#include "libant.h"
static const char charset[] = "ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789!?$%+-*/=@.";

View File

@ -1,5 +1,5 @@
/*
* tools/libtxt/libtxt.h - Text processing functions
* tools/libant/libant.h - Text processing functions
*
* Written 2012 by Werner Almesberger
* Copyright 2012 Werner Almesberger
@ -10,8 +10,8 @@
* (at your option) any later version.
*/
#ifndef LIBTXT_H
#define LIBTXT_H
#ifndef LIBANT_H
#define LIBANT_H
#include <stdio.h>
@ -77,4 +77,4 @@ void add_font_dir(const char *name);
void *apply_edits(int width, int height, const struct edit *e,
const char **error);
#endif /* !LIBTXT_H */
#endif /* !LIBANT_H */

View File

@ -1,5 +1,5 @@
/*
* tools/libtxt/util.h - Utility functions
* tools/libant/util.h - Utility functions
*
* Written 2012 by Werner Almesberger
* Copyright 2012 Werner Almesberger