templates support to commdlg ChooseFont
Shachar Shemesh
wine-patches at sun.consumer.org.il
Wed Nov 6 15:00:32 CST 2002
One more bug:
FIXME still reports the CF_ENABLETEMPLATE flag as non-supported.
Shachar Shemesh wrote:
> ChangeLog:
> Shachar Shemesh <winecode at sun.consumer.org.il>
>
> Todo:
>
> * Implement support for the scripts selection.
> o Enum the scripts the font supports, and display the list
> accordingly.
> o Make the sample text use characters from the selected script
> (today SOME resources included the local text, which is not
> the correct behaviour).
> o Implement the Unicode version of script selection properly.
>
> Bugs:
>
> * Non functional changes were only applied to the English resource.
> I'm sorry, I'm sick (literally - I'm ill), and my sed skills are
> not very good. I only performed the changes that were required in
> order to keep the code functioning.
> * The windows method is to pass stc5 not visible, and the commdlg
> code created a BUTTON with the same ID at the same place. I'm not
> sure why that is, probably so things will be visibily pleasing.
> Our code, if passed not visible, will not display the sample text.
>
>
>
> dlls/commdlg/cdlg_En.rc
>
> * Changed all numeric resources in ChooseFont to labels for better
> readability.
>
> dlls/commdlg/cdlg_*.rc
>
> * Changed control #1093 (sample text) to stc5 (1092) to convert to
> Windows compatible numbers.
>
> dlls/commdlg/fontdlg.c
>
> * Changed all handling of stc6 (1093) to atc5 (1092) so that will be
> compatible with Windows resource numbers.
> * Added code to load the user's resources rather than our own if
> CF_ENABLETEMPLATE is passed in "flags".
>
>
>
>
More information about the wine-patches
mailing list