diff options
Diffstat (limited to 'raveos-hyprland-theme/theme-data/DankMaterialShell/core/internal/screenshot/shm.go')
| -rw-r--r-- | raveos-hyprland-theme/theme-data/DankMaterialShell/core/internal/screenshot/shm.go | 35 |
1 files changed, 0 insertions, 35 deletions
diff --git a/raveos-hyprland-theme/theme-data/DankMaterialShell/core/internal/screenshot/shm.go b/raveos-hyprland-theme/theme-data/DankMaterialShell/core/internal/screenshot/shm.go deleted file mode 100644 index a178cf0..0000000 --- a/raveos-hyprland-theme/theme-data/DankMaterialShell/core/internal/screenshot/shm.go +++ /dev/null @@ -1,35 +0,0 @@ -package screenshot - -import "github.com/AvengeMedia/DankMaterialShell/core/internal/wayland/shm" - -type PixelFormat = shm.PixelFormat - -const ( - FormatARGB8888 = shm.FormatARGB8888 - FormatXRGB8888 = shm.FormatXRGB8888 - FormatABGR8888 = shm.FormatABGR8888 - FormatXBGR8888 = shm.FormatXBGR8888 - FormatRGB888 = shm.FormatRGB888 - FormatBGR888 = shm.FormatBGR888 -) - -const ( - TransformNormal = shm.TransformNormal - Transform90 = shm.Transform90 - Transform180 = shm.Transform180 - Transform270 = shm.Transform270 - TransformFlipped = shm.TransformFlipped - TransformFlipped90 = shm.TransformFlipped90 - TransformFlipped180 = shm.TransformFlipped180 - TransformFlipped270 = shm.TransformFlipped270 -) - -type ShmBuffer = shm.Buffer - -func CreateShmBuffer(width, height, stride int) (*ShmBuffer, error) { - return shm.CreateBuffer(width, height, stride) -} - -func InverseTransform(transform int32) int32 { - return shm.InverseTransform(transform) -} |