mirror of
git://projects.qi-hardware.com/antorcha.git
synced 2024-11-26 13:14:04 +02:00
rename libtxt to libant
This commit is contained in:
parent
95c7d71fb2
commit
f38d3201d1
@ -16,7 +16,7 @@ MAIN = ant-txt
|
|||||||
CFLAGS = -g -Wall -I.. \
|
CFLAGS = -g -Wall -I.. \
|
||||||
$(if $(BEN), -static)
|
$(if $(BEN), -static)
|
||||||
|
|
||||||
LDLIBS = -L../libtxt -ltxt
|
LDLIBS = -L../libant -lant
|
||||||
|
|
||||||
OBJS = ant-txt.o
|
OBJS = ant-txt.o
|
||||||
|
|
||||||
|
@ -18,7 +18,7 @@
|
|||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
|
|
||||||
#include <libtxt/libtxt.h>
|
#include <libant/libant.h>
|
||||||
|
|
||||||
|
|
||||||
#define W 80
|
#define W 80
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# tools/libtxt/Makefile - Build the Antorcha tool
|
# tools/libant/Makefile - Build the Antorcha library
|
||||||
#
|
#
|
||||||
# Written 2012 by Werner Almesberger
|
# Written 2012 by Werner Almesberger
|
||||||
# Copyright 2012 Werner Almesberger
|
# Copyright 2012 Werner Almesberger
|
||||||
@ -11,7 +11,7 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
LIB = libtxt.a
|
LIB = libant.a
|
||||||
|
|
||||||
# _GNU_SOURCE for vasprintf
|
# _GNU_SOURCE for vasprintf
|
||||||
CFLAGS = -g -Wall -D_GNU_SOURCE
|
CFLAGS = -g -Wall -D_GNU_SOURCE
|
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* tools/libtxt/edit.c - Editing and rendering
|
* tools/libant/edit.c - Editing and rendering
|
||||||
*
|
*
|
||||||
* Written 2012 by Werner Almesberger
|
* Written 2012 by Werner Almesberger
|
||||||
* Copyright 2012 Werner Almesberger
|
* Copyright 2012 Werner Almesberger
|
||||||
@ -17,7 +17,7 @@
|
|||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
|
|
||||||
#include "util.h"
|
#include "util.h"
|
||||||
#include "libtxt.h"
|
#include "libant.h"
|
||||||
|
|
||||||
|
|
||||||
#define DEFAULT_FONT "5x7"
|
#define DEFAULT_FONT "5x7"
|
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* tools/libtxt/font.c - Font operations
|
* tools/libant/font.c - Font operations
|
||||||
*
|
*
|
||||||
* Written 2012 by Werner Almesberger
|
* Written 2012 by Werner Almesberger
|
||||||
* Copyright 2012 Werner Almesberger
|
* Copyright 2012 Werner Almesberger
|
||||||
@ -17,7 +17,7 @@
|
|||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
|
|
||||||
#include "util.h"
|
#include "util.h"
|
||||||
#include "libtxt.h"
|
#include "libant.h"
|
||||||
|
|
||||||
|
|
||||||
static const char charset[] = "ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789!?$%+-*/=@.";
|
static const char charset[] = "ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789!?$%+-*/=@.";
|
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* tools/libtxt/libtxt.h - Text processing functions
|
* tools/libant/libant.h - Text processing functions
|
||||||
*
|
*
|
||||||
* Written 2012 by Werner Almesberger
|
* Written 2012 by Werner Almesberger
|
||||||
* Copyright 2012 Werner Almesberger
|
* Copyright 2012 Werner Almesberger
|
||||||
@ -10,8 +10,8 @@
|
|||||||
* (at your option) any later version.
|
* (at your option) any later version.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef LIBTXT_H
|
#ifndef LIBANT_H
|
||||||
#define LIBTXT_H
|
#define LIBANT_H
|
||||||
|
|
||||||
#include <stdio.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,
|
void *apply_edits(int width, int height, const struct edit *e,
|
||||||
const char **error);
|
const char **error);
|
||||||
|
|
||||||
#endif /* !LIBTXT_H */
|
#endif /* !LIBANT_H */
|
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* tools/libtxt/util.h - Utility functions
|
* tools/libant/util.h - Utility functions
|
||||||
*
|
*
|
||||||
* Written 2012 by Werner Almesberger
|
* Written 2012 by Werner Almesberger
|
||||||
* Copyright 2012 Werner Almesberger
|
* Copyright 2012 Werner Almesberger
|
Loading…
Reference in New Issue
Block a user