Improved 'New' and 'Open' interfaces. ('Open' dialog no longer includes
Starter images; 'New' now brings up a selection dialog showing 'Starter' images and color choices.) New images can be given solid background colors (which the 'Eraser' tool erases to). Improved --usage output. Added support for "--papersize help" to list papersizes available via libpaper. Some Magic tools that apply an affect once per click-and-drag no longer recalculate the effect on pixels that have already been affected (until mouse button is released and clicked again).
This commit is contained in:
parent
cd17a10a32
commit
6e827f67fe
9 changed files with 1280 additions and 296 deletions
|
|
@ -91,6 +91,9 @@ void do_glasstile(void * ptr, int which, SDL_Surface * canvas, SDL_Surface * las
|
|||
x = ((x / (GT_SIZE * 2)) * (GT_SIZE * 2)) + (GT_SIZE / 2);
|
||||
y = ((y / (GT_SIZE * 2)) * (GT_SIZE * 2)) + (GT_SIZE / 2);
|
||||
|
||||
if (api->touched(x, y))
|
||||
return;
|
||||
|
||||
|
||||
/* Apply the effect: */
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue