Changeset bea947f in mainline for uspace/lib/congfx/private/console.h


Ignore:
Timestamp:
2020-05-24T17:59:02Z (4 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
b3b00b6
Parents:
ef20a91
Message:

Implement bitmap color key to allow transparent cursor background

This seems to be the simplest solution of them all. It will work
on any bit depth except 1 bit per pixel (monochrome), where we would
need to extend the bitmap with a bit mask instead.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/congfx/private/console.h

    ref20a91 rbea947f  
    5252        /** Console control structure */
    5353        console_ctrl_t *con;
     54        /** Console bounding rectangle */
     55        gfx_rect_t rect;
    5456        /** File for printing characters */
    5557        FILE *fout;
     
    6870        /** Rectangle covered by bitmap */
    6971        gfx_rect_t rect;
     72        /** Bitmap flags */
     73        gfx_bitmap_flags_t flags;
     74        /** Key color */
     75        pixel_t key_color;
    7076} console_gc_bitmap_t;
    7177
Note: See TracChangeset for help on using the changeset viewer.