Lines Matching defs:cur
649 var cur = [];
652 cur.push16le = function (num) {
655 cur.push32le = function (num) {
667 cur.push16le(0); // 0: Reserved
668 cur.push16le(2); // 2: .CUR type
669 cur.push16le(1); // 4: Number of images, 1 for non-animated ico
672 cur.push(w); // 6: width
673 cur.push(h); // 7: height
674 cur.push(0); // 8: colors, 0 -> true-color
675 cur.push(0); // 9: reserved
676 cur.push16le(hotx); // 10: hotspot x coordinate
677 cur.push16le(hoty); // 12: hotspot y coordinate
678 cur.push32le(IHDRsz + RGBsz + XORsz + ANDsz);
680 cur.push32le(22); // 18: offset of cursor data in the file
683 cur.push32le(IHDRsz); // 22: InfoHeader size
684 cur.push32le(w); // 26: Cursor width
685 cur.push32le(h * 2); // 30: XOR+AND height
686 cur.push16le(1); // 34: number of planes
687 cur.push16le(32); // 36: bits per pixel
688 cur.push32le(0); // 38: Type of compression
690 cur.push32le(XORsz + ANDsz);
692 cur.push32le(0); // 46: reserved
693 cur.push32le(0); // 50: reserved
694 cur.push32le(0); // 54: reserved
695 cur.push32le(0); // 58: reserved
702 cur.push(0); // blue
703 cur.push(0); // green
704 cur.push(0); // red
705 cur.push(0); // alpha
712 cur.push(rgb[2]); // blue
713 cur.push(rgb[1]); // green
714 cur.push(rgb[0]); // red
715 cur.push(alpha); // alpha
725 cur.push(0);
733 cur.push(0);
737 var url = 'data:image/x-icon;base64,' + Base64.encode(cur);