Curb the proliferation of libdraw headers
commit2bb6d04c39fdead86dcc9f17ac7800bc278b47fd
authorJiří Zárevúcky <zarevucky.jiri@gmail.com>
Thu, 13 Jun 2019 12:14:16 +0000 (13 14:14 +0200)
committerJiří Zárevúcky <zarevucky.jiri@gmail.com>
Tue, 25 Jun 2019 14:58:16 +0000 (25 16:58 +0200)
treea8963c5da7483e32c45ddd29e52733b1464a4bd0
parentcd9531d34884815bb5a45a838a141d5a67879468
Curb the proliferation of libdraw headers

libdraw provides a lot of ambiguously named headers, which makes it
confusing. This change merges the subdirectories into single headers,
and moves all headers into `draw` subdirectory, so that it's obvious
at a glance what library the header belongs to.

Compare:
#include <path.h>
#include <source.h>
#include <font/bitmap_backend.h>
#include <font/pcf.h>

vs.
#include <draw/path.h>
#include <draw/source.h>
#include <draw/font.h>
50 files changed:
uspace/app/barber/barber.c
uspace/app/fontviewer/fontviewer.c
uspace/app/viewer/viewer.c
uspace/app/vlaunch/vlaunch.c
uspace/lib/draw/codec/tga.c
uspace/lib/draw/codec/tga.gz.c
uspace/lib/draw/codec/tga.h [deleted file]
uspace/lib/draw/codec/webp.c
uspace/lib/draw/codec/webp.h [deleted file]
uspace/lib/draw/cursor.c
uspace/lib/draw/cursor/embedded.c
uspace/lib/draw/cursor/embedded.h [deleted file]
uspace/lib/draw/drawctx.c
uspace/lib/draw/font.c
uspace/lib/draw/font/bitmap_backend.c
uspace/lib/draw/font/bitmap_backend.h [deleted file]
uspace/lib/draw/font/embedded.c
uspace/lib/draw/font/embedded.h [deleted file]
uspace/lib/draw/font/pcf.c
uspace/lib/draw/font/pcf.h [deleted file]
uspace/lib/draw/gfx/cursor-11x18.c
uspace/lib/draw/gfx/cursor-11x18.h [deleted file]
uspace/lib/draw/gfx/font-8x16.c
uspace/lib/draw/include/draw/codec.h [moved from uspace/lib/draw/codec/tga.gz.h with 83% similarity]
uspace/lib/draw/include/draw/cursor.h [moved from uspace/lib/draw/cursor.h with 98% similarity]
uspace/lib/draw/include/draw/drawctx.h [moved from uspace/lib/draw/drawctx.h with 100% similarity]
uspace/lib/draw/include/draw/font.h [moved from uspace/lib/draw/font.h with 87% similarity]
uspace/lib/draw/include/draw/gfx.h [moved from uspace/lib/draw/gfx/font-8x16.h with 89% similarity]
uspace/lib/draw/include/draw/path.h [moved from uspace/lib/draw/path.h with 100% similarity]
uspace/lib/draw/include/draw/source.h [moved from uspace/lib/draw/source.h with 100% similarity]
uspace/lib/draw/include/draw/surface.h [moved from uspace/lib/draw/surface.h with 100% similarity]
uspace/lib/draw/path.c
uspace/lib/draw/source.c
uspace/lib/draw/surface.c
uspace/lib/gui/button.c
uspace/lib/gui/button.h
uspace/lib/gui/canvas.c
uspace/lib/gui/canvas.h
uspace/lib/gui/common.c
uspace/lib/gui/common.h
uspace/lib/gui/grid.c
uspace/lib/gui/label.c
uspace/lib/gui/label.h
uspace/lib/gui/minimal.c
uspace/lib/gui/terminal.c
uspace/lib/gui/terminal.h
uspace/lib/gui/window.c
uspace/lib/gui/window.h
uspace/lib/posix/Makefile
uspace/srv/hid/compositor/compositor.c