projects
/
jspeed
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fixes to speed alarm and poi alerts. Added flicker effect. Some new fields to text...
[jspeed]
/
src
/
rectangle.cpp
diff --git
a/src/rectangle.cpp
b/src/rectangle.cpp
index
3a8dcc5
..
00e2115
100644
(file)
--- a/
src/rectangle.cpp
+++ b/
src/rectangle.cpp
@@
-30,6
+30,7
@@
namespace
{"xpos", true},
{"ypos", true},
{"zpos", true},
{"xpos", true},
{"ypos", true},
{"zpos", true},
+ {"visiblewhen", false},
{"width", true},
{"height", true},
{"color", false}
{"width", true},
{"height", true},
{"color", false}
@@
-62,6
+63,9
@@
bool Rectangle::setAttribute(QString const& name, QString const& value)
case ZPOS:
element_->setZValue(intVal);
break;
case ZPOS:
element_->setZValue(intVal);
break;
+ case VISIBLEWHEN:
+ setVisibleWhen(strToVisibleWhen(value));
+ break;
case WIDTH:
width_ = intVal;
break;
case WIDTH:
width_ = intVal;
break;