Ignore:
File:
1 edited

Legend:

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

    r3c54869 r8009dc27  
    11/*
    2  * Copyright (c) 2023 Jiri Svoboda
     2 * Copyright (c) 2020 Jiri Svoboda
    33 * All rights reserved.
    44 *
     
    4040#include <gfx/coord.h>
    4141#include <stdbool.h>
    42 #include <types/ui/pbutton.h>
    4342
    4443/** Actual structure of push button.
     
    5554        /** Callback argument */
    5655        void *arg;
    57         /** Custom decoration ops or @c NULL */
    58         struct ui_pbutton_decor_ops *decor_ops;
    59         /** Decoration argument */
    60         void *decor_arg;
    6156        /** Push button rectangle */
    6257        gfx_rect_t rect;
    6358        /** Caption */
    64         char *caption;
     59        const char *caption;
    6560        /** Button is selected as default */
    6661        bool isdefault;
    67         /** Button light is on */
    68         bool light;
    6962        /** Button is currently held down */
    7063        bool held;
    7164        /** Pointer is currently inside */
    7265        bool inside;
    73         /** Push button flags */
    74         ui_pbutton_flags_t flags;
    7566};
    7667
Note: See TracChangeset for help on using the changeset viewer.