9115f97464
git-svn-id: svn://kolibrios.org@7257 a494cfbc-eb01-0410-851d-a64ba20cac60
11 lines
270 B
C
11 lines
270 B
C
|
|
void FillTool_onMouseEvent(int mouseX, int mouseY, int lkm, int pkm) {
|
|
if (canvas.hovered()) && (mouse.up)
|
|
{
|
|
image.fill(mouseY-canvas.y/zoom.value,
|
|
mouseX-canvas.x/zoom.value, tool_color);
|
|
actionsHistory.saveCurrentState();
|
|
DrawCanvas();
|
|
}
|
|
}
|