Annotation of researchv9/jerq/src/lib/layer/lbox.c, revision 1.1

1.1     ! root        1: #include <jerq.h>
        !             2: #include "layer.h"
        !             3: #define        INSET   3
        !             4: Lbox(l)
        !             5:        register Layer *l;
        !             6: {
        !             7:        cursinhibit();
        !             8:        lrectf(l, l->rect, F_CLR);
        !             9:        cursallow();
        !            10:        border(l, l->rect, INSET, F_XOR);
        !            11: }
        !            12: Lgrey(l)
        !            13:        Layer *l;
        !            14: {
        !            15:        static Texture greymap={
        !            16:                0x1111, 0x4444, 0x1111, 0x4444, 0x1111, 0x4444, 0x1111, 0x4444,
        !            17:                0x1111, 0x4444, 0x1111, 0x4444, 0x1111, 0x4444, 0x1111, 0x4444,
        !            18:        };
        !            19:        cursinhibit();
        !            20:        ltexture(l, l->rect, &greymap, F_STORE);
        !            21:        cursallow();
        !            22: }

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.