|
PatchworkOS
c9fea19
A non-POSIX operating system.
|
#include <libpatchwork/cmd.h>#include <libpatchwork/pixel.h>#include <libpatchwork/point.h>#include <libpatchwork/rect.h>#include <libpatchwork/surface.h>#include <sys/io.h>#include <sys/list.h>Go to the source code of this file.
Data Structures | |
| struct | timer_t |
| struct | surface_t |
Macros | |
| #define | SURFACE_SCREEN_RECT(surface) RECT_INIT_DIM(surface->pos.x, surface->pos.y, surface->width, surface->height) |
| #define | SURFACE_CONTENT_RECT(surface) RECT_INIT_DIM(0, 0, surface->width, surface->height) |
Typedefs | |
| typedef struct client | client_t |
Functions | |
| surface_t * | surface_new (client_t *client, const char *name, const point_t *point, uint64_t width, uint64_t height, surface_type_t type) |
| void | surface_free (surface_t *surface) |
| void | surface_get_info (surface_t *surface, surface_info_t *info) |
| #define SURFACE_SCREEN_RECT | ( | surface | ) | RECT_INIT_DIM(surface->pos.x, surface->pos.y, surface->width, surface->height) |
| #define SURFACE_CONTENT_RECT | ( | surface | ) | RECT_INIT_DIM(0, 0, surface->width, surface->height) |
| void surface_free | ( | surface_t * | surface | ) |
| void surface_get_info | ( | surface_t * | surface, |
| surface_info_t * | info | ||
| ) |