File: testlib-layer-shell.h

package info (click to toggle)
phoc 0.52.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 7,052 kB
  • sloc: ansic: 107,165; xml: 3,765; sh: 138; makefile: 33; javascript: 5
file content (31 lines) | stat: -rw-r--r-- 941 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
/*
 * Copyright (C) 2022 Purism SPC
 * SPDX-License-Identifier: GPL-3.0-or-later
 * Author: Guido Günther <agx@sigxcpu.org>
 */

#include "testlib.h"

#pragma once

G_BEGIN_DECLS

typedef struct _PhocTestLayerSurface
{
  struct wl_surface *wl_surface;
  struct zwlr_layer_surface_v1 *layer_surface;
  PhocTestBuffer buffer;
  guint32 width, height;
  gboolean configured;
} PhocTestLayerSurface;

PhocTestLayerSurface *phoc_test_layer_surface_new   (PhocTestClientGlobals *globals,
                                                     guint32 width,
                                                     guint32 height,
                                                     guint32 color,
                                                     guint32 anchor,
                                                     guint32 exclusive_zone);
void                   phoc_test_layer_surface_free (PhocTestLayerSurface *layer_surface);

G_END_DECLS