filename | src/gui_none.c |
changeset | 1239:be3121267597 |
author | nkeynes |
date | Tue Feb 28 17:25:26 2012 +1000 (12 years ago) |
permissions | -rw-r--r-- |
last change | Implement display output for the GLES2 case (no fixed function rendering) |
file | annotate | diff | log | raw |
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +00001.2 +++ b/src/gui_none.c Tue Feb 28 17:25:26 2012 +10001.3 @@ -0,0 +1,58 @@1.4 +/**1.5 + * $Id$1.6 + *1.7 + * Dummy GUI implementation for headless systems.1.8 + *1.9 + * Copyright (c) 2012 Nathan Keynes.1.10 + *1.11 + * This program is free software; you can redistribute it and/or modify1.12 + * it under the terms of the GNU General Public License as published by1.13 + * the Free Software Foundation; either version 2 of the License, or1.14 + * (at your option) any later version.1.15 + *1.16 + * This program is distributed in the hope that it will be useful,1.17 + * but WITHOUT ANY WARRANTY; without even the implied warranty of1.18 + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the1.19 + * GNU General Public License for more details.1.20 + */1.21 +1.22 +#include "gui.h"1.23 +1.24 +gboolean gui_parse_cmdline( int *argc, char **argv[] )1.25 +{1.26 + return TRUE;1.27 +}1.28 +1.29 +gboolean gui_init( gboolean debug, gboolean fullscreen )1.30 +{1.31 + return TRUE;1.32 +}1.33 +1.34 +void gui_main_loop( gboolean run ) {1.35 + if( run ) {1.36 + dreamcast_run();1.37 + }1.38 +}1.39 +1.40 +gboolean gui_error_dialog( const char *fmt, ... )1.41 +{1.42 + return TRUE;1.43 +}1.44 +1.45 +void gui_update_state()1.46 +{1.47 +}1.48 +1.49 +void gui_set_use_grab( gboolean grab )1.50 +{1.51 +}1.52 +1.53 +void gui_update_io_activity( io_activity_type activity, gboolean active )1.54 +{1.55 +}1.56 +1.57 +void gui_do_later( do_later_callback_t func )1.58 +{1.59 + func();1.60 +}1.61 +
.