Ignore:
File:
1 edited

Legend:

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

    ref4d684 r03145ee  
    11/*
    2  * Copyright (c) 2023 Jiri Svoboda
     2 * Copyright (c) 2020 Jiri Svoboda
    33 * All rights reserved.
    44 *
     
    4242#include <gfx/font.h>
    4343#include <gfx/typeface.h>
    44 #include <stdbool.h>
    45 #include <types/ui/resource.h>
    4644
    4745/** Actual structure of UI resources.
     
    5654        /** Font */
    5755        gfx_font_t *font;
    58         /** Text mode */
    59         bool textmode;
    60 
    61         /** UI background color */
    62         gfx_color_t *ui_bg_color;
    6356
    6457        /** Button frame color */
     
    6659        /** Button face color */
    6760        gfx_color_t *btn_face_color;
    68         /** Lit button face color */
    69         gfx_color_t *btn_face_lit_color;
    7061        /** Button text color */
    7162        gfx_color_t *btn_text_color;
     
    7970        /** Window text color */
    8071        gfx_color_t *wnd_text_color;
    81         /** Disabled text color */
    82         gfx_color_t *wnd_dis_text_color;
    83         /** Window text highlight color */
    84         gfx_color_t *wnd_text_hgl_color;
    85         /** Window selected text color */
    86         gfx_color_t *wnd_sel_text_color;
    87         /** Window selected text highlight color */
    88         gfx_color_t *wnd_sel_text_hgl_color;
    89         /** Window selected text background color */
    90         gfx_color_t *wnd_sel_text_bg_color;
    9172        /** Window frame hightlight color */
    9273        gfx_color_t *wnd_frame_hi_color;
     
    11192        /** Entry (text entry, checkbox, raido button) background color */
    11293        gfx_color_t *entry_bg_color;
    113         /** Entry (text entry, checkbox, raido button) active background color */
    114         gfx_color_t *entry_act_bg_color;
    115         /** Entry selected text foreground color */
    116         gfx_color_t *entry_sel_text_fg_color;
    117         /** Entry selected text background color */
    118         gfx_color_t *entry_sel_text_bg_color;
    119 
    120         /** Scrollbar trough color */
    121         gfx_color_t *sbar_trough_color;
    122         /** Scrollbar active trough color */
    123         gfx_color_t *sbar_act_trough_color;
    124 
    125         /** Expose callback or @c NULL */
    126         ui_expose_cb_t expose_cb;
    127         /** Expose callback argument */
    128         void *expose_arg;
    12994};
    13095
Note: See TracChangeset for help on using the changeset viewer.