diff options
| author | s-ol <s-ol@users.noreply.github.com> | 2019-12-02 14:32:42 +0000 |
|---|---|---|
| committer | s-ol <s-ol@users.noreply.github.com> | 2019-12-02 14:32:42 +0000 |
| commit | 81fe2250a70c892eeb195725117d566a042e5c93 (patch) | |
| tree | e2c70bd1b0f9e9d9063f6ff7aa11f6fa6b8ced80 /src/livecode/input.h | |
| parent | add basic livecode toolbar (diff) | |
| download | inkscape-81fe2250a70c892eeb195725117d566a042e5c93.tar.gz inkscape-81fe2250a70c892eeb195725117d566a042e5c93.zip | |
add draft janet interface for livecoding
Diffstat (limited to 'src/livecode/input.h')
| -rw-r--r-- | src/livecode/input.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/livecode/input.h b/src/livecode/input.h index 0b9977af8..570415836 100644 --- a/src/livecode/input.h +++ b/src/livecode/input.h @@ -20,7 +20,7 @@ namespace Inkscape { namespace Livecode { -class API; +class Context; enum InputState { INPUTSTATE_NONE, @@ -44,17 +44,17 @@ public: bool released(guint button = 1) const; private: - API& api; + Context& context; guint last_mask, prev_mask; Geom::Point last_pos, prev_pos; - Mouse(API &api); + Mouse(Context &context); void push_event(GdkEvent *event); void finish_frame(); - friend class API; + friend class Context; }; } |
