Changeset 55edba0 in mainline for uspace/lib/gui


Ignore:
Timestamp:
2013-06-11T14:20:41Z (12 years ago)
Author:
Vojtech Horky <vojtechhorky@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
f81498d
Parents:
445e7c0
Message:

C style: do not redefine typedefs

Location:
uspace/lib/gui
Files:
3 edited

Legend:

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

    r445e7c0 r55edba0  
    3838
    3939#include <sys/types.h>
    40 
    41 struct widget;
    42 typedef struct widget widget_t;
     40#include "widget.h"
    4341
    4442typedef sysarg_t signal_t;
  • uspace/lib/gui/widget.h

    r445e7c0 r55edba0  
    5151 * any derived widget structure.
    5252 */
    53 typedef struct widget {
     53struct widget {
    5454        link_t link;
    5555        widget_t *parent; /**< Parent widget of this widget. NULL for root widget. */
     
    116116         * also acquire or release mouse grab. */
    117117        void (*handle_position_event)(widget_t *, pos_event_t);
    118 } widget_t;
     118};
    119119
    120120/*
  • uspace/lib/gui/window.h

    r445e7c0 r55edba0  
    4747#include "widget.h"
    4848
    49 typedef struct window {
     49struct window {
    5050        bool is_main; /**< True for the main window of the application. */
    5151        bool is_decorated; /**< True if the window decorations should be rendered. */
     
    6060        fibril_mutex_t guard; /**< Mutex guarding window surface. */
    6161        surface_t *surface; /**< Window surface shared with compositor. */
    62 } window_t;
     62};
    6363
    6464/**
Note: See TracChangeset for help on using the changeset viewer.