|
PatchworkOS
|
#include <libpatchwork/patchwork.h>#include <errno.h>#include <stdio.h>#include <stdlib.h>#include <string.h>Go to the source code of this file.
Functions | |
| static uint64_t | procedure (window_t *win, element_t *elem, const event_t *event) |
| int | main (void) |
Variables | |
| static image_t * | image |
| int main | ( | void | ) |
Definition at line 45 of file main.c.
References CLOCKS_NEVER, close(), display_dispatch(), display_free(), display_get_screen(), display_new(), display_next(), display_unsubscribe(), dup2(), ERR, errno, EVENT_KBD, EVENT_MOUSE, EXIT_FAILURE, image, image_free(), image_new(), klog, NULL, open(), printf(), procedure(), STDERR_FILENO, STDOUT_FILENO, strerror(), SURFACE_WALL, theme, theme_global_get(), theme_t::wallpaper, window_free(), window_new(), WINDOW_NONE, and window_set_visible().
Definition at line 10 of file main.c.
References draw_image(), element_draw_begin(), element_draw_end(), element_get_content_rect(), errno, image, image_height(), image_width(), LEVENT_INIT, LEVENT_REDRAW, NULL, printf(), RECT_HEIGHT, RECT_WIDTH, strerror(), event_t::type, point_t::x, and y.