Changeset 52214a2 in mainline for uspace/lib/ui/src/resource.c


Ignore:
Timestamp:
2022-06-20T13:28:07Z (2 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
master, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
bbb7ffe
Parents:
54ddb59
git-author:
Jiri Svoboda <jiri@…> (2022-06-19 18:27:57)
git-committer:
Jiri Svoboda <jiri@…> (2022-06-20 13:28:07)
Message:

Tweak entry color in text mode for better consistence

Bye bye, Borland blues!

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/ui/src/resource.c

    r54ddb59 r52214a2  
    451451                goto error;
    452452
    453         rc = gfx_color_new_ega(0x1b, &entry_fg_color);
    454         if (rc != EOK)
    455                 goto error;
    456 
    457         rc = gfx_color_new_ega(0x1b, &entry_bg_color);
    458         if (rc != EOK)
    459                 goto error;
    460 
    461         rc = gfx_color_new_ega(0x20, &entry_sel_text_fg_color);
    462         if (rc != EOK)
    463                 goto error;
    464 
    465         rc = gfx_color_new_ega(0x20, &entry_sel_text_bg_color);
     453        rc = gfx_color_new_ega(0x07, &entry_fg_color);
     454        if (rc != EOK)
     455                goto error;
     456
     457        rc = gfx_color_new_ega(0x07, &entry_bg_color);
     458        if (rc != EOK)
     459                goto error;
     460
     461        rc = gfx_color_new_ega(0x1e, &entry_sel_text_fg_color);
     462        if (rc != EOK)
     463                goto error;
     464
     465        rc = gfx_color_new_ega(0x1e, &entry_sel_text_bg_color);
    466466        if (rc != EOK)
    467467                goto error;
Note: See TracChangeset for help on using the changeset viewer.