mirror of https://github.com/mpv-player/mpv
x11: add 128x128 sized icon support
This commit is contained in:
parent
3d31807198
commit
1097c1416f
Binary file not shown.
After Width: | Height: | Size: 22 KiB |
|
@ -118,11 +118,16 @@ static const char x11_icon_64[] =
|
||||||
#include "video/out/x11_icon_64.inc"
|
#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) }
|
#define ICON_ENTRY(var) { (char *)var, sizeof(var) }
|
||||||
static const struct bstr x11_icons[] = {
|
static const struct bstr x11_icons[] = {
|
||||||
ICON_ENTRY(x11_icon_16),
|
ICON_ENTRY(x11_icon_16),
|
||||||
ICON_ENTRY(x11_icon_32),
|
ICON_ENTRY(x11_icon_32),
|
||||||
ICON_ENTRY(x11_icon_64),
|
ICON_ENTRY(x11_icon_64),
|
||||||
|
ICON_ENTRY(x11_icon_128),
|
||||||
{0}
|
{0}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -75,6 +75,12 @@ def build(ctx):
|
||||||
target = "video/out/x11_icon_64.inc",
|
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(
|
ctx(
|
||||||
features = "file2string",
|
features = "file2string",
|
||||||
source = "etc/input.conf",
|
source = "etc/input.conf",
|
||||||
|
|
Loading…
Reference in New Issue