Changeset 50a16d9 in mainline for uspace/lib/ui/src/resource.c


Ignore:
Timestamp:
2022-09-26T11:58:09Z (2 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
master, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
3fd38b2
Parents:
2139676
git-author:
Jiri Svoboda <jiri@…> (2022-09-24 23:57:50)
git-committer:
Jiri Svoboda <jiri@…> (2022-09-26 11:58:09)
Message:

Add simple digital clock display to task bar

File:
1 edited

Legend:

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

    r2139676 r50a16d9  
    677677}
    678678
     679/** Get the UI window face color.
     680 *
     681 * @param resource UI resource
     682 * @return UI window face color
     683 */
     684gfx_color_t *ui_resource_get_wnd_face_color(ui_resource_t *resource)
     685{
     686        return resource->wnd_face_color;
     687}
     688
     689/** Get the UI window text color.
     690 *
     691 * @param resource UI resource
     692 * @return UI window text color
     693 */
     694gfx_color_t *ui_resource_get_wnd_text_color(ui_resource_t *resource)
     695{
     696        return resource->wnd_text_color;
     697}
     698
    679699/** @}
    680700 */
Note: See TracChangeset for help on using the changeset viewer.