x11: add 128x128 sized icon support

This commit is contained in:
Xu Zhao 2017-07-01 23:04:20 -04:00 committed by wm4
parent 3d31807198
commit 1097c1416f
3 changed files with 11 additions and 0 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

View File

@ -118,11 +118,16 @@ static const char x11_icon_64[] =
#include "video/out/x11_icon_64.inc"
;
static const char x11_icon_128[] =
#include "video/out/x11_icon_128.inc"
;
#define ICON_ENTRY(var) { (char *)var, sizeof(var) }
static const struct bstr x11_icons[] = {
ICON_ENTRY(x11_icon_16),
ICON_ENTRY(x11_icon_32),
ICON_ENTRY(x11_icon_64),
ICON_ENTRY(x11_icon_128),
{0}
};

View File

@ -75,6 +75,12 @@ def build(ctx):
target = "video/out/x11_icon_64.inc",
)
ctx(
features = "file2string",
source = "etc/mpv-icon-8bit-128x128.png",
target = "video/out/x11_icon_128.inc",
)
ctx(
features = "file2string",
source = "etc/input.conf",