Changeset de9992c in mainline for uspace/lib/ui/private/resource.h


Ignore:
Timestamp:
2020-10-16T23:34:55Z (5 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
1769693
Parents:
8ef48ece
git-author:
Jiri Svoboda <jiri@…> (2020-10-16 23:31:37)
git-committer:
Jiri Svoboda <jiri@…> (2020-10-16 23:34:55)
Message:

Factor out bevel drawing, store button colors in ui_resource_t

File:
1 edited

Legend:

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

    r8ef48ece rde9992c  
    3838#define _UI_PRIVATE_RESOURCE_H
    3939
     40#include <gfx/color.h>
    4041#include <gfx/context.h>
    4142#include <gfx/font.h>
     
    5354        /** Font */
    5455        gfx_font_t *font;
     56
     57        /** Button frame color */
     58        gfx_color_t *btn_frame_color;
     59        /** Button face color */
     60        gfx_color_t *btn_face_color;
     61        /** Button text color */
     62        gfx_color_t *btn_text_color;
     63        /** Button highlight color */
     64        gfx_color_t *btn_highlight_color;
     65        /** Button shadow color */
     66        gfx_color_t *btn_shadow_color;
    5567};
    5668
Note: See TracChangeset for help on using the changeset viewer.