[gcompris] piano composition, added a cute back to the bar
- From: Bruno Coudoin <bcoudoin src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gcompris] piano composition, added a cute back to the bar
- Date: Sun, 30 Sep 2012 21:54:09 +0000 (UTC)
commit 253fecafdd66b9e2fcf4c97e80455226868f41d1
Author: Bruno Coudoin <bruno coudoin free fr>
Date: Sun Sep 30 23:15:30 2012 +0200
piano composition, added a cute back to the bar
The lower button bar has now a cute background to highlight it.
.../piano_composition.py | 11 +++++++++++
1 files changed, 11 insertions(+), 0 deletions(-)
---
diff --git a/src/piano_composition-activity/piano_composition.py b/src/piano_composition-activity/piano_composition.py
index 78743a9..9228efc 100644
--- a/src/piano_composition-activity/piano_composition.py
+++ b/src/piano_composition-activity/piano_composition.py
@@ -155,6 +155,17 @@ class Gcompris_piano_composition:
if (level == 7):
bx = 450
by = 455
+
+ goocanvas.Rect(parent = self.rootitem,
+ x = 430,
+ y = by - 6,
+ width = 280,
+ height = 61,
+ stroke_color = "black",
+ fill_color_rgba = 0x33333366L,
+ line_width = 2.0,
+ radius_x = 3, radius_y = 3)
+
self.eraseAllButton = goocanvas.Image(
parent=self.rootitem,
pixbuf=gcompris.utils.load_pixmap('piano_composition/edit-clear.svg'),
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]