|
PatchworkOS
|
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 30 of file main.c.
References CLOCKS_NEVER, close(), theme_t::cursorArrow, display_dispatch(), display_free(), display_get_screen(), display_new(), display_next(), dup2(), ERR, EXIT_FAILURE, image, image_free(), image_height(), image_new(), image_width(), klog, NULL, open(), printf(), procedure(), RECT_HEIGHT, RECT_INIT_DIM, RECT_WIDTH, screenRect, STDERR_FILENO, STDOUT_FILENO, SURFACE_CURSOR, theme, theme_global_get(), window_free(), window_new(), WINDOW_NONE, and window_set_visible().
Definition at line 7 of file main.c.
References draw_image(), element_draw_begin(), element_draw_end(), element_get_content_rect(), image, LEVENT_REDRAW, and event_t::type.
|
static |
Definition at line 5 of file main.c.
Referenced by display_free(), draw_image(), draw_image_blend(), element_set_image(), image_draw(), image_free(), image_height(), image_new(), image_new_blank(), image_rect(), image_width(), main(), and procedure().