aboutsummaryrefslogtreecommitdiff
path: root/src/types.h
diff options
context:
space:
mode:
authorallusive-dev <[email protected]>2023-09-19 17:46:20 +1000
committerallusive-dev <[email protected]>2023-09-19 17:46:20 +1000
commit5650d887357bf2a3fac8c5fd4f467bf8795b5fc4 (patch)
tree4b825dc642cb6eb9a060e54bf8d69288fbee4904 /src/types.h
parentUpdate picom.sample.conf (diff)
downloadcompfy-5650d887357bf2a3fac8c5fd4f467bf8795b5fc4.tar.xz
compfy-5650d887357bf2a3fac8c5fd4f467bf8795b5fc4.zip
reset
Diffstat (limited to 'src/types.h')
-rw-r--r--src/types.h32
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 }