[WELCOME]: Diverse improvements:
authorHermès Bélusca-Maïto <hermes.belusca-maito@reactos.org>
Wed, 12 Jul 2017 22:16:50 +0000 (22:16 +0000)
committerHermès Bélusca-Maïto <hermes.belusca-maito@reactos.org>
Wed, 12 Jul 2017 22:16:50 +0000 (22:16 +0000)
commit6f2c13e4df7f82691654a3e4eb83c6f2c5a5a785
treecaac0cc6a01656faedf2165a393f61b242a63abb
parentd9827356db5f0699b74ddaeeeb287c57146d0d87
[WELCOME]: Diverse improvements:
- Compute once, when loading the list of topics with their associated commands, their special arguments or starting paths. The computed values can then be used each time a topic command is invoked.
- Distinguish between runnable commands (aka. external executables or files to be started), and internal actions like <msg> and <exit>.
- I have recently discovered that Windows' welcome.exe could also use a custom (OEM) "welcome.ini" file, much like what we already supported: see http://i.imgur.com/Se3IoQN.png .
  To make ours backwards-compatible with Windows' one, rename the "Button" keyword into "MenuText", and introduce two new keywords "ConfigCommand" and "ConfigArgs" that specify respectively the command to be started
  and its associated arguments. We continue to support our "Action" keyword for specifying internal actions.
- Improve the loading of the localized resources from the INI files.
- Correctly print the ReactOS version text, at a correct position depending on whether the checked box is display or not.
- Simplify some StringCchCopy + StringCchCat calls into StringCchPrintf.
- Simplify the code that creates the different fonts to be used within the program.
- Use more readable resource ID names.

svn path=/trunk/; revision=75322
33 files changed:
reactos/base/setup/welcome/lang/bg-BG.rc
reactos/base/setup/welcome/lang/cs-CZ.rc
reactos/base/setup/welcome/lang/da-DK.rc
reactos/base/setup/welcome/lang/de-DE.rc
reactos/base/setup/welcome/lang/el-GR.rc
reactos/base/setup/welcome/lang/en-US.rc
reactos/base/setup/welcome/lang/es-ES.rc
reactos/base/setup/welcome/lang/et-EE.rc
reactos/base/setup/welcome/lang/fr-FR.rc
reactos/base/setup/welcome/lang/he-IL.rc
reactos/base/setup/welcome/lang/hu-HU.rc
reactos/base/setup/welcome/lang/id-ID.rc
reactos/base/setup/welcome/lang/it-IT.rc
reactos/base/setup/welcome/lang/ja-JP.rc
reactos/base/setup/welcome/lang/lt-LT.rc
reactos/base/setup/welcome/lang/ms-MY.rc
reactos/base/setup/welcome/lang/nl-NL.rc
reactos/base/setup/welcome/lang/no-NO.rc
reactos/base/setup/welcome/lang/pl-PL.rc
reactos/base/setup/welcome/lang/pt-BR.rc
reactos/base/setup/welcome/lang/ro-RO.rc
reactos/base/setup/welcome/lang/ru-RU.rc
reactos/base/setup/welcome/lang/sk-SK.rc
reactos/base/setup/welcome/lang/sq-AL.rc
reactos/base/setup/welcome/lang/sv-SE.rc
reactos/base/setup/welcome/lang/th-TH.rc
reactos/base/setup/welcome/lang/tr-TR.rc
reactos/base/setup/welcome/lang/uk-UA.rc
reactos/base/setup/welcome/lang/zh-CN.rc
reactos/base/setup/welcome/lang/zh-TW.rc
reactos/base/setup/welcome/resource.h
reactos/base/setup/welcome/welcome.c
reactos/base/setup/welcome/welcome.rc