[orca/introspection] Use the line style rather than the rectangle style for flat review
- From: Joanmarie Diggs <joanied src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [orca/introspection] Use the line style rather than the rectangle style for flat review
- Date: Mon, 29 Aug 2011 03:18:31 +0000 (UTC)
commit 258da4647aebb6c7e19d6994db7dcb898b3dbea5
Author: Joanmarie Diggs <joanmarie diggs gmail com>
Date: Sun Aug 28 23:16:23 2011 -0400
Use the line style rather than the rectangle style for flat review
Until we get the cairo stuff straightened out, this is better than
covering up the object being reviewed with an ugly, solid red rectangle.
src/orca/outline.py | 7 ++++++-
1 files changed, 6 insertions(+), 1 deletions(-)
---
diff --git a/src/orca/outline.py b/src/orca/outline.py
index 4f7a671..864da66 100644
--- a/src/orca/outline.py
+++ b/src/orca/outline.py
@@ -196,7 +196,12 @@ def draw(x, y, width, height):
if settings.outlineStyle == settings.OUTLINE_NONE:
pass
- elif settings.outlineStyle == settings.OUTLINE_LINE:
+ # Temporary solution for the fact that the flat review rectangle is now
+ # solid. We are working on this, but it may or may not be done in time
+ # for the 3.1.90 release and the reality is that flatreview indication
+ # is for people who can see. Thus underlining the object being reviewed
+ # shall have to suffice for now.
+ elif settings.outlineStyle in [settings.OUTLINE_LINE, settings.OUTLINE_BOX]:
y = y + height + settings.outlineMargin
height = settings.outlineThickness
[x, y, width, height] = _adjustToScreen(x, y, width, height)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]