[gnome-settings-daemon/reusable-osd-window] Make FG_ALPHA a public define
- From: Federico Mena Quintero <federico src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [gnome-settings-daemon/reusable-osd-window] Make FG_ALPHA a public define
- Date: Mon, 4 Jan 2010 23:24:10 +0000 (UTC)
commit e1a0f46441ceb52aaee60ee363feff271d8e08be
Author: Federico Mena Quintero <federico novell com>
Date: Mon Jan 4 13:38:19 2010 -0600
Make FG_ALPHA a public define
Signed-off-by: Federico Mena Quintero <federico novell com>
plugins/common/gsd-osd-window.c | 1 -
plugins/common/gsd-osd-window.h | 3 +++
2 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/plugins/common/gsd-osd-window.c b/plugins/common/gsd-osd-window.c
index 6c4bce6..7ead3e7 100644
--- a/plugins/common/gsd-osd-window.c
+++ b/plugins/common/gsd-osd-window.c
@@ -43,7 +43,6 @@
#define FADE_TIMEOUT 10 /* timeout in ms between each frame of the fade */
#define BG_ALPHA 0.75
-#define FG_ALPHA 1.00
#define GSD_OSD_WINDOW_GET_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE ((o), GSD_TYPE_OSD_WINDOW, GsdOsdWindowPrivate))
diff --git a/plugins/common/gsd-osd-window.h b/plugins/common/gsd-osd-window.h
index c991838..40bfa2b 100644
--- a/plugins/common/gsd-osd-window.h
+++ b/plugins/common/gsd-osd-window.h
@@ -45,6 +45,9 @@
G_BEGIN_DECLS
+/* Alpha value to be used for foreground objects drawn in an OSD window */
+#define GSD_OSD_WINDOW_FG_ALPHA 1.0
+
#define GSD_TYPE_OSD_WINDOW (gsd_osd_window_get_type ())
#define GSD_OSD_WINDOW(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GSD_TYPE_OSD_WINDOW, GsdOsdWindow))
#define GSD_OSD_WINDOW_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GSD_TYPE_OSD_WINDOW, GsdOsdWindowClass))
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]