132001f49Smrg#ifndef EGLCOMMON_H 232001f49Smrg#define EGLCOMMON_H 332001f49Smrg 432001f49Smrgtypedef void (*init_func)(void); 532001f49Smrgtypedef void (*reshape_func)(int, int); 632001f49Smrgtypedef void (*draw_func)(void); 732001f49Smrgtypedef int (*key_func)(unsigned key); 832001f49Smrg 932001f49Smrg 1032001f49Smrgvoid set_window_alpha_size(int size); 1132001f49Smrgvoid set_window_size(int width, int height); 1232001f49Smrgint window_width(void); 1332001f49Smrgint window_height(void); 1432001f49Smrg 1532001f49Smrgint run(int argc, char **argv, 1632001f49Smrg init_func init, 1732001f49Smrg reshape_func resh, 1832001f49Smrg draw_func draw, 1932001f49Smrg key_func key); 2032001f49Smrg 2132001f49Smrg#endif 22