Merge branch 'master' into thumbs
This commit is contained in:
commit
dc04bdc72f
344
icon.h
344
icon.h
|
@ -1,178 +1,178 @@
|
||||||
#ifndef ICON_H
|
#ifndef ICON_H
|
||||||
#define ICON_H
|
#define ICON_H
|
||||||
|
|
||||||
static DATA32 icon_warn[] = {
|
static DATA32 icon_broken[] = {
|
||||||
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000,
|
0xffcc0000, 0xffcc0000, 0xffcc0000, 0xffcc0000, 0xffcc0000, 0xffcc0000,
|
||||||
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000,
|
0xffcc0000, 0xffcc0000, 0xffcc0000, 0xffcc0000, 0xffcc0000, 0xffcc0000,
|
||||||
0x00000000, 0xff000000, 0xff000000, 0xff000000, 0x00000000, 0x00000000,
|
0xffcc0000, 0xffcc0000, 0xffcc0000, 0xffcc0000, 0xffcc0000, 0xffcc0000,
|
||||||
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000,
|
0xffcc0000, 0xffcc0000, 0xffcc0000, 0xffcc0000, 0xffcc0000, 0xffcc0000,
|
||||||
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000,
|
0xffcc0000, 0xffcc0000, 0xffcc0000, 0xffcc0000, 0xffcc0000, 0xffcc0000,
|
||||||
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000,
|
0xffcc0000, 0xffcc0000, 0xffcc0000, 0xffcc0000, 0xffcc0000, 0xffcc0000,
|
||||||
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000,
|
0xffcc0000, 0xffcc0000, 0xffcc0000, 0xffcc0000, 0xffcc0000, 0xffcc0000,
|
||||||
0x00000000, 0x00000000, 0xff000000, 0xffffff00, 0xffffff00, 0xffffff00,
|
0xffcc0000, 0xffcc0000, 0xffcc0000, 0xffcc0000, 0xffcc0000, 0xffcc0000,
|
||||||
0xff000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000,
|
0xffcc0000, 0xffcc0000, 0xffcc0000, 0xffcc0000, 0xffcc0000, 0xffcc0000,
|
||||||
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000,
|
0xffcc0000, 0xffcc0000, 0xffcc0000, 0xffcc0000, 0xffcc0000, 0xffcc0000,
|
||||||
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000,
|
0xffcc0000, 0xffcc0000, 0xffcc0000, 0xffcc0000, 0xffcc0000, 0xffcc0000,
|
||||||
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000,
|
0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff,
|
||||||
0x00000000, 0x00000000, 0x00000000, 0xff000000, 0xffffff00, 0xffffff00,
|
0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff,
|
||||||
0xffffff00, 0xffffff00, 0xffffff00, 0xff000000, 0xff666666, 0x00000000,
|
0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff,
|
||||||
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000,
|
0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff,
|
||||||
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000,
|
0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffcc0000, 0xffcc0000,
|
||||||
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000,
|
0xffcc0000, 0xffcc0000, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff,
|
||||||
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0xff000000,
|
0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff,
|
||||||
0xffffff00, 0xffffff00, 0xffffff00, 0xffffff00, 0xffffff00, 0xff000000,
|
0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff,
|
||||||
0xff666666, 0xff666666, 0x00000000, 0x00000000, 0x00000000, 0x00000000,
|
0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff,
|
||||||
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000,
|
0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff,
|
||||||
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000,
|
0xffcc0000, 0xffcc0000, 0xffcc0000, 0xffcc0000, 0xffffffff, 0xffffffff,
|
||||||
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000,
|
0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff,
|
||||||
0xff000000, 0xffffff00, 0xffffff00, 0xffffff00, 0xffffff00, 0xffffff00,
|
0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff,
|
||||||
0xffffff00, 0xffffff00, 0xff000000, 0xff666666, 0xff666666, 0x00000000,
|
0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff,
|
||||||
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000,
|
0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff,
|
||||||
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000,
|
0xffffffff, 0xffffffff, 0xffcc0000, 0xffcc0000, 0xffcc0000, 0xffcc0000,
|
||||||
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000,
|
0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff,
|
||||||
0x00000000, 0x00000000, 0xff000000, 0xffffff00, 0xffffff00, 0xffffff00,
|
0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff,
|
||||||
0xffffff00, 0xffffff00, 0xffffff00, 0xffffff00, 0xff000000, 0xff666666,
|
0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff,
|
||||||
0xff666666, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000,
|
0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff,
|
||||||
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000,
|
0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffcc0000, 0xffcc0000,
|
||||||
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000,
|
0xffcc0000, 0xffcc0000, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff,
|
||||||
0x00000000, 0x00000000, 0x00000000, 0xff000000, 0xffffff00, 0xffffff00,
|
0xffcc0000, 0xffcc0000, 0xffcc0000, 0xffffffff, 0xffffffff, 0xffffffff,
|
||||||
0xffffff00, 0xffffff00, 0xffffff00, 0xffffff00, 0xffffff00, 0xffffff00,
|
0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff,
|
||||||
0xffffff00, 0xff000000, 0xff666666, 0xff666666, 0x00000000, 0x00000000,
|
0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffcc0000,
|
||||||
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000,
|
0xffcc0000, 0xffcc0000, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff,
|
||||||
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000,
|
0xffcc0000, 0xffcc0000, 0xffcc0000, 0xffcc0000, 0xffffffff, 0xffffffff,
|
||||||
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0xff000000,
|
0xffffffff, 0xffffffff, 0xffcc0000, 0xffcc0000, 0xffcc0000, 0xffcc0000,
|
||||||
0xffffff00, 0xffffff00, 0xffffff00, 0xffffff00, 0xffffff00, 0xffffff00,
|
0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff,
|
||||||
0xffffff00, 0xffffff00, 0xffffff00, 0xff000000, 0xff666666, 0xff666666,
|
0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff,
|
||||||
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000,
|
0xffcc0000, 0xffcc0000, 0xffcc0000, 0xffcc0000, 0xffffffff, 0xffffffff,
|
||||||
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000,
|
0xffffffff, 0xffffffff, 0xffcc0000, 0xffcc0000, 0xffcc0000, 0xffcc0000,
|
||||||
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000,
|
0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffcc0000, 0xffcc0000,
|
||||||
0xff000000, 0xffffff00, 0xffffff00, 0xffffff00, 0xffffff00, 0xffffff00,
|
0xffcc0000, 0xffcc0000, 0xffcc0000, 0xffffffff, 0xffffffff, 0xffffffff,
|
||||||
0xffffff00, 0xffffff00, 0xffffff00, 0xffffff00, 0xffffff00, 0xffffff00,
|
0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff,
|
||||||
0xff000000, 0xff666666, 0xff666666, 0x00000000, 0x00000000, 0x00000000,
|
0xffffffff, 0xffcc0000, 0xffcc0000, 0xffcc0000, 0xffcc0000, 0xffcc0000,
|
||||||
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000,
|
0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffcc0000, 0xffcc0000,
|
||||||
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000,
|
0xffcc0000, 0xffcc0000, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff,
|
||||||
0x00000000, 0x00000000, 0xff000000, 0xffffff00, 0xffffff00, 0xffffff00,
|
0xffffffff, 0xffcc0000, 0xffcc0000, 0xffcc0000, 0xffcc0000, 0xffcc0000,
|
||||||
0xffffff00, 0xff000000, 0xff000000, 0xff000000, 0xffffff00, 0xffffff00,
|
0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff,
|
||||||
0xffffff00, 0xffffff00, 0xff000000, 0xff666666, 0xff666666, 0x00000000,
|
0xffffffff, 0xffffffff, 0xffcc0000, 0xffcc0000, 0xffcc0000, 0xffcc0000,
|
||||||
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000,
|
0xffcc0000, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff,
|
||||||
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000,
|
0xffcc0000, 0xffcc0000, 0xffcc0000, 0xffcc0000, 0xffffffff, 0xffffffff,
|
||||||
0x00000000, 0x00000000, 0x00000000, 0xff000000, 0xffffff00, 0xffffff00,
|
0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffcc0000, 0xffcc0000,
|
||||||
0xffffff00, 0xffffff00, 0xff000000, 0xff000000, 0xff000000, 0xff000000,
|
0xffcc0000, 0xffcc0000, 0xffcc0000, 0xffffffff, 0xffffffff, 0xffffffff,
|
||||||
0xff000000, 0xffffff00, 0xffffff00, 0xffffff00, 0xffffff00, 0xff000000,
|
0xffffffff, 0xffffffff, 0xffffffff, 0xffcc0000, 0xffcc0000, 0xffcc0000,
|
||||||
0xff666666, 0xff666666, 0x00000000, 0x00000000, 0x00000000, 0x00000000,
|
0xffcc0000, 0xffcc0000, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff,
|
||||||
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000,
|
0xffffffff, 0xffffffff, 0xffcc0000, 0xffcc0000, 0xffcc0000, 0xffcc0000,
|
||||||
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0xff000000,
|
0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff,
|
||||||
0xffffff00, 0xffffff00, 0xffffff00, 0xffffff00, 0xff000000, 0xff000000,
|
0xffffffff, 0xffcc0000, 0xffcc0000, 0xffcc0000, 0xffcc0000, 0xffcc0000,
|
||||||
0xff000000, 0xff000000, 0xff000000, 0xffffff00, 0xffffff00, 0xffffff00,
|
0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffcc0000, 0xffcc0000,
|
||||||
0xffffff00, 0xff000000, 0xff666666, 0xff666666, 0x00000000, 0x00000000,
|
0xffcc0000, 0xffcc0000, 0xffcc0000, 0xffffffff, 0xffffffff, 0xffffffff,
|
||||||
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000,
|
0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffcc0000, 0xffcc0000,
|
||||||
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000,
|
0xffcc0000, 0xffcc0000, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff,
|
||||||
0xff000000, 0xffffff00, 0xffffff00, 0xffffff00, 0xffffff00, 0xffffff00,
|
0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffcc0000, 0xffcc0000,
|
||||||
0xff000000, 0xff000000, 0xff000000, 0xff000000, 0xff000000, 0xffffff00,
|
0xffcc0000, 0xffcc0000, 0xffcc0000, 0xffffffff, 0xffffffff, 0xffcc0000,
|
||||||
0xffffff00, 0xffffff00, 0xffffff00, 0xffffff00, 0xff000000, 0xff666666,
|
0xffcc0000, 0xffcc0000, 0xffcc0000, 0xffcc0000, 0xffffffff, 0xffffffff,
|
||||||
0xff666666, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000,
|
0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff,
|
||||||
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000,
|
0xffcc0000, 0xffcc0000, 0xffcc0000, 0xffcc0000, 0xffffffff, 0xffffffff,
|
||||||
0x00000000, 0x00000000, 0xff000000, 0xffffff00, 0xffffff00, 0xffffff00,
|
0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff,
|
||||||
0xffffff00, 0xffffff00, 0xff000000, 0xff000000, 0xff000000, 0xff000000,
|
0xffffffff, 0xffcc0000, 0xffcc0000, 0xffcc0000, 0xffcc0000, 0xffcc0000,
|
||||||
0xff000000, 0xffffff00, 0xffffff00, 0xffffff00, 0xffffff00, 0xffffff00,
|
0xffcc0000, 0xffcc0000, 0xffcc0000, 0xffcc0000, 0xffcc0000, 0xffffffff,
|
||||||
0xff000000, 0xff666666, 0xff666666, 0x00000000, 0x00000000, 0x00000000,
|
0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff,
|
||||||
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000,
|
0xffffffff, 0xffffffff, 0xffcc0000, 0xffcc0000, 0xffcc0000, 0xffcc0000,
|
||||||
0x00000000, 0x00000000, 0x00000000, 0xff000000, 0xffffff00, 0xffffff00,
|
0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff,
|
||||||
0xffffff00, 0xffffff00, 0xffffff00, 0xffffff00, 0xff000000, 0xff000000,
|
0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffcc0000, 0xffcc0000,
|
||||||
0xff000000, 0xff000000, 0xff000000, 0xffffff00, 0xffffff00, 0xffffff00,
|
0xffcc0000, 0xffcc0000, 0xffcc0000, 0xffcc0000, 0xffcc0000, 0xffcc0000,
|
||||||
0xffffff00, 0xffffff00, 0xffffff00, 0xff000000, 0xff666666, 0xff666666,
|
0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff,
|
||||||
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000,
|
0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffcc0000, 0xffcc0000,
|
||||||
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0xff000000,
|
0xffcc0000, 0xffcc0000, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff,
|
||||||
0xffffff00, 0xffffff00, 0xffffff00, 0xffffff00, 0xffffff00, 0xffffff00,
|
0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff,
|
||||||
0xff000000, 0xff000000, 0xff000000, 0xff000000, 0xff000000, 0xffffff00,
|
0xffffffff, 0xffcc0000, 0xffcc0000, 0xffcc0000, 0xffcc0000, 0xffcc0000,
|
||||||
0xffffff00, 0xffffff00, 0xffffff00, 0xffffff00, 0xffffff00, 0xff000000,
|
0xffcc0000, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff,
|
||||||
0xff666666, 0xff666666, 0x00000000, 0x00000000, 0x00000000, 0x00000000,
|
0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff,
|
||||||
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000,
|
0xffcc0000, 0xffcc0000, 0xffcc0000, 0xffcc0000, 0xffffffff, 0xffffffff,
|
||||||
0xff000000, 0xffffff00, 0xffffff00, 0xffffff00, 0xffffff00, 0xffffff00,
|
0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff,
|
||||||
0xffffff00, 0xffffff00, 0xffffff00, 0xff000000, 0xff000000, 0xff000000,
|
0xffffffff, 0xffffffff, 0xffffffff, 0xffcc0000, 0xffcc0000, 0xffcc0000,
|
||||||
0xffffff00, 0xffffff00, 0xffffff00, 0xffffff00, 0xffffff00, 0xffffff00,
|
0xffcc0000, 0xffcc0000, 0xffcc0000, 0xffffffff, 0xffffffff, 0xffffffff,
|
||||||
0xffffff00, 0xffffff00, 0xff000000, 0xff666666, 0xff666666, 0x00000000,
|
0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff,
|
||||||
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000,
|
0xffffffff, 0xffffffff, 0xffcc0000, 0xffcc0000, 0xffcc0000, 0xffcc0000,
|
||||||
0x00000000, 0x00000000, 0xff000000, 0xffffff00, 0xffffff00, 0xffffff00,
|
0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff,
|
||||||
0xffffff00, 0xffffff00, 0xffffff00, 0xffffff00, 0xffffff00, 0xff000000,
|
0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffcc0000, 0xffcc0000,
|
||||||
0xff000000, 0xff000000, 0xffffff00, 0xffffff00, 0xffffff00, 0xffffff00,
|
0xffcc0000, 0xffcc0000, 0xffcc0000, 0xffcc0000, 0xffcc0000, 0xffcc0000,
|
||||||
0xffffff00, 0xffffff00, 0xffffff00, 0xffffff00, 0xff000000, 0xff666666,
|
0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff,
|
||||||
0xff666666, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000,
|
0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffcc0000, 0xffcc0000,
|
||||||
0x00000000, 0x00000000, 0x00000000, 0xff000000, 0xffffff00, 0xffffff00,
|
0xffcc0000, 0xffcc0000, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff,
|
||||||
0xffffff00, 0xffffff00, 0xffffff00, 0xffffff00, 0xffffff00, 0xffffff00,
|
0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffcc0000,
|
||||||
0xffffff00, 0xff000000, 0xff000000, 0xff000000, 0xffffff00, 0xffffff00,
|
0xffcc0000, 0xffcc0000, 0xffcc0000, 0xffcc0000, 0xffcc0000, 0xffcc0000,
|
||||||
0xffffff00, 0xffffff00, 0xffffff00, 0xffffff00, 0xffffff00, 0xffffff00,
|
0xffcc0000, 0xffcc0000, 0xffcc0000, 0xffffffff, 0xffffffff, 0xffffffff,
|
||||||
0xffffff00, 0xff000000, 0xff666666, 0xff666666, 0x00000000, 0x00000000,
|
0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff,
|
||||||
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0xff000000,
|
0xffcc0000, 0xffcc0000, 0xffcc0000, 0xffcc0000, 0xffffffff, 0xffffffff,
|
||||||
0xffffff00, 0xffffff00, 0xffffff00, 0xffffff00, 0xffffff00, 0xffffff00,
|
0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff,
|
||||||
0xffffff00, 0xffffff00, 0xffffff00, 0xffffff00, 0xff000000, 0xffffff00,
|
0xffcc0000, 0xffcc0000, 0xffcc0000, 0xffcc0000, 0xffcc0000, 0xffffffff,
|
||||||
0xffffff00, 0xffffff00, 0xffffff00, 0xffffff00, 0xffffff00, 0xffffff00,
|
0xffffffff, 0xffcc0000, 0xffcc0000, 0xffcc0000, 0xffcc0000, 0xffcc0000,
|
||||||
0xffffff00, 0xffffff00, 0xffffff00, 0xff000000, 0xff666666, 0xff666666,
|
0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff,
|
||||||
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000,
|
0xffffffff, 0xffffffff, 0xffcc0000, 0xffcc0000, 0xffcc0000, 0xffcc0000,
|
||||||
0xff000000, 0xffffff00, 0xffffff00, 0xffffff00, 0xffffff00, 0xffffff00,
|
0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff,
|
||||||
0xffffff00, 0xffffff00, 0xffffff00, 0xffffff00, 0xffffff00, 0xffffff00,
|
0xffffffff, 0xffcc0000, 0xffcc0000, 0xffcc0000, 0xffcc0000, 0xffcc0000,
|
||||||
0xff000000, 0xffffff00, 0xffffff00, 0xffffff00, 0xffffff00, 0xffffff00,
|
0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffcc0000, 0xffcc0000,
|
||||||
0xffffff00, 0xffffff00, 0xffffff00, 0xffffff00, 0xffffff00, 0xffffff00,
|
0xffcc0000, 0xffcc0000, 0xffcc0000, 0xffffffff, 0xffffffff, 0xffffffff,
|
||||||
0xff000000, 0xff666666, 0xff666666, 0x00000000, 0x00000000, 0x00000000,
|
0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffcc0000, 0xffcc0000,
|
||||||
0x00000000, 0x00000000, 0xff000000, 0xffffff00, 0xffffff00, 0xffffff00,
|
0xffcc0000, 0xffcc0000, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff,
|
||||||
0xffffff00, 0xffffff00, 0xffffff00, 0xffffff00, 0xffffff00, 0xffffff00,
|
0xffffffff, 0xffffffff, 0xffcc0000, 0xffcc0000, 0xffcc0000, 0xffcc0000,
|
||||||
0xffffff00, 0xffffff00, 0xffffff00, 0xffffff00, 0xffffff00, 0xffffff00,
|
0xffcc0000, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff,
|
||||||
0xffffff00, 0xffffff00, 0xffffff00, 0xffffff00, 0xffffff00, 0xffffff00,
|
0xffffffff, 0xffcc0000, 0xffcc0000, 0xffcc0000, 0xffcc0000, 0xffcc0000,
|
||||||
0xffffff00, 0xffffff00, 0xff000000, 0xff666666, 0xff666666, 0x00000000,
|
0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff,
|
||||||
0x00000000, 0x00000000, 0x00000000, 0xff000000, 0xffffff00, 0xffffff00,
|
0xffcc0000, 0xffcc0000, 0xffcc0000, 0xffcc0000, 0xffffffff, 0xffffffff,
|
||||||
0xffffff00, 0xffffff00, 0xffffff00, 0xffffff00, 0xffffff00, 0xffffff00,
|
0xffffffff, 0xffffffff, 0xffffffff, 0xffcc0000, 0xffcc0000, 0xffcc0000,
|
||||||
0xffffff00, 0xffffff00, 0xffffff00, 0xffffff00, 0xff000000, 0xff000000,
|
0xffcc0000, 0xffcc0000, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff,
|
||||||
0xffffff00, 0xffffff00, 0xffffff00, 0xffffff00, 0xffffff00, 0xffffff00,
|
0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffcc0000, 0xffcc0000,
|
||||||
0xffffff00, 0xffffff00, 0xffffff00, 0xffffff00, 0xffffff00, 0xff000000,
|
0xffcc0000, 0xffcc0000, 0xffcc0000, 0xffffffff, 0xffffffff, 0xffffffff,
|
||||||
0xff666666, 0xff666666, 0x00000000, 0x00000000, 0x00000000, 0xff000000,
|
0xffffffff, 0xffffffff, 0xffcc0000, 0xffcc0000, 0xffcc0000, 0xffcc0000,
|
||||||
0xffffff00, 0xffffff00, 0xffffff00, 0xffffff00, 0xffffff00, 0xffffff00,
|
0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffcc0000, 0xffcc0000,
|
||||||
0xffffff00, 0xffffff00, 0xffffff00, 0xffffff00, 0xffffff00, 0xff000000,
|
0xffcc0000, 0xffcc0000, 0xffcc0000, 0xffffffff, 0xffffffff, 0xffffffff,
|
||||||
0xff000000, 0xff000000, 0xff000000, 0xffffff00, 0xffffff00, 0xffffff00,
|
0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff,
|
||||||
0xffffff00, 0xffffff00, 0xffffff00, 0xffffff00, 0xffffff00, 0xffffff00,
|
0xffffffff, 0xffcc0000, 0xffcc0000, 0xffcc0000, 0xffcc0000, 0xffcc0000,
|
||||||
0xffffff00, 0xff000000, 0xff666666, 0xff666666, 0x00000000, 0x00000000,
|
0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffcc0000, 0xffcc0000,
|
||||||
0xff000000, 0xffffff00, 0xffffff00, 0xffffff00, 0xffffff00, 0xffffff00,
|
0xffcc0000, 0xffcc0000, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff,
|
||||||
0xffffff00, 0xffffff00, 0xffffff00, 0xffffff00, 0xffffff00, 0xffffff00,
|
0xffcc0000, 0xffcc0000, 0xffcc0000, 0xffcc0000, 0xffffffff, 0xffffffff,
|
||||||
0xffffff00, 0xff000000, 0xff000000, 0xff000000, 0xff000000, 0xffffff00,
|
0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff,
|
||||||
0xffffff00, 0xffffff00, 0xffffff00, 0xffffff00, 0xffffff00, 0xffffff00,
|
0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffcc0000, 0xffcc0000,
|
||||||
0xffffff00, 0xffffff00, 0xffffff00, 0xffffff00, 0xff000000, 0xff666666,
|
0xffcc0000, 0xffcc0000, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff,
|
||||||
0xff666666, 0x00000000, 0xff000000, 0xffffff00, 0xffffff00, 0xffffff00,
|
0xffcc0000, 0xffcc0000, 0xffcc0000, 0xffcc0000, 0xffffffff, 0xffffffff,
|
||||||
0xffffff00, 0xffffff00, 0xffffff00, 0xffffff00, 0xffffff00, 0xffffff00,
|
0xffffffff, 0xffffffff, 0xffcc0000, 0xffcc0000, 0xffcc0000, 0xffffffff,
|
||||||
0xffffff00, 0xffffff00, 0xffffff00, 0xffffff00, 0xff000000, 0xff000000,
|
0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff,
|
||||||
0xffffff00, 0xffffff00, 0xffffff00, 0xffffff00, 0xffffff00, 0xffffff00,
|
0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff,
|
||||||
0xffffff00, 0xffffff00, 0xffffff00, 0xffffff00, 0xffffff00, 0xffffff00,
|
0xffffffff, 0xffcc0000, 0xffcc0000, 0xffcc0000, 0xffffffff, 0xffffffff,
|
||||||
0xff000000, 0xff666666, 0xff666666, 0x00000000, 0xff000000, 0xffffff00,
|
0xffffffff, 0xffffffff, 0xffcc0000, 0xffcc0000, 0xffcc0000, 0xffcc0000,
|
||||||
0xffffff00, 0xffffff00, 0xffffff00, 0xffffff00, 0xffffff00, 0xffffff00,
|
0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff,
|
||||||
0xffffff00, 0xffffff00, 0xffffff00, 0xffffff00, 0xffffff00, 0xffffff00,
|
0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff,
|
||||||
0xffffff00, 0xffffff00, 0xffffff00, 0xffffff00, 0xffffff00, 0xffffff00,
|
0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff,
|
||||||
0xffffff00, 0xffffff00, 0xffffff00, 0xffffff00, 0xffffff00, 0xffffff00,
|
0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff,
|
||||||
0xffffff00, 0xffffff00, 0xff000000, 0xff666666, 0xff666666, 0xff666666,
|
0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffcc0000, 0xffcc0000,
|
||||||
0xff000000, 0xffffff00, 0xffffff00, 0xffffff00, 0xffffff00, 0xffffff00,
|
0xffcc0000, 0xffcc0000, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff,
|
||||||
0xffffff00, 0xffffff00, 0xffffff00, 0xffffff00, 0xffffff00, 0xffffff00,
|
0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff,
|
||||||
0xffffff00, 0xffffff00, 0xffffff00, 0xffffff00, 0xffffff00, 0xffffff00,
|
0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff,
|
||||||
0xffffff00, 0xffffff00, 0xffffff00, 0xffffff00, 0xffffff00, 0xffffff00,
|
0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff,
|
||||||
0xffffff00, 0xffffff00, 0xffffff00, 0xffffff00, 0xff000000, 0xff666666,
|
0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff,
|
||||||
0xff666666, 0xff666666, 0x00000000, 0xff000000, 0xffffff00, 0xffffff00,
|
0xffcc0000, 0xffcc0000, 0xffcc0000, 0xffcc0000, 0xffffffff, 0xffffffff,
|
||||||
0xffffff00, 0xffffff00, 0xffffff00, 0xffffff00, 0xffffff00, 0xffffff00,
|
0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff,
|
||||||
0xffffff00, 0xffffff00, 0xffffff00, 0xffffff00, 0xffffff00, 0xffffff00,
|
0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff,
|
||||||
0xffffff00, 0xffffff00, 0xffffff00, 0xffffff00, 0xffffff00, 0xffffff00,
|
0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff,
|
||||||
0xffffff00, 0xffffff00, 0xffffff00, 0xffffff00, 0xffffff00, 0xff000000,
|
0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff,
|
||||||
0xff666666, 0xff666666, 0xff666666, 0xff666666, 0x00000000, 0x00000000,
|
0xffffffff, 0xffffffff, 0xffcc0000, 0xffcc0000, 0xffcc0000, 0xffcc0000,
|
||||||
0xff000000, 0xff000000, 0xff000000, 0xff000000, 0xff000000, 0xff000000,
|
0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff,
|
||||||
0xff000000, 0xff000000, 0xff000000, 0xff000000, 0xff000000, 0xff000000,
|
0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff,
|
||||||
0xff000000, 0xff000000, 0xff000000, 0xff000000, 0xff000000, 0xff000000,
|
0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff,
|
||||||
0xff000000, 0xff000000, 0xff000000, 0xff000000, 0xff000000, 0xff000000,
|
0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff,
|
||||||
0xff000000, 0xff666666, 0xff666666, 0xff666666, 0xff666666, 0xff666666,
|
0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffcc0000, 0xffcc0000,
|
||||||
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0xff666666, 0xff666666,
|
0xffcc0000, 0xffcc0000, 0xffcc0000, 0xffcc0000, 0xffcc0000, 0xffcc0000,
|
||||||
0xff666666, 0xff666666, 0xff666666, 0xff666666, 0xff666666, 0xff666666,
|
0xffcc0000, 0xffcc0000, 0xffcc0000, 0xffcc0000, 0xffcc0000, 0xffcc0000,
|
||||||
0xff666666, 0xff666666, 0xff666666, 0xff666666, 0xff666666, 0xff666666,
|
0xffcc0000, 0xffcc0000, 0xffcc0000, 0xffcc0000, 0xffcc0000, 0xffcc0000,
|
||||||
0xff666666, 0xff666666, 0xff666666, 0xff666666, 0xff666666, 0xff666666,
|
0xffcc0000, 0xffcc0000, 0xffcc0000, 0xffcc0000, 0xffcc0000, 0xffcc0000,
|
||||||
0xff666666, 0xff666666, 0xff666666, 0xff666666, 0xff666666, 0xff666666,
|
0xffcc0000, 0xffcc0000, 0xffcc0000, 0xffcc0000, 0xffcc0000, 0xffcc0000,
|
||||||
0xff666666, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000,
|
0xffcc0000, 0xffcc0000, 0xffcc0000, 0xffcc0000, 0xffcc0000, 0xffcc0000,
|
||||||
0x00000000, 0xff666666, 0xff666666, 0xff666666, 0xff666666, 0xff666666,
|
0xffcc0000, 0xffcc0000, 0xffcc0000, 0xffcc0000, 0xffcc0000, 0xffcc0000,
|
||||||
0xff666666, 0xff666666, 0xff666666, 0xff666666, 0xff666666, 0xff666666,
|
0xffcc0000, 0xffcc0000, 0xffcc0000, 0xffcc0000, 0xffcc0000, 0xffcc0000,
|
||||||
0xff666666, 0xff666666, 0xff666666, 0xff666666, 0xff666666, 0xff666666,
|
0xffcc0000, 0xffcc0000, 0xffcc0000, 0xffcc0000, 0xffcc0000, 0xffcc0000,
|
||||||
0xff666666, 0xff666666, 0xff666666, 0xff666666, 0xff666666, 0xff666666,
|
0xffcc0000, 0xffcc0000, 0xffcc0000, 0xffcc0000, 0xffcc0000, 0xffcc0000,
|
||||||
0xff666666, 0xff666666, 0x00000000, 0x00000000
|
0xffcc0000, 0xffcc0000, 0xffcc0000, 0xffcc0000
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif /* ICON_H */
|
#endif /* ICON_H */
|
||||||
|
|
9
image.c
9
image.c
|
@ -29,14 +29,14 @@ int zl_cnt;
|
||||||
float zoom_min;
|
float zoom_min;
|
||||||
float zoom_max;
|
float zoom_max;
|
||||||
|
|
||||||
Imlib_Image *im_warn;
|
Imlib_Image *im_broken;
|
||||||
|
|
||||||
void img_init(img_t *img, win_t *win) {
|
void img_init(img_t *img, win_t *win) {
|
||||||
zl_cnt = sizeof(zoom_levels) / sizeof(zoom_levels[0]);
|
zl_cnt = sizeof(zoom_levels) / sizeof(zoom_levels[0]);
|
||||||
zoom_min = zoom_levels[0] / 100.0;
|
zoom_min = zoom_levels[0] / 100.0;
|
||||||
zoom_max = zoom_levels[zl_cnt - 1] / 100.0;
|
zoom_max = zoom_levels[zl_cnt - 1] / 100.0;
|
||||||
|
|
||||||
im_warn = imlib_create_image_using_data(32, 32, icon_warn);
|
im_broken = imlib_create_image_using_data(32, 32, icon_broken);
|
||||||
|
|
||||||
if (img) {
|
if (img) {
|
||||||
img->zoom = options->zoom;
|
img->zoom = options->zoom;
|
||||||
|
@ -55,7 +55,7 @@ void img_init(img_t *img, win_t *win) {
|
||||||
void img_free(img_t* img) {
|
void img_free(img_t* img) {
|
||||||
if (img && img->valid && imlib_context_get_image())
|
if (img && img->valid && imlib_context_get_image())
|
||||||
imlib_free_image();
|
imlib_free_image();
|
||||||
imlib_context_set_image(im_warn);
|
imlib_context_set_image(im_broken);
|
||||||
imlib_free_image();
|
imlib_free_image();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -95,8 +95,7 @@ int img_load(img_t *img, const char *filename) {
|
||||||
imlib_context_set_anti_alias(img->aa);
|
imlib_context_set_anti_alias(img->aa);
|
||||||
img->scalemode = options->scalemode;
|
img->scalemode = options->scalemode;
|
||||||
} else {
|
} else {
|
||||||
imlib_context_set_image(im_warn);
|
imlib_context_set_image(im_broken);
|
||||||
imlib_image_set_has_alpha(1);
|
|
||||||
imlib_context_set_anti_alias(0);
|
imlib_context_set_anti_alias(0);
|
||||||
img->scalemode = SCALE_DOWN;
|
img->scalemode = SCALE_DOWN;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue