summaryrefslogtreecommitdiffstats
path: root/src/shell-window-preview-layout.h
blob: 9376b0da8f83903790ce4711bb9021ee981ab0ae (plain)
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
32
33
#ifndef __SHELL_WINDOW_PREVIEW_LAYOUT_H__
#define __SHELL_WINDOW_PREVIEW_LAYOUT_H__

G_BEGIN_DECLS

#include <clutter/clutter.h>

#define SHELL_TYPE_WINDOW_PREVIEW_LAYOUT (shell_window_preview_layout_get_type ())
G_DECLARE_FINAL_TYPE (ShellWindowPreviewLayout, shell_window_preview_layout,
                      SHELL, WINDOW_PREVIEW_LAYOUT, ClutterLayoutManager)

typedef struct _ShellWindowPreviewLayout ShellWindowPreviewLayout;
typedef struct _ShellWindowPreviewLayoutPrivate ShellWindowPreviewLayoutPrivate;

struct _ShellWindowPreviewLayout
{
  /*< private >*/
  ClutterLayoutManager parent;

  ShellWindowPreviewLayoutPrivate *priv;
};

ClutterActor * shell_window_preview_layout_add_window (ShellWindowPreviewLayout  *self,
                                                       MetaWindow *window);

void  shell_window_preview_layout_remove_window (ShellWindowPreviewLayout  *self,
                                                 MetaWindow *window);

GList * shell_window_preview_layout_get_windows (ShellWindowPreviewLayout  *self);

G_END_DECLS

#endif /* __SHELL_WINDOW_PREVIEW_LAYOUT_H__ */