Exemple #1
0
void setIcon() {
            /* AA , RR , GG , BB */
    #define x 0x00,0x00,0x00,0x00,
    #define w 0xff,0x3f,0x3f,0x74,
    #define m 0xff,0x5b,0x6e,0xe1,
    #define n 0xff,0x63,0x9b,0xff,
    #define o 0xff,0x22,0x20,0x34,
    #define e 0xff,0x5f,0xcd,0xe5,
    #define s 0xff,0xcb,0xbf,0xfc,
    #define i 0xff,0xff,0xff,0xff,
    #define z 0xff,0x30,0x60,0x82,
	char arr[16*16*4] = 
{
x w w w w w w w w w w w w w w x
w n n n n n n n n n n n n n n w
w m o o o o o o o o o o o o n w
w m o o o o o e e e e o o o n w
w m o o o o e m n m m e o o n w
w m o e e e m e m n m n e o n w
w m e m n e n m s n n m e o n w
w m e w m e m s w s w n e o n w
w m o e s w s i z i z s m e n w
w m o e w i w i i i i w e o n w
w m o e z i z w w w w e o o n w
w m o e i i i i i w e o o o n w
w m o e w w w w w e o o o o n w
w m o o e e e e e o o o o o n w
w m m m m m m m m m m m m m m w
x w w w w w w w w w w w w w w x
};
    #undef x
    #undef w
    #undef m
    #undef n
    #undef o
    #undef e
    #undef s
    #undef i
    #undef z
    
	GFraMe_set_icon(arr);
}
Exemple #2
0
void setIcon() {
	#define alp	0x00,0x00,0x00,0x00
	#define bor	0xff,0x22,0x20,0x34
	#define blu	0xff,0xcb,0xdb,0xfc
	#define gra	0xff,0x84,0x7e,0x87
	#define lre	0xff,0xd9,0x57,0x63
	#define dre	0xff,0xac,0x32,0x32
	#define lin	0xff,0x45,0x28,0x3c
	#define whi	0xff,0xcb,0xdb,0xfc
	#define lgr 0xff,0x99,0xe5,0x50
	#define gre 0xff,0x6a,0xbe,0x30
	#define dgr 0xff,0x4b,0x69,0x2f
	#define eye	0xff,0x32,0x3c,0x39
	#define lye	0xff,0xee,0xc3,0x9a
	#define yel	0xff,0xd9,0xa0,0x66
	#define dye	0xff,0x8a,0x6f,0x30
	
	char pixels[16*16*4] = 
{
alp,bor,bor,bor,bor,bor,bor,bor,bor,bor,bor,bor,bor,bor,bor,alp,
bor,blu,blu,blu,blu,blu,blu,blu,blu,blu,blu,blu,blu,blu,blu,bor,
bor,gra,lre,lre,lin,dre,lin,lin,lin,lin,lin,lre,lre,lre,blu,bor,
bor,gra,lre,lre,lre,lre,lre,lre,lre,lre,lre,lin,lre,lre,blu,bor,
bor,gra,lre,eye,eye,gra,gra,dre,lre,lre,lre,lin,lre,lre,blu,bor,
bor,gra,eye,gra,gre,lgr,whi,gra,dre,dre,dre,lre,lre,dre,blu,bor,
bor,gra,eye,gra,gre,gre,whi,gra,dre,dre,dre,dre,lre,dre,blu,bor,
bor,gra,eye,dgr,gra,gre,lgr,gra,dre,dre,dre,dre,lre,dre,blu,bor,
bor,gra,eye,dgr,dgr,gra,gre,eye,dre,dre,dre,dre,lre,dre,blu,bor,
bor,gra,dre,eye,eye,eye,eye,dre,dre,dre,dre,dre,lre,dre,blu,bor,
bor,gra,dre,dre,dre,dre,dre,dre,dre,dre,dre,dre,lre,dre,blu,bor,
bor,gra,dre,dre,lin,lin,lin,lin,lin,lin,lin,lin,lin,lin,blu,bor,
bor,gra,dre,lin,dye,dye,dye,dye,dye,dye,dye,dye,yel,dye,blu,bor,
bor,gra,dre,yel,yel,yel,yel,yel,yel,yel,yel,yel,lye,yel,blu,bor,
bor,gra,gra,gra,gra,gra,gra,gra,gra,gra,gra,gra,gra,gra,gra,bor,
alp,bor,bor,bor,bor,bor,bor,bor,bor,bor,bor,bor,bor,bor,bor,alp,
};
	
	GFraMe_set_icon(pixels);
}