Changeset b769ca0 in mainline for uspace/lib/ui/include/types


Ignore:
Timestamp:
2026-02-19T00:01:36Z (4 weeks ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
master
Children:
08fcaf2
Parents:
39f67f1
Message:

Allow overriding the complete UI push button paint routine.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/ui/include/types/ui/pbutton.h

    r39f67f1 rb769ca0  
    11/*
    2  * Copyright (c) 2022 Jiri Svoboda
     2 * Copyright (c) 2026 Jiri Svoboda
    33 * All rights reserved.
    44 *
     
    5656} ui_pbutton_cb_t;
    5757
    58 /** Push button decoration ops */
    59 typedef struct ui_pbutton_decor_ops {
    60         errno_t (*paint)(ui_pbutton_t *, void *, gfx_coord2_t *);
    61 } ui_pbutton_decor_ops_t;
     58/** Push button ops */
     59typedef struct ui_pbutton_ops {
     60        errno_t (*decor_paint)(ui_pbutton_t *, void *, gfx_coord2_t *);
     61        errno_t (*paint)(ui_pbutton_t *, void *);
     62} ui_pbutton_ops_t;
    6263
    6364#endif
Note: See TracChangeset for help on using the changeset viewer.