Changeset 2bb6d04 in mainline for uspace/lib/draw/font


Ignore:
Timestamp:
2019-06-25T14:58:16Z (7 years ago)
Author:
Jiří Zárevúcky <zarevucky.jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
aeba767
Parents:
cd9531d3
git-author:
Jiří Zárevúcky <zarevucky.jiri@…> (2019-06-13 12:14:16)
git-committer:
Jiří Zárevúcky <zarevucky.jiri@…> (2019-06-25 14:58:16)
Message:

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>

Location:
uspace/lib/draw/font
Files:
3 deleted
3 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/draw/font/bitmap_backend.c

    rcd9531d3 r2bb6d04  
    3838#include <stdlib.h>
    3939
    40 #include "../font.h"
    41 #include "../drawctx.h"
    42 #include "bitmap_backend.h"
     40#include <draw/font.h>
     41#include <draw/drawctx.h>
    4342
    4443typedef struct {
  • uspace/lib/draw/font/embedded.c

    rcd9531d3 r2bb6d04  
    3939#include <stdlib.h>
    4040
    41 #include "../gfx/font-8x16.h"
    42 #include "embedded.h"
    43 #include "../drawctx.h"
    44 #include "bitmap_backend.h"
     41#include <draw/gfx.h>
     42#include <draw/font.h>
     43#include <draw/drawctx.h>
    4544
    4645static errno_t fde_resolve_glyph(void *unused, const wchar_t chr,
  • uspace/lib/draw/font/pcf.c

    rcd9531d3 r2bb6d04  
    4444#include <str.h>
    4545
    46 #include "pcf.h"
    47 #include "../drawctx.h"
    48 #include "bitmap_backend.h"
     46#include <draw/font.h>
     47#include <draw/drawctx.h>
    4948
    5049#define PCF_TABLE_ACCELERATORS 0x02
Note: See TracChangeset for help on using the changeset viewer.