Add win32 mouse button events.
This commit is contained in:
parent
2bc53186bc
commit
78a4fa99ff
20 changed files with 141 additions and 53 deletions
|
@ -29,7 +29,7 @@ void SvgShapeElement::setFill(const Color& fill)
|
|||
auto attr = std::make_unique<XmlAttribute>("fill");
|
||||
|
||||
std::stringstream sstr;
|
||||
sstr << "rgb(" << fill.getR() << "," << fill.getG() << "," << fill.getB() << ")";
|
||||
sstr << "rgb(" << fill.toString() << ")";
|
||||
attr->setValue(sstr.str());
|
||||
|
||||
addAttribute(std::move(attr));
|
||||
|
@ -48,7 +48,7 @@ void SvgShapeElement::setStrokeColor(const Color& stroke)
|
|||
auto attr = std::make_unique<XmlAttribute>("stroke");
|
||||
|
||||
std::stringstream sstr;
|
||||
sstr << "rgb(" << stroke.getR() << "," << stroke.getG() << "," << stroke.getB() << ")";
|
||||
sstr << "rgb(" << stroke.toString() << ")";
|
||||
attr->setValue(sstr.str());
|
||||
|
||||
addAttribute(std::move(attr));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue