Changeset be869b0 in mainline for uspace/lib/ui


Ignore:
Timestamp:
2021-09-23T08:24:23Z (4 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
e2ca44f
Parents:
f2d6d44e
git-author:
Jiri Svoboda <jiri@…> (2021-09-22 17:24:15)
git-committer:
Jiri Svoboda <jiri@…> (2021-09-23 08:24:23)
Message:

Basic rendering of pane text

Location:
uspace/lib/ui
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/ui/include/ui/resource.h

    rf2d6d44e rbe869b0  
    3939#include <errno.h>
    4040#include <gfx/context.h>
     41#include <gfx/font.h>
    4142#include <stdbool.h>
    4243#include <types/ui/resource.h>
     
    4748    void *);
    4849extern void ui_resource_expose(ui_resource_t *);
     50extern gfx_font_t *ui_resource_get_font(ui_resource_t *);
    4951
    5052#endif
  • uspace/lib/ui/src/resource.c

    rf2d6d44e rbe869b0  
    594594}
    595595
     596/** Get the UI font.
     597 *
     598 * @param resource UI resource
     599 * @return UI font
     600 */
     601gfx_font_t *ui_resource_get_font(ui_resource_t *resource)
     602{
     603        return resource->font;
     604}
     605
    596606/** @}
    597607 */
Note: See TracChangeset for help on using the changeset viewer.