internal void GuiInput_MouseUp(object sender, MouseEventArgs e) { EzJson j = new EzJson(); j.BeginFunction("tool_up"); j.AddData("x", (int)(e.X / m_canvasWindow.magnification)); j.AddData("y", (int)(e.Y / m_canvasWindow.magnification)); j.AddData("pressure", 0); j.AddData("layer", selectedLayerID); m_toolRunner.ParseJSON(j.Finish()); }
private void Execute(string p, JToken pToken) { ToolRunner t = _users[p]; t.ParseJSON(pToken); }