[CONSOLE.CPL]: Fix the console window preview:
authorHermès Bélusca-Maïto <hermes.belusca-maito@reactos.org>
Mon, 8 May 2017 17:33:33 +0000 (17:33 +0000)
committerHermès Bélusca-Maïto <hermes.belusca-maito@reactos.org>
Mon, 8 May 2017 17:33:33 +0000 (17:33 +0000)
commita3842a814cc27aaae71a6d9f7e95e2c0a52f3d91
treeff188a035d88e94899553cab3e17d6c75d83f35e
parent9e97728d4f73749b2f8299de11800e9d6182014d
[CONSOLE.CPL]: Fix the console window preview:
- turn it into a custom control;
- supports dynamic preview area depending on the actual current monitor screen resolution;
  (note that on ReactOS, the WM_DISPLAYCHANGE is not correctly sent, see CORE-13212, therefore this functionality won't show up yet)
- supports correct rescaling of the console preview drawn in the preview area;
- supports dependence of the console preview with respect to the chosen font character dimensions.
The code is there, it may be a little bit improved in the future.
CORE-13196 #resolve

Other additions:
- Add a few space between the console preview text window border and the text sample;
- PaintText and PaintStaticControls do not need to return anything.

svn path=/trunk/; revision=74504
26 files changed:
reactos/dll/cpl/console/colors.c
reactos/dll/cpl/console/console.c
reactos/dll/cpl/console/console.h
reactos/dll/cpl/console/font.c
reactos/dll/cpl/console/lang/bg-BG.rc
reactos/dll/cpl/console/lang/cs-CZ.rc
reactos/dll/cpl/console/lang/de-DE.rc
reactos/dll/cpl/console/lang/en-US.rc
reactos/dll/cpl/console/lang/es-ES.rc
reactos/dll/cpl/console/lang/fr-FR.rc
reactos/dll/cpl/console/lang/he-IL.rc
reactos/dll/cpl/console/lang/id-ID.rc
reactos/dll/cpl/console/lang/it-IT.rc
reactos/dll/cpl/console/lang/ja-JP.rc
reactos/dll/cpl/console/lang/no-NO.rc
reactos/dll/cpl/console/lang/pl-PL.rc
reactos/dll/cpl/console/lang/pt-BR.rc
reactos/dll/cpl/console/lang/ro-RO.rc
reactos/dll/cpl/console/lang/ru-RU.rc
reactos/dll/cpl/console/lang/sk-SK.rc
reactos/dll/cpl/console/lang/sq-AL.rc
reactos/dll/cpl/console/lang/tr-TR.rc
reactos/dll/cpl/console/lang/uk-UA.rc
reactos/dll/cpl/console/lang/zh-CN.rc
reactos/dll/cpl/console/lang/zh-TW.rc
reactos/dll/cpl/console/layout.c