Changeset b769ca0 in mainline for uspace/lib/ui/private/pbutton.h


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

Allow overriding the complete UI push button paint routine.

File:
1 edited

Legend:

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

    r39f67f1 rb769ca0  
    11/*
    2  * Copyright (c) 2023 Jiri Svoboda
     2 * Copyright (c) 2026 Jiri Svoboda
    33 * All rights reserved.
    44 *
     
    5555        /** Callback argument */
    5656        void *arg;
    57         /** Custom decoration ops or @c NULL */
    58         struct ui_pbutton_decor_ops *decor_ops;
    59         /** Decoration argument */
    60         void *decor_arg;
     57        /** Custom ops or @c NULL */
     58        struct ui_pbutton_ops *ops;
     59        /** Ops argument */
     60        void *ops_arg;
    6161        /** Push button rectangle */
    6262        gfx_rect_t rect;
Note: See TracChangeset for help on using the changeset viewer.