• src/conio/bitmap_con.c bitmap_con.h ciolib.c ciolib.h

    From deuce@1:103/705 to CVS commit on Thu Feb 1 19:58:56 2018
    src/conio bitmap_con.c 1.64 1.65 bitmap_con.h 1.12 1.13 ciolib.c 1.144 1.145 ciolib.h 1.81 1.82
    Update of /cvsroot/sbbs/src/conio
    In directory cvs:/tmp/cvs-serv30410

    Modified Files:
    bitmap_con.c bitmap_con.h ciolib.c ciolib.h
    Log Message:
    Add setpixel(x, y, colour) function.


    --- SBBSecho 3.03-Win32
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From deuce@1:103/705 to CVS commit on Fri Feb 2 14:20:52 2018
    src/conio bitmap_con.c 1.72 1.73 bitmap_con.h 1.14 1.15 ciolib.c 1.145 1.146 ciolib.h 1.82 1.83
    Update of /cvsroot/sbbs/src/conio
    In directory cvs:/tmp/cvs-serv323

    Modified Files:
    bitmap_con.c bitmap_con.h ciolib.c ciolib.h
    Log Message:
    Add new functions:

    struct ciolib_pixels *getpixels(sx, sy, ex, ey)
    Returns and allocated array of pixels suitable for use by setpixels()
    Must be freed using freepixels()

    freepixles(struct ciolib_pixels *)
    Frees a struct ciolib_pixels returned by getpixels()

    setpixels(sx, sy, ex, ey, x_off, y_off, pixels)
    Draws the pixels on the screen. x/y_off are an offset in the pixel array

    struct ciolib_screen *savescreen()
    Saves the entire current screen state.

    freescreen(a)
    Frees a value returned by savescreen()

    restorescreen(a)
    Restores the entire screen state

    This allows SyncTERM to not crap all over Sixel graphics.



    --- SBBSecho 3.03-Win32
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)