annotate runtime/icons/README.txt @ 14548:806e1a2648c6 v8.1.0287

patch 8.1.0287: MAX is not defined everywhere commit https://github.com/vim/vim/commit/37b15568c26e669c333903a70422eacc09488f79 Author: Bram Moolenaar <Bram@vim.org> Date: Tue Aug 14 22:08:25 2018 +0200 patch 8.1.0287: MAX is not defined everywhere Problem: MAX is not defined everywhere. Solution: Define MAX where needed.
author Christian Brabandt <cb@256bit.org>
date Tue, 14 Aug 2018 22:15:05 +0200
parents b89555e4acab
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1178
b89555e4acab updated for version 7.1a
vimboss
parents:
diff changeset
1 Choose your preferred icon and replace the standard Vim icon with it.
b89555e4acab updated for version 7.1a
vimboss
parents:
diff changeset
2 [This is for the Amiga]
b89555e4acab updated for version 7.1a
vimboss
parents:
diff changeset
3
b89555e4acab updated for version 7.1a
vimboss
parents:
diff changeset
4 When started from Workbench, Vim opens a window of standard terminal size
b89555e4acab updated for version 7.1a
vimboss
parents:
diff changeset
5 (80 x 25). Trying to change this by adding a tool type results in a window
b89555e4acab updated for version 7.1a
vimboss
parents:
diff changeset
6 that disappears before Vim comes up in its own window.
b89555e4acab updated for version 7.1a
vimboss
parents:
diff changeset
7 If you want Vim to start with another size, it can be done using
b89555e4acab updated for version 7.1a
vimboss
parents:
diff changeset
8 IconX.
b89555e4acab updated for version 7.1a
vimboss
parents:
diff changeset
9
b89555e4acab updated for version 7.1a
vimboss
parents:
diff changeset
10 Follow these steps:
b89555e4acab updated for version 7.1a
vimboss
parents:
diff changeset
11
b89555e4acab updated for version 7.1a
vimboss
parents:
diff changeset
12 1. Create a script file called e.g. Vim.WB, with a single line in which the
b89555e4acab updated for version 7.1a
vimboss
parents:
diff changeset
13 Vim executable is started:
b89555e4acab updated for version 7.1a
vimboss
parents:
diff changeset
14 Echo "Vim" > Vim.WB
b89555e4acab updated for version 7.1a
vimboss
parents:
diff changeset
15 Protect Vim.WB +s
b89555e4acab updated for version 7.1a
vimboss
parents:
diff changeset
16
b89555e4acab updated for version 7.1a
vimboss
parents:
diff changeset
17 2. Rename the Vim icon to Vim.WB.
b89555e4acab updated for version 7.1a
vimboss
parents:
diff changeset
18
b89555e4acab updated for version 7.1a
vimboss
parents:
diff changeset
19 3. By default, the Vim icon is a program icon.
b89555e4acab updated for version 7.1a
vimboss
parents:
diff changeset
20 Change the icon type from "program" to "project" using IconEdit from the
b89555e4acab updated for version 7.1a
vimboss
parents:
diff changeset
21 "Tools" directory.
b89555e4acab updated for version 7.1a
vimboss
parents:
diff changeset
22
b89555e4acab updated for version 7.1a
vimboss
parents:
diff changeset
23 4. Change the icon settings using "information" from the WorkBench's "icon"
b89555e4acab updated for version 7.1a
vimboss
parents:
diff changeset
24 menu:
b89555e4acab updated for version 7.1a
vimboss
parents:
diff changeset
25 - The default program, of course, is "IconX".
b89555e4acab updated for version 7.1a
vimboss
parents:
diff changeset
26 - A stack size of 4096 should be sufficient.
b89555e4acab updated for version 7.1a
vimboss
parents:
diff changeset
27 - Create a WINDOW tooltype of the desired size.
b89555e4acab updated for version 7.1a
vimboss
parents:
diff changeset
28 The appropriate values depend on your WB font.
b89555e4acab updated for version 7.1a
vimboss
parents:
diff changeset
29
b89555e4acab updated for version 7.1a
vimboss
parents:
diff changeset
30 Example:
b89555e4acab updated for version 7.1a
vimboss
parents:
diff changeset
31 On a standard non-interlaced WB screen with full overscan resolution
b89555e4acab updated for version 7.1a
vimboss
parents:
diff changeset
32 (724 x 283 ), the WINDOW tooltype "CON:30/10/664/273" results in a
b89555e4acab updated for version 7.1a
vimboss
parents:
diff changeset
33 horizontally centered window with 80 columns and 32 lines.
b89555e4acab updated for version 7.1a
vimboss
parents:
diff changeset
34
b89555e4acab updated for version 7.1a
vimboss
parents:
diff changeset
35 Now Vim comes up with the new window size.