Mercurial > repos > simple16
view src/system.h @ 16:ae58e7c3c328
Poll events regularly to avoid unresponsive app warnings. Handle quit event
author | Michael Pavone <pavone@retrodev.com> |
---|---|
date | Sun, 27 Mar 2016 21:42:10 -0700 |
parents | c8a0dbd7752c |
children | 4c9dbfa30a66 |
line wrap: on
line source
#ifndef SYSTEM_H_ #define SYSTEM_H_ int system_init(int width, int height); uint16_t *system_get_framebuffer(int *pitch); void system_framebuffer_updated(); void system_poll_events(); #endif //SYSTEM_H_