mirror of
git://projects.qi-hardware.com/eda-tools.git
synced 2024-11-23 02:30:36 +02:00
eeshow/misc.c: goes to gfx/, too
This commit is contained in:
parent
9829f7070f
commit
766f1d64f3
@ -18,8 +18,8 @@ OBJS = main.o \
|
|||||||
file/file.o file/git-util.o file/git-file.o file/git-hist.o \
|
file/file.o file/git-util.o file/git-file.o file/git-hist.o \
|
||||||
delta.o \
|
delta.o \
|
||||||
gfx/style.o gfx/fig.o gfx/record.o gfx/cro.o gfx/diff.o gfx/gfx.o \
|
gfx/style.o gfx/fig.o gfx/record.o gfx/cro.o gfx/diff.o gfx/gfx.o \
|
||||||
gfx/text.o \
|
gfx/text.o gfx/misc.o \
|
||||||
misc.o diag.o
|
diag.o
|
||||||
|
|
||||||
CFLAGS = -g -Wall -Wextra -Wno-unused-parameter -Wshadow \
|
CFLAGS = -g -Wall -Wextra -Wno-unused-parameter -Wshadow \
|
||||||
-Wmissing-prototypes -Wmissing-declarations \
|
-Wmissing-prototypes -Wmissing-declarations \
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* misc.c - Helper functions for geometry and attributes
|
* gfx/misc.c - Helper functions for geometry and attributes
|
||||||
*
|
*
|
||||||
* Written 2016 by Werner Almesberger
|
* Written 2016 by Werner Almesberger
|
||||||
* Copyright 2016 Werner Almesberger
|
* Copyright 2016 Werner Almesberger
|
||||||
@ -17,7 +17,7 @@
|
|||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
|
|
||||||
#include "diag.h"
|
#include "diag.h"
|
||||||
#include "misc.h"
|
#include "gfx/misc.h"
|
||||||
|
|
||||||
|
|
||||||
static bool eq(const int m[6], int xx, int xy, int yx, int yy)
|
static bool eq(const int m[6], int xx, int xy, int yx, int yy)
|
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* misc.h - Helper functions for geometry and attributes
|
* gfx/misc.h - Helper functions for geometry and attributes
|
||||||
*
|
*
|
||||||
* Written 2016 by Werner Almesberger
|
* Written 2016 by Werner Almesberger
|
||||||
* Copyright 2016 Werner Almesberger
|
* Copyright 2016 Werner Almesberger
|
||||||
@ -11,8 +11,8 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
#ifndef MISC_H
|
#ifndef GFX_MISC_H
|
||||||
#define MISC_H
|
#define GFX_MISC_H
|
||||||
|
|
||||||
#include <stdbool.h>
|
#include <stdbool.h>
|
||||||
|
|
||||||
@ -48,4 +48,4 @@ int angle_add(int a, int b);
|
|||||||
int rx(int x, int y, int rot);
|
int rx(int x, int y, int rot);
|
||||||
int ry(int x, int y, int rot);
|
int ry(int x, int y, int rot);
|
||||||
|
|
||||||
#endif /* !MISC_H */
|
#endif /* !GFX_MISC_H */
|
@ -17,7 +17,7 @@
|
|||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
#include "util.h"
|
#include "util.h"
|
||||||
#include "misc.h"
|
#include "gfx/misc.h"
|
||||||
#include "gfx/style.h"
|
#include "gfx/style.h"
|
||||||
#include "gfx/gfx.h"
|
#include "gfx/gfx.h"
|
||||||
#include "gfx/text.h"
|
#include "gfx/text.h"
|
||||||
|
@ -18,7 +18,7 @@
|
|||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
|
|
||||||
#include "util.h"
|
#include "util.h"
|
||||||
#include "misc.h"
|
#include "gfx/misc.h"
|
||||||
#include "gfx/style.h"
|
#include "gfx/style.h"
|
||||||
#include "gfx/text.h"
|
#include "gfx/text.h"
|
||||||
#include "gfx/gfx.h"
|
#include "gfx/gfx.h"
|
||||||
|
@ -17,7 +17,7 @@
|
|||||||
|
|
||||||
#include "util.h"
|
#include "util.h"
|
||||||
#include "diag.h"
|
#include "diag.h"
|
||||||
#include "misc.h"
|
#include "gfx/misc.h"
|
||||||
#include "gfx/style.h"
|
#include "gfx/style.h"
|
||||||
#include "gfx/gfx.h"
|
#include "gfx/gfx.h"
|
||||||
#include "gfx/text.h"
|
#include "gfx/text.h"
|
||||||
|
@ -15,7 +15,7 @@
|
|||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
|
|
||||||
#include "misc.h"
|
#include "gfx/misc.h"
|
||||||
#include "gfx/style.h"
|
#include "gfx/style.h"
|
||||||
#include "gfx/gfx.h"
|
#include "gfx/gfx.h"
|
||||||
#include "kicad/dwg.h"
|
#include "kicad/dwg.h"
|
||||||
|
Loading…
Reference in New Issue
Block a user