nuclear@4: /* nuclear@4: Cubemapper - a program for converting panoramic images into cubemaps nuclear@4: Copyright (C) 2017 John Tsiombikas nuclear@4: nuclear@4: This program is free software: you can redistribute it and/or modify nuclear@4: it under the terms of the GNU General Public License as published by nuclear@4: the Free Software Foundation, either version 3 of the License, or nuclear@4: (at your option) any later version. nuclear@4: nuclear@4: This program is distributed in the hope that it will be useful, nuclear@4: but WITHOUT ANY WARRANTY; without even the implied warranty of nuclear@4: MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the nuclear@4: GNU General Public License for more details. nuclear@4: nuclear@4: You should have received a copy of the GNU General Public License nuclear@4: along with this program. If not, see . nuclear@4: */ nuclear@0: #ifndef APP_H_ nuclear@0: #define APP_H_ nuclear@0: nuclear@0: bool app_init(int argc, char **argv); nuclear@0: void app_cleanup(); nuclear@0: nuclear@0: void app_draw(); nuclear@0: nuclear@0: void app_reshape(int x, int y); nuclear@0: void app_keyboard(int key, bool press); nuclear@0: void app_mouse_button(int bn, bool press, int x, int y); nuclear@0: void app_mouse_motion(int x, int y); nuclear@0: nuclear@0: // functions implemented in main.cc nuclear@0: void app_quit(); nuclear@0: void app_redisplay(); nuclear@0: void app_swap_buffers(); nuclear@1: void app_resize(int x, int y); nuclear@2: void app_print_text(int x, int y, const char *str); nuclear@0: nuclear@0: #endif // APP_H_