Commit graph

12 commits

Author SHA1 Message Date
Bill Kendrick
cc05925d9e Re-ran indent on all .c & .h source code files
Like so --
  find . -name "*.c" -or -name "*.h" -exec  indent -nbfda -npcs -npsl -bli0 --no-tabs {} \;

The `indent` invocation differs from the last one noted in
CHANGES.txt (from 2006!?), in that I've added "--no-tabs",
to ensure indents are all space-based.
2022-09-15 00:14:20 -07:00
Bill Kendrick
3518433808 Better onscreen keyboard button sizing
No longer restricted to "the same as other UI buttons"
(e.g., 48x48 default) or "1/4th that size" (e.g., 24x24).
Will scale, allowing for larger buttons when appropriate.
h/t Anat Caspi for pointing out the continuing issue.

Closes https://sourceforge.net/p/tuxpaint/feature-requests/212/
2022-01-25 00:52:14 -08:00
Bill Kendrick
61998e4d00 Larger OSK on larger windows; larger OSK font
On-screen keyboard (visible when the feature is enabled, while
using the "Text" and "Label" tools) now appears with larger
(48x48 pixel, vs 24x24 pixel) buttons, when Tux Paint's window
(or fullscreen) size is large enough to fit them with the
chosen layout.
(h/t Anat & Aviv, who suggested it to help with users of
eye-tracking systems)

Also, on-screen keyboard buttons use a slightly larger font
(16pt vs 12pt, previously seen on the small keyboard;
32pt on the large keyboard).
2020-08-25 22:00:43 -07:00
Bill Kendrick
e9447f8c3b indent onscreen_keyboard.c onscreen_keyboard.h 2017-10-15 10:59:50 -07:00
William Kendrick
19f5adaf4d Cleaning up some OSK code to avoid leaking so much memory.
Note: Planning to make keyboards load once, rather than every
time a switch happens.
Some other memory leak fixes.
2014-04-23 08:20:50 +00:00
Pere Pujal i Carabantes
1dbe751b4e Using PNGs as symbols in some onscreen keyboard keys. 2014-03-31 13:50:23 +00:00
Pere Pujal i Carabantes
50b0e70eac Onscreen keyboard for Win32 2012-03-21 20:34:07 +00:00
Pere Pujal i Carabantes
010f81cca3 Showing the letters/symbols that will be produced in the onscreen keyboard. 2011-11-09 12:23:39 +00:00
Shin-ichi TOYAMA
af54c494fe uint -> unsigned int 2011-10-10 05:28:14 +00:00
Pere Pujal i Carabantes
ca6d9ce760 Buttons to change the onscreen keyboard layout now are purple. 2011-09-05 23:11:09 +00:00
Pere Pujal i Carabantes
15273cdd29 Adding an option to select the initial onscreen keyboard layout, adding an option to disable changes between layouts 2011-09-04 22:35:24 +00:00
Pere Pujal i Carabantes
f14872a133 Rewrited of onscreen keyboard. Uses 2 files from xorg and now it can change between layouts. 2011-09-01 22:08:09 +00:00