Changeset 7c3fb9b in mainline for uspace/lib/gui/widget.h


Ignore:
Timestamp:
2018-05-17T08:29:01Z (6 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
6ff23ff
Parents:
fac0ac7
git-author:
Jiri Svoboda <jiri@…> (2018-05-16 17:28:17)
git-committer:
Jiri Svoboda <jiri@…> (2018-05-17 08:29:01)
Message:

Fix block comment formatting (ccheck).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/gui/widget.h

    rfac0ac7 r7c3fb9b  
    7272         * Virtual destructor. Apart from deallocating the resources specific for
    7373         * the particular widget, each widget shall remove itself from parents
    74          * children and deallocate itself. */
     74         * children and deallocate itself.
     75         */
    7576        void (*destroy)(widget_t *);
    7677
     
    8283         * to be changed. If not, widget shall calculate new layout for its children
    8384         * and call rearrange() on each of them. Otherwise, widget shall change its
    84          * own properties and call reconfigure() on its parent. */
     85         * own properties and call reconfigure() on its parent.
     86         */
    8587        void (*reconfigure)(widget_t *);
    8688
     
    9092         * position and size according to provided arguments, paint itself,
    9193         * calculate new layout for its children and call rearrange() on each
    92          * of them. */
     94         * of them.
     95         */
    9396        void (*rearrange)(widget_t *, sysarg_t, sysarg_t, sysarg_t, sysarg_t);
    9497
     
    97100         * in top-bottom order and repaint() is called on each widget. Widget shall
    98101         * either paint itself or copy its private buffer onto window surface.
    99          * Widget shall also post damage event into window event loop. */
     102         * Widget shall also post damage event into window event loop.
     103         */
    100104        void (*repaint)(widget_t *);
    101105
     
    104108         * reaction to the event, widget might call reconfigure() on its parent or
    105109         * rearrange() on its children. If the widget wants to change its visual
    106          * information, refresh event should be posted to the window event loop. */
     110         * information, refresh event should be posted to the window event loop.
     111         */
    107112        void (*handle_keyboard_event)(widget_t *, kbd_event_t);
    108113
     
    114119         * should be posted to the window event loop. If the widget accepts
    115120         * keyboard events, it should take ownership of keyboard focus. Widget can
    116          * also acquire or release mouse grab. */
     121         * also acquire or release mouse grab.
     122         */
    117123        void (*handle_position_event)(widget_t *, pos_event_t);
    118124};
Note: See TracChangeset for help on using the changeset viewer.