[PATCH] winecfg: Add menu font settings to desktop integration tab

Vitaliy Margolen wine-devel at kievinfo.com
Wed Jul 25 22:50:12 CDT 2007


Nigel Liang wrote:
> diff --git a/programs/winecfg/En.rc b/programs/winecfg/En.rc
> index 5972c3b..e61bf29 100644
> --- a/programs/winecfg/En.rc
> +++ b/programs/winecfg/En.rc
> @@ -200,6 +200,11 @@ BEGIN
>      CONTROL         "Link to:",IDC_LINK_SFPATH,"Button",BS_AUTOCHECKBOX|WS_TABSTOP|WS_DISABLED,15,195,50,13
>      EDITTEXT         IDC_EDIT_SFPATH,65,195,145,13,ES_AUTOHSCROLL|WS_TABSTOP|WS_DISABLED
>      PUSHBUTTON      "Browse",IDC_BROWSE_SFPATH,215,195,30,13,WS_DISABLED
> +    GROUPBOX        " Menu Font ",IDC_STATIC,8,216,244,50
> +    LTEXT           "Font: ",IDC_STATIC,20,230,40,10
> +    COMBOBOX        IDC_MENUFONT_COMBO,55,228,186,30,CBS_DROPDOWNLIST|CBS_SORT|WS_VSCROLL|WS_TABSTOP
> +    LTEXT           "Size: ",IDC_STATIC,20,249,40,10
> +    COMBOBOX        IDC_MENUFONT_SIZECOMBO,55,247,50,30,CBS_DROPDOWNLIST|WS_VSCROLL|WS_TABSTOP
>  END

There is already a drop down list where you can select menu and the "Font" 
button. You should use those instead. Of course you will need to make it 
work for all other items that might have font as an option (like a caption, 
window, etc).

Vitaliy.



More information about the wine-devel mailing list