summaryrefslogtreecommitdiffstats
path: root/abs/mv-core/ghosd/ghosd-0.0.1/examples/example-shared.h
blob: 63ecea14ac4b4d52664ac7457e26bfd4dcc47d6c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/* ghosd -- OSD with fake transparency, cairo, and pango.
 * Copyright (C) 2006 Evan Martin <martine@danga.com>
 */

#include <glib.h>
#include <cairo/cairo.h>

typedef struct {
  gboolean transparent;
  int x, y;
} ExampleOptions;
extern ExampleOptions opts;

gboolean example_options_parse(int *argc, char ***argv, ...);
void     example_round_rect(cairo_t *cr, int x, int y, int w, int h, int r);