1 | // Aseprite |
2 | // Copyright (C) 2001-2015 David Capello |
3 | // |
4 | // This program is distributed under the terms of |
5 | // the End-User License Agreement for Aseprite. |
6 | |
7 | #ifdef HAVE_CONFIG_H |
8 | #include "config.h" |
9 | #endif |
10 | |
11 | #include "app/tools/pick_ink.h" |
12 | |
13 | namespace app { |
14 | namespace tools { |
15 | |
16 | PickInk::PickInk(Target target) : m_target(target) |
17 | { |
18 | } |
19 | |
20 | Ink* PickInk::clone() |
21 | { |
22 | return new PickInk(*this); |
23 | } |
24 | |
25 | bool PickInk::isEyedropper() const |
26 | { |
27 | return true; |
28 | } |
29 | |
30 | void PickInk::prepareInk(ToolLoop* loop) |
31 | { |
32 | // Do nothing |
33 | } |
34 | |
35 | void PickInk::inkHline(int x1, int y, int x2, ToolLoop* loop) |
36 | { |
37 | // Do nothing |
38 | } |
39 | |
40 | } // namespace tools |
41 | } // namespace app |
42 | |