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


Ignore:
Timestamp:
2019-10-21T00:08:24Z (5 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
1822545
Parents:
e0545de
Message:

Implement bitmaps in console GC

File:
1 edited

Legend:

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

    re0545de rd18f3b7  
    4040#include <gfx/context.h>
    4141#include <io/console.h>
     42#include <io/pixel.h>
    4243#include <stdio.h>
    4344
     
    5354        /** File for printing characters */
    5455        FILE *fout;
     56        /** Current drawing color */
     57        pixel_t clr;
    5558};
     59
     60/** Bitmap in console GC */
     61typedef struct {
     62        /** Containing console GC */
     63        struct console_gc *cgc;
     64        /** Allocation info */
     65        gfx_bitmap_alloc_t alloc;
     66        /** @c true if we allocated the bitmap, @c false if allocated by caller */
     67        bool myalloc;
     68        /** Rectangle covered by bitmap */
     69        gfx_rect_t rect;
     70} console_gc_bitmap_t;
    5671
    5772#endif
Note: See TracChangeset for help on using the changeset viewer.