Changes in buttonsize, Merge branch 'master' into sdl2.0

This commit is contained in:
Pere Pujal i Carabantes 2021-04-25 07:39:01 +02:00
commit 8c0bf052bf
23 changed files with 267 additions and 105 deletions

View file

@ -25,7 +25,7 @@
</p>
<p>
March 9, 2021 </p>
April 19, 2021 </p>
</center>
<hr size="2"
@ -197,6 +197,9 @@
<p>
The <i>SIZE</i> value should be presented in pixels, and can be anything between 24 and 192, inclusive. Most buttons are square, and this will affect their width and height. </p>
<p>
Note: If the chosen button size would cause the buttons to be too large for all required UI elements to appear under Tux Paint's chosen window size, the largest possible button size will be used. (A note will appear in <code>stderr</code>.) </p>
</dd>
<dt>
@ -580,8 +583,7 @@
<dd>
<p>
Presents a clickable on-screen keyboard when using the <b>Text</b> and <
b>Label</b> tools. </p>
Presents a clickable on-screen keyboard when using the <b>Text</b> and <b>Label</b> tools. </p>
</dd>
<dt>
@ -834,7 +836,7 @@ b>Label</b> tools. </p>
Features: </p>
<ul>
<li>Fine movement within canvas, or coarse movement if <code>default</code> is held. </li>
<li>Fine movement within canvas, or coarse movement if <code>Shift</code> is held. </li>
<li>Coarse movement within tool button areas. </li>
@ -913,8 +915,10 @@ b>Label</b> tools. </p>
<li>Linux &amp; Unix — If available, wherever your desktop environment is configured for pictures to be stored, based on your XDG (X Desktop Group) configuration. (Try running the command-line "<code style="white-space: nowrap;">xdg-user-dir PICTURES</code>" to find out.)<br>
Typically (in an English locale), this will be a "<code>Pictures</code>" subdirectory in your home directory (i.e., "<code>$HOME/Pictures</code>" aka "<code>~/Pictures</code>").<br>
Tux Paint will fall back to using that typical directory, of no XDG configuration can be read, or nothing is set for "<code>XDG_PICTURES_DIR</code>". </li>
<li>Windows — TBD! <!-- FIXME -->
<li>Windows - "My Pictures" directory for each user (normaly "c:\Users\<i>USERNAME</i>\Pictures").<br>You can directly open the folder as follows: <ul>
<li>Press "[Windows]+[R]" key to open "Run ..." dialogue.</li>
<li>Enter "Shell:My Pictures" in the text box and push [OK].</li>
</ul>
</li>
<li>macOS — TBD! <!-- FIXME -->
@ -4917,8 +4921,14 @@ b>Label</b> tools. </p>
...which will set the language for the lifetime of that DOS window. </p>
<p>
For something more permanent, try editing your computer's "<code>autoexec.bat</code>" file using Windows' "<b>sysedit</b>" tool: </p>
For something more permanent, you can set an 'environment variable' using the "System properties" dialogue as follows: </p>
<ul>
<li>Press the "<b>[Windows]+[R]</b>" key combination to open the "Run ..." dialogue.</li>
<li>Enter "<code>sysdm.cpl</code>" in the text box and click the "<b>[OK]</b>" button to open the "System properties" dialogue.</li>
<li>Select the "Advanced" tab.</li>
<li>Click the "Environment Variables..." button.</li>
<li>Edit the value of the parameter "<code>LANG</code>" (create it, if it doesn't exists).</li>
</ul>
</blockquote>
</blockquote>

View file

@ -1308,7 +1308,7 @@
<blockquote>
<code>$ <strong>tuxpaint-import grandma.jpg</strong><br>
grandma.jpg -&gt;
/home/username/.tuxpaint/saved/20210321122132.png<br>
/home/username/.tuxpaint/saved/20211231012359.png<br>
jpegtopnm: WRITING A PPM FILE</code>
</blockquote>