Bill Kendrick
270f5353e0
Mend drop-shadows on prompts
...
...they were not rendering the way we were doing it in the sdl2.0
branch.
2022-09-05 00:04:52 -07:00
Bill Kendrick
53c1c5e995
Create "canvas" as 24-bit all the time
...
Previously was having it match the display's ("screen"'s) depth
and masks, but this apparently causes artifacts under SDL2.
Closes https://sourceforge.net/p/tuxpaint/bugs/259/
2022-09-04 01:33:36 -07:00
Bill Kendrick
c171500d5e
Stamp rotation - Warp mouse to the right, at start
...
...this ensures that any immediate mouse movement at the
beginning of the rotation process will affect the angle only
slightly. (As opposed to leaving it in the center of the
stamped shape; moving slightly left would rotate the shape
~180 degrees immediately, for example).
Also, updated date in CHANGES and src/tuxpaint.c, added
new feature to CHANGES, and credited Pere. (Great work!!!)
2022-09-02 02:05:52 -07:00
Pere Pujal i Carabantes
a433b4c79c
Adding stamp rotation. The xor interface seems to work fine if only the mouse is used, still need to adapt it to shortcut key combos.
2022-09-02 02:11:43 +02:00
Pere Pujal i Carabantes
73c1cabac1
Android fix for magic tools under 64 bits devices by Terrence Sheflin, see 345d3cc78a
2022-07-20 23:38:04 +02:00
Bill Kendrick
da15f8c282
Changing Android save paths to now default to the 'external' dir from the device itself.
...
Merging the src/tuxpaint.c change from
https://github.com/tux4kids/Tuxpaint-Android/pull/18
(e23803b1f2 )
Per Terrence
2022-07-07 17:44:51 -07:00
Bill Kendrick
60120b763c
Merge branch 'master' into sdl2.0
2022-07-03 19:58:34 -07:00
Bill Kendrick
e984f23b5f
Line: Never say "360 degrees" (say "0")
...
h/t Karl
Closes https://sourceforge.net/p/tuxpaint/bugs/255/
2022-07-03 16:09:48 -07:00
Mark Kim
ed885f887d
macOS: move deleted file to Trash
...
As opposed to permanently deleting it. As requested:
https://sourceforge.net/p/tuxpaint/feature-requests/148/
2022-07-02 22:09:55 -04:00
Mark Kim
98198591b5
macOS: move deleted file to Trash
...
As opposed to permanently deleting it. As requested:
https://sourceforge.net/p/tuxpaint/feature-requests/148/
2022-07-02 22:03:41 -04:00
Pere Pujal i Carabantes
b612fcb881
Something weird happened in load_info_about_label_surface() in some merge, fixing the merge.
2022-06-20 23:08:02 +02:00
Bill Kendrick
934f500584
Merge branch 'master' into sdl2.0
2022-06-14 01:20:23 -07:00
Bill Kendrick
1068a33167
Mended Color Mixer random color bug
...
If you set a color, then come back to Color Mixer and immediately
dismiss the dialog (without setting a color), an indeterminate
color could appear due to uninitialized variables (new_r, _g, _b).
Closes https://sourceforge.net/p/tuxpaint/bugs/251/
h/t @kentonyanamin on Twitter
2022-06-14 01:14:39 -07:00
Bill Kendrick
5532ddd2fd
Merge branch 'master' into sdl2.0
2022-06-14 00:38:27 -07:00
Bill Kendrick
cdba8ffbbd
Adding an auto option for button sizes
...
Merge 333f4b05a4 sdl2.0->master
(See https://sourceforge.net/p/tuxpaint/feature-requests/218/ )
2022-06-14 00:14:02 -07:00
Pere Pujal i Carabantes
333f4b05a4
Adding an auto option for button sizes, see https://sourceforge.net/p/tuxpaint/feature-requests/218/
2022-06-13 08:13:21 +02:00
dolphin6k
f838704282
Fixed jugged upscaling in full screen mode
2022-06-10 20:46:48 +09:00
Mark Kim
f041db9c4d
Localization of SDL2.0 menu on macOS.
...
SDL2 initializes the macOS menu later than SDL1 (appears to be done
around the video initialization time), so we also need to call later our
routine to override the SDL menu with our localizable version.
2022-06-04 22:34:16 -04:00
Bill Kendrick
45a26483fa
Merge branch 'master' into sdl2.0
2022-06-04 00:11:14 -07:00
Bill Kendrick
a3f915be1c
Happy 20th Anniversary!
2022-06-04 00:06:00 -07:00
Bill Kendrick
5369bca3b9
Merge branch 'master' into sdl2.0
2022-06-02 21:06:27 -07:00
Bill Kendrick
8eeb860183
Show SDL version in --verbose-version output
2022-05-22 23:53:23 -07:00
Bill Kendrick
23cc59539c
Show SDL version in --verbose-version output
2022-05-22 23:52:32 -07:00
Bill Kendrick
dcc699eea1
Merge SDL-agnostic way to declare callback func. for SDL_SetEventFilter()
2022-05-19 01:36:47 -07:00
Bill Kendrick
ff05e91f39
SDL-agnostic way to declare callback func. for SDL_SetEventFilter()
...
SDL 1.2 wants a "const SDL_Event *",
SDL 2.0 wants a "union SDL_Event *".
2022-05-19 01:34:19 -07:00
Bill Kendrick
166b6aa233
Mend bug in SDL agnostic SDL_TimerID check
...
Had 0 vs NULL swapped between SDL 1 & 2
2022-05-19 01:21:32 -07:00
Bill Kendrick
91a37acf1a
Backport (and fix) SDL-agnostic SDL_TimerID check to SDL2.0 branch
2022-05-19 01:18:54 -07:00
Bill Kendrick
4a1d0cc846
SDL-agnostic way of handling SDL_TimerID diff
...
SDL 1.2 it's a pointer (so "NULL" is invalid),
SDL 2 it's an int (so "0" is invalid).
2022-05-19 01:13:24 -07:00
Bill Kendrick
c8db730c4f
Backport a few warning squelches from sdl-2.0 branch
...
https://sourceforge.net/p/tuxpaint/tuxpaint/ci/dfba73d327df49cbea16207ab25c11991be2c0c7/
2022-05-19 01:05:19 -07:00
Bill Kendrick
dfba73d327
Address some compile-time warnings in SDL 2.0
...
Also disable VERBOSE DEBUG output.
Note - Still a pair of nasty warnings about the following
* ‘rsvg_handle_close’ is deprecated: Use
'rsvg_handle_read_stream_sync' instead
* passing argument 3 of ‘autoscale_copy_smear_free’ from incompatible
pointer type (SDL_BlitSurface)
They should be addressed.
2022-05-19 00:49:48 -07:00
Bill Kendrick
a6f5449ce4
Backport sdl-2.0 prompt shadow fix to master
2022-05-18 23:42:13 -07:00
Bill Kendrick
ed7184bd64
Avoid leftover shadow on Open->Erase prompt
...
Fixes https://sourceforge.net/p/tuxpaint/bugs/248/
(Seemed to do with alpha of the new `backup` surface?
I admit I don't 100% understand what was going on.)
2022-05-18 23:37:23 -07:00
Pere Pujal i Carabantes
99eb47a72e
Merge branch 'master' into sdl2.0
2022-05-17 00:30:17 +02:00
Bill Kendrick
932c86b8dc
"reversort"; make sure Slideshow starts at the _top_
...
...since that will be where the newest images are.
2022-05-16 00:05:57 -07:00
Bill Kendrick
b2225a62f5
WIP Reverse sorting in Open & Slideshows dialog
...
...via --reversesort option. WIP; need docs updated.
(Also need Tux Paint Config. changes, but that's another repo)
2022-05-15 23:56:53 -07:00
Bill Kendrick
27ec817973
The "Slideshow" begins by showing most recent images
...
...rather than the oldest. (i.e., defaults to being scrolled
to the very bottom now, rather than the very top)
2022-05-15 23:39:28 -07:00
Pere Pujal i Carabantes
956292e122
Merge branch 'master' into sdl2.0
2022-05-14 19:41:24 +02:00
Bill Kendrick
e9001c9fac
Move where paperinit() is called
...
h/t to upstream developer of libpaper!
(https://sourceforge.net/p/tuxpaint/bugs/250/ )
2022-04-29 18:16:27 -07:00
Pere Pujal i Carabantes
bf73b3679b
Merge work in autoscroll from 'master' into sdl2.0
2022-04-26 00:25:29 +02:00
Bill Kendrick
cc6cf1ebcc
Remedy bug in Apply Label feature w/ Enter key
...
Should correct bug https://sourceforge.net/p/tuxpaint/bugs/249/
h/t Shin-ichi
2022-04-22 18:16:55 -07:00
Bill Kendrick
8fac8476f4
Open dialog scroll buttons auto-repeat now
...
Had an unwanted SDL_RemoveTimer call in a dumb place. :/
2022-04-18 23:31:08 -07:00
Bill Kendrick
0aab76291b
Remove some debugging printfs
...
...HOWEVER, the auto-repeat of scroll buttons in the Open dialog
do not seem to work, despite the code being identical to what
I just added to New and Slideshow...!?
2022-04-18 22:09:28 -07:00
Bill Kendrick
da201ecfe8
Formatting clean-up
2022-04-18 22:07:34 -07:00
Bill Kendrick
206ca7cee2
Slideshow dialog scroll buttons auto-repeat
2022-04-18 22:03:54 -07:00
Bill Kendrick
10e121bd0f
New dialog scroll buttons auto-repeat
2022-04-18 21:55:17 -07:00
dolphin6k
98fb5c2aee
Corrected "#ifdef WIN32" for tmpstr/wtmpstr
2022-04-13 21:26:28 +09:00
dolphin6k
6a5eddac15
Fixed crash when loading label with whitespace only.
2022-04-12 22:06:49 +09:00
Bill Kendrick
ec4f0a07b1
WIP Open dialog auto-repeat scrolling
...
Not actually working; not sure why timer isn't firing!?
2022-04-08 01:53:40 -07:00
Bill Kendrick
9b4257b61c
WIP Starting work on autorepeat scroll in New/Open dialogs
...
For https://sourceforge.net/p/tuxpaint/feature-requests/173/
2022-04-07 02:28:14 -07:00
Bill Kendrick
fb596fb887
Avoid crash on unexpected "saved dimensions" loading Labels
2022-04-06 01:32:21 -07:00