Files
Upsilon/ion/include/ion.h
Felix Raimundo fd95a7e558 Adds a text_input function to get text.
Also removes ion_getchar in favor of ion_get_event.

Change-Id: Id95ea509315185da24fd2a3fe90969da0bd19cfc
2016-03-23 17:31:59 +01:00

25 lines
622 B
C

#ifndef ION_ION_H
#define ION_ION_H
#include <ion/events.h>
#include <ion/framebuffer.h>
#include <ion/keyboard.h>
/* ION is not your regular library. It is a library you link against, but it
* will take care of configuring the whole environment for you. In POSIX terms,
* ION will implement the "main" function.
* Don't worry though, once all its initialization will be performed, ION will
* jump to your code at ion_app, which you have to implement yourself. */
void ion_app();
void ion_display_on();
void ion_display_off();
void ion_sleep();
/* CAUTION: This is a complete reset! */
void ion_reset();
#endif