BeRTOS
Data Structures | Typedefs | Functions
dwidget.h File Reference

Widget (interface). More...

#include <dt/dnotifier.h>
#include <cfg/compiler.h>

Go to the source code of this file.

Data Structures

struct  DWidget
 Widget definition. More...

Typedefs

typedef uint8_t dpos_t
 Widget position.
typedef iptr_t dcontext_t
 Widget drawing context.

Functions

void widget_init (DWidget *w, dpos_t pos, dpos_t size, dcontext_t *context)
 Init the widget of pos and size on the drawing context.

Detailed Description

Widget (interface).

Author:
Bernie Innocenti <bernie@codewiz.org>
Francesco Sacchi <batt@develer.com>

Definition in file dwidget.h.


Typedef Documentation

typedef iptr_t dcontext_t

Widget drawing context.

Definition at line 49 of file dwidget.h.

typedef uint8_t dpos_t

Widget position.

Definition at line 46 of file dwidget.h.