shell32: Add bitmap resources for ids 133 and 134.

Zhiyi Zhang zzhang at codeweavers.com
Wed Oct 24 04:15:58 CDT 2018



On 2018/10/24 16:18, Dmitry Timoshkov wrote:
> These are the copies of user32 bitmaps.
>
> This patch makes an application that uses these bitmaps in its own dialogs work.
>
> Signed-off-by: Dmitry Timoshkov <dmitry at baikal.ru>
> ---
>  dlls/shell32/resources/obm_dnarrowi.bmp | Bin 0 -> 322 bytes
>  dlls/shell32/resources/obm_uparrowi.bmp | Bin 0 -> 322 bytes
>  dlls/shell32/shell32.rc                 |   6 ++++++
>  dlls/shell32/shresdef.h                 |   3 +++
>  4 files changed, 9 insertions(+)
>  create mode 100644 dlls/shell32/resources/obm_dnarrowi.bmp
>  create mode 100644 dlls/shell32/resources/obm_uparrowi.bmp
>
> diff --git a/dlls/shell32/resources/obm_dnarrowi.bmp b/dlls/shell32/resources/obm_dnarrowi.bmp
> new file mode 100644
> index 0000000000000000000000000000000000000000..3cbf4fbba4cf728c361ad1a2ac2f24576df47145
> GIT binary patch
> literal 322
> zcmZ?rbz)=ygEAng0mOn(%*en37RN>G- at l)szP_H}|NsBEln^D(qyzyV#mvZTK`>AP
> zivyX$f`V|ivLT!;q+|?dD=8@(Le&TXO at fOHDIu#zW+Ryiv;uBER<<!17@>O#07Y~Y
> AfdBvi
>
> literal 0
> HcmV?d00001
>
> diff --git a/dlls/shell32/resources/obm_uparrowi.bmp b/dlls/shell32/resources/obm_uparrowi.bmp
> new file mode 100644
> index 0000000000000000000000000000000000000000..6abb810636636c1570c395a20254108ac3237835
> GIT binary patch
> literal 322
> zcmZ?rbz)=ygEAng0mOn(%*en37RN>G- at l)szP_H}|NsBEln^D(qyzyV#mvZTK`>AP
> zivyX)hJrA*kP=q5u#u9mAykbJ&?LBeB_%~TTS!R|&K6WeVgs#!nGdoUlWhzJM(Cab
> E0AU&vp8x;=
>
> literal 0
> HcmV?d00001
>
> diff --git a/dlls/shell32/shell32.rc b/dlls/shell32/shell32.rc
> index 5c11590d7c..89ea40b345 100644
> --- a/dlls/shell32/shell32.rc
> +++ b/dlls/shell32/shell32.rc
> @@ -1064,6 +1064,12 @@ IDI_SHELL_RESTRICTED2 ICON resources/restricted.ico
>  /* @makedep: resources/internet.ico */
>  IDI_SHELL_WEB_BROWSER ICON resources/internet.ico
>  
> +/* @makedep: resources/obm_uparrowi.bmp */
> +IDB_UP_ARROW BITMAP resources/obm_uparrowi.bmp
> +
> +/* @makedep: resources/obm_uparrowi.bmp */
Hi, Dmitry, wrong filename here.
> +IDB_DOWN_ARROW BITMAP resources/obm_dnarrowi.bmp
> +
>  /* @makedep: resources/idb_tb_large.bmp */
>  IDB_TB_LARGE_LIGHT BITMAP resources/idb_tb_large.bmp
>  
> diff --git a/dlls/shell32/shresdef.h b/dlls/shell32/shresdef.h
> index 16c92936ab..49fffeab5e 100644
> --- a/dlls/shell32/shresdef.h
> +++ b/dlls/shell32/shresdef.h
> @@ -427,6 +427,9 @@ FIXME: Need to add them, but for now just let them use the same: searching.avi
>  /* explorer toolbar icons
>   * FIXME: images are hacky and should be re-drawn; also dark and light bitmaps are same for now
>   */
> +#define IDB_UP_ARROW            133
> +#define IDB_DOWN_ARROW          134
> +
>  #define IDB_TB_LARGE_LIGHT      214
>  #define IDB_TB_LARGE_DARK       215
>  #define IDB_TB_SMALL_LIGHT      216




More information about the wine-devel mailing list