diff options
| author | Simon Robertshaw <simon@hardwired.org.uk> | 2012-07-29 19:27:18 (GMT) |
|---|---|---|
| committer | Simon Robertshaw <simon@hardwired.org.uk> | 2012-07-29 19:27:18 (GMT) |
| commit | 011a65f793e37bd805d3aa6b2ca6daf1b7893c52 (patch) | |
| tree | d3b533907ef6292e85eb293d1529c1a174fbe9c4 /src/game | |
| parent | d138b2de544ab6ccdd7ec72bb5051e0bc437a1a9 (diff) | |
| download | powder-011a65f793e37bd805d3aa6b2ca6daf1b7893c52.zip powder-011a65f793e37bd805d3aa6b2ca6daf1b7893c52.tar.gz | |
Improvements to textbox, prevent selection loss on non modifying keypresses
Diffstat (limited to 'src/game')
| -rw-r--r-- | src/game/DecorationTool.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/DecorationTool.h b/src/game/DecorationTool.h index e2e4758..39c070b 100644 --- a/src/game/DecorationTool.h +++ b/src/game/DecorationTool.h @@ -29,7 +29,7 @@ public: virtual void Draw(Simulation * sim, Brush * brush, ui::Point position){ sim->ApplyDecorationPoint(position.X, position.Y, Red, Green, Blue, Alpha, decoMode, brush); } - virtual void DrawLine(Simulation * sim, Brush * brush, ui::Point position1, ui::Point position2) { + virtual void DrawLine(Simulation * sim, Brush * brush, ui::Point position1, ui::Point position2, bool dragging) { sim->ApplyDecorationLine(position1.X, position1.Y, position2.X, position2.Y, Red, Green, Blue, Alpha, decoMode, brush); } virtual void DrawRect(Simulation * sim, Brush * brush, ui::Point position1, ui::Point position2) { |
