diff options
author | James Meyer <james.meyer@operamail.com> | 2010-10-23 18:17:40 (GMT) |
---|---|---|
committer | James Meyer <james.meyer@operamail.com> | 2010-10-23 18:19:39 (GMT) |
commit | adbcf19958300e9b6598990184c8815b945ba0ee (patch) | |
tree | f4283c850ac0ac202c17e78a637ee7ca8147621b /abs/mv-core/ghosd/ghosd-0.0.1/ghosd/ghosd-text.c | |
parent | 61a68250df10d29b624650948484898334ff22d0 (diff) | |
download | linhes_pkgbuild-adbcf19958300e9b6598990184c8815b945ba0ee.zip linhes_pkgbuild-adbcf19958300e9b6598990184c8815b945ba0ee.tar.gz linhes_pkgbuild-adbcf19958300e9b6598990184c8815b945ba0ee.tar.bz2 |
Removed old core and extra from repo. Renamed -testing to core/extra. This will setup the base for the testing branch.
Diffstat (limited to 'abs/mv-core/ghosd/ghosd-0.0.1/ghosd/ghosd-text.c')
-rw-r--r-- | abs/mv-core/ghosd/ghosd-0.0.1/ghosd/ghosd-text.c | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/abs/mv-core/ghosd/ghosd-0.0.1/ghosd/ghosd-text.c b/abs/mv-core/ghosd/ghosd-0.0.1/ghosd/ghosd-text.c deleted file mode 100644 index ba62616..0000000 --- a/abs/mv-core/ghosd/ghosd-0.0.1/ghosd/ghosd-text.c +++ /dev/null @@ -1,25 +0,0 @@ -/* ghosd -- OSD with fake transparency, cairo, and pango. - * Copyright (C) 2006 Evan Martin <martine@danga.com> - */ - -#include "config.h" - -#include <pango/pangocairo.h> -#include "ghosd-internal.h" -#include "ghosd-text.h" - -void -ghosd_text_set_position(Ghosd *ghosd, int x, int y, PangoLayout *layout) { - PangoRectangle ink_rect; - pango_layout_get_pixel_extents(layout, &ink_rect, NULL); - /*printf("rect %d %d %d %d\n", - ink_rect.x, ink_rect.y, - ink_rect.width, ink_rect.height);*/ - - const int width = ink_rect.x + ink_rect.width+5; - const int height = ink_rect.y + ink_rect.height+5; - - ghosd_set_position(ghosd, x, y, width, height); -} - -/* vim: set ts=2 sw=2 et cino=(0 : */ |