Changeset 7dbf1f6 in mainline for uspace/lib/congfx/src/console.c


Ignore:
Timestamp:
2024-03-07T09:39:22Z (2 months ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
master
Children:
cd27cd1
Parents:
dd19446
git-author:
Jiri Svoboda <jiri@…> (2024-03-06 19:39:05)
git-committer:
Jiri Svoboda <jiri@…> (2024-03-07 09:39:22)
Message:

Render RGB in EGA text mode using eight EGA colors (instead of two)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/congfx/src/console.c

    rdd19446 r7dbf1f6  
    11/*
    2  * Copyright (c) 2021 Jiri Svoboda
     2 * Copyright (c) 2024 Jiri Svoboda
    33 * All rights reserved.
    44 *
     
    9696                ch->flags = CHAR_FLAG_DIRTY;
    9797                ch->attrs.type = CHAR_ATTR_RGB;
    98                 ch->attrs.val.rgb.fgcolor = clr ^ 0xffffff;
     98                ch->attrs.val.rgb.fgcolor = clr;
    9999                ch->attrs.val.rgb.bgcolor = clr;
    100100        } else {
Note: See TracChangeset for help on using the changeset viewer.