Ignore:
File:
1 edited

Legend:

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

    r8009dc27 r3c54869  
    11/*
    2  * Copyright (c) 2020 Jiri Svoboda
     2 * Copyright (c) 2023 Jiri Svoboda
    33 * All rights reserved.
    44 *
     
    4040#include <gfx/coord.h>
    4141#include <stdbool.h>
     42#include <types/ui/pbutton.h>
    4243
    4344/** Actual structure of push button.
     
    5455        /** Callback argument */
    5556        void *arg;
     57        /** Custom decoration ops or @c NULL */
     58        struct ui_pbutton_decor_ops *decor_ops;
     59        /** Decoration argument */
     60        void *decor_arg;
    5661        /** Push button rectangle */
    5762        gfx_rect_t rect;
    5863        /** Caption */
    59         const char *caption;
     64        char *caption;
    6065        /** Button is selected as default */
    6166        bool isdefault;
     67        /** Button light is on */
     68        bool light;
    6269        /** Button is currently held down */
    6370        bool held;
    6471        /** Pointer is currently inside */
    6572        bool inside;
     73        /** Push button flags */
     74        ui_pbutton_flags_t flags;
    6675};
    6776
Note: See TracChangeset for help on using the changeset viewer.