mirror of
https://github.com/labwc/labwc.git
synced 2026-03-03 01:40:37 -05:00
Move border-struct to common/border.h for sharing
This commit is contained in:
parent
16bf67a8cd
commit
3a9dcd54a7
2 changed files with 13 additions and 7 deletions
12
include/common/border.h
Normal file
12
include/common/border.h
Normal file
|
|
@ -0,0 +1,12 @@
|
||||||
|
/* SPDX-License-Identifier: GPL-2.0-only */
|
||||||
|
#ifndef LABWC_BORDER_H
|
||||||
|
#define LABWC_BORDER_H
|
||||||
|
|
||||||
|
struct border {
|
||||||
|
int top;
|
||||||
|
int right;
|
||||||
|
int bottom;
|
||||||
|
int left;
|
||||||
|
};
|
||||||
|
|
||||||
|
#endif /* LABWC_BORDER_H */
|
||||||
|
|
@ -3,6 +3,7 @@
|
||||||
#define LABWC_SSD_H
|
#define LABWC_SSD_H
|
||||||
|
|
||||||
#include <wayland-server-core.h>
|
#include <wayland-server-core.h>
|
||||||
|
#include "common/border.h"
|
||||||
|
|
||||||
#define SSD_BUTTON_COUNT 4
|
#define SSD_BUTTON_COUNT 4
|
||||||
#define SSD_BUTTON_WIDTH 26
|
#define SSD_BUTTON_WIDTH 26
|
||||||
|
|
@ -47,13 +48,6 @@ struct view;
|
||||||
struct wlr_scene;
|
struct wlr_scene;
|
||||||
struct wlr_scene_node;
|
struct wlr_scene_node;
|
||||||
|
|
||||||
struct border {
|
|
||||||
int top;
|
|
||||||
int right;
|
|
||||||
int bottom;
|
|
||||||
int left;
|
|
||||||
};
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Public SSD API
|
* Public SSD API
|
||||||
*
|
*
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue