decorations: remove header files

This commit is contained in:
Daniel Eklöf 2019-01-13 17:45:09 +01:00
parent 7754ef3661
commit 1c18dbf1a0
8 changed files with 8 additions and 35 deletions

View file

@ -7,16 +7,10 @@
#include <dlfcn.h>
#include "color.h"
#include "decoration.h"
#include "decorations/background.h"
#include "decorations/stack.h"
#include "decorations/underline.h"
#include "bar.h"
#include "module.h"
#include "color.h"
#include "config-verify.h"
#include "module.h"
#include "plugin.h"
static uint8_t

View file

@ -6,13 +6,13 @@ target_include_directories(decoration-sdk INTERFACE ${CAIRO_INCLUDE_DIRS})
set(CMAKE_SHARED_MODULE_PREFIX decoration_)
add_library(background MODULE background.c background.h)
add_library(background MODULE background.c)
target_link_libraries(background decoration-sdk)
add_library(stack MODULE stack.c stack.h)
add_library(stack MODULE stack.c)
target_link_libraries(stack decoration-sdk)
add_library(underline MODULE underline.c underline.h)
add_library(underline MODULE underline.c)
target_link_libraries(underline decoration-sdk)
install(

View file

@ -1,9 +1,8 @@
#include "background.h"
#include <stdlib.h>
#include "../config.h"
#include "../config-verify.h"
#include "../decoration.h"
struct private {
struct rgba color;

View file

@ -1,6 +0,0 @@
#pragma once
#include "../color.h"
#include "../decoration.h"
struct deco *deco_background(struct rgba color);

View file

@ -1,11 +1,10 @@
#include "underline.h"
#include <stdlib.h>
#define LOG_MODULE "stack"
#include "../log.h"
#include "../config.h"
#include "../config-verify.h"
#include "../decoration.h"
struct private {
struct deco **decos;

View file

@ -1,6 +0,0 @@
#pragma once
#include "../color.h"
#include "../decoration.h"
struct deco *deco_stack(struct deco *decos[], size_t count);

View file

@ -1,9 +1,8 @@
#include "underline.h"
#include <stdlib.h>
#include "../config.h"
#include "../config-verify.h"
#include "../decoration.h"
struct private {
int size;

View file

@ -1,6 +0,0 @@
#pragma once
#include "../color.h"
#include "../decoration.h"
struct deco *deco_underline(int size, struct rgba color);