[Tuxpaint-devel] Kids mode
An award-winning drawing program for children of all ages
Brought to you by:
wkendrick
|
From: Pere P. i C. <per...@gm...> - 2025-10-17 21:35:16
|
Hi all, In the Tux Paint Android Github we have a pull request that implements an oversimplified interface for Tux Paint addressed to young children. It also implements an increasing of the canvas via hide/show the color row and Tux row. If you want to test it, there is an apk provided, and I've just made a small patch to allow compile it under Linux, so we can see it without having to compile it for Android. The pull request by Ruben Barkow-Kuder, BTW, Ruben, Welcome if you come here :) https://github.com/tux4kids/Tuxpaint-Android/pull/48 The Tux Paint's source code with that implementation copied back from the P.R.at 347c58a6a03f7cb46ea92c6173e9e210ad089b19 commit and with my patch: https://provant.freeddns.org/pere/public_html/Tux%20Paint/devel/20251017/tuxpaint-Kids-by-Ruben-Barkow-Kuder.tar.gz Note that it differs somehow in Linux vs Android as in the original implementation there seems to be some behaviour exclusively implemented in Android, for example the 3 seconds lock for changing the interface, the expert/kids button at the top left of the screen. Are we interested in anything of this? Personally I don't like the interface changing on the fly, but I would like the simplified interface as result of a expertise setting in the config. As for the increase of canvas I guess the same, let the users choose if they want it. Thanks for any comments :) Pere P.S. The small patch, already applied, that allows to compile and run under Linux pere@lleopard:~/test/tuxpaint-tuxpaint-Kids-by-Ruben-Barkow-Kuder$ diff /mnt/nvme0n1p1/pere/tuxpaint/test/Tuxpaint-Kids/app/src/main/jni/tuxpaint/src /home/pere/test/tuxpaint-tuxpaint-Kids-by-Ruben- Barkow-Kuder/src diff /mnt/nvme0n1p1/pere/tuxpaint/test/Tuxpaint-Kids/app/src/main/jni/tuxpaint/src/i18n.c /home/pere/test/tuxpaint-tuxpaint-Kids-by-Ruben-Barkow-Kuder/src/i18n.c 1329,1332d1328 < locale = android_locale(); < #endif < < if (locale == NULL) 1334c1330,1331 < --- > #endif > diff /mnt/nvme0n1p1/pere/tuxpaint/test/Tuxpaint-Kids/app/src/main/jni/tuxpaint/src/tuxpaint.c /home/pere/test/tuxpaint-tuxpaint-Kids-by-Ruben-Barkow-Kuder/src/tuxpaint.c 4298a4299 > #ifdef __ANDROID__ 4305a4307 > #endif /* #ifndef NOSOUND */ 4719a4722 > #ifdef __ANDROID__ 4721a4725 > #endif 10064c10068,10069 < --- > if (strcasestr(fname, "handle_icons") && strcasestr(fname, ".png")) > { 10066c10071 < SDL_Surface *handle_icon = loadimage(handle_fname); --- > SDL_Surface *handle_icon = loadimage(fname); 10090c10095 < } --- > }} |