diff options
| author | allusive-dev <[email protected]> | 2023-09-19 17:46:20 +1000 |
|---|---|---|
| committer | allusive-dev <[email protected]> | 2023-09-19 17:46:20 +1000 |
| commit | 5650d887357bf2a3fac8c5fd4f467bf8795b5fc4 (patch) | |
| tree | 4b825dc642cb6eb9a060e54bf8d69288fbee4904 /src/types.h | |
| parent | Update picom.sample.conf (diff) | |
| download | compfy-5650d887357bf2a3fac8c5fd4f467bf8795b5fc4.tar.xz compfy-5650d887357bf2a3fac8c5fd4f467bf8795b5fc4.zip | |
reset
Diffstat (limited to 'src/types.h')
| -rw-r--r-- | src/types.h | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/src/types.h b/src/types.h deleted file mode 100644 index c8d747b..0000000 --- a/src/types.h +++ /dev/null @@ -1,32 +0,0 @@ -// SPDX-License-Identifier: MPL-2.0 -// Copyright (c) 2018 Yuxuan Shui <[email protected]> - -#pragma once - -/// Some common types - -#include <stdint.h> - -/// Enumeration type to represent switches. -typedef enum { - OFF = 0, // false - ON, // true - UNSET -} switch_t; - -/// A structure representing margins around a rectangle. -typedef struct { - int top; - int left; - int bottom; - int right; -} margin_t; - -struct color { - double red, green, blue, alpha; -}; - -typedef uint32_t opacity_t; - -#define MARGIN_INIT \ - { 0, 0, 0, 0 } |