Search
lxdream.org :: lxdream/src/gui_none.c
lxdream 0.9.1
released Jun 29
Download Now
filename src/gui_none.c
changeset 1239:be3121267597
author nkeynes
date Tue Feb 28 17:25:26 2012 +1000 (10 years ago)
permissions -rw-r--r--
last change Implement display output for the GLES2 case (no fixed function
rendering)
file annotate diff log raw
nkeynes@1239
     1
/**
nkeynes@1239
     2
 * $Id$
nkeynes@1239
     3
 *
nkeynes@1239
     4
 * Dummy GUI implementation for headless systems.
nkeynes@1239
     5
 *
nkeynes@1239
     6
 * Copyright (c) 2012 Nathan Keynes.
nkeynes@1239
     7
 *
nkeynes@1239
     8
 * This program is free software; you can redistribute it and/or modify
nkeynes@1239
     9
 * it under the terms of the GNU General Public License as published by
nkeynes@1239
    10
 * the Free Software Foundation; either version 2 of the License, or
nkeynes@1239
    11
 * (at your option) any later version.
nkeynes@1239
    12
 *
nkeynes@1239
    13
 * This program is distributed in the hope that it will be useful,
nkeynes@1239
    14
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
nkeynes@1239
    15
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
nkeynes@1239
    16
 * GNU General Public License for more details.
nkeynes@1239
    17
 */
nkeynes@1239
    18
nkeynes@1239
    19
#include "gui.h"
nkeynes@1239
    20
nkeynes@1239
    21
gboolean gui_parse_cmdline( int *argc, char **argv[] )
nkeynes@1239
    22
{
nkeynes@1239
    23
    return TRUE;
nkeynes@1239
    24
}
nkeynes@1239
    25
nkeynes@1239
    26
gboolean gui_init( gboolean debug, gboolean fullscreen )
nkeynes@1239
    27
{
nkeynes@1239
    28
    return TRUE;
nkeynes@1239
    29
}
nkeynes@1239
    30
nkeynes@1239
    31
void gui_main_loop( gboolean run ) {
nkeynes@1239
    32
    if( run ) {
nkeynes@1239
    33
        dreamcast_run();
nkeynes@1239
    34
    }
nkeynes@1239
    35
}
nkeynes@1239
    36
nkeynes@1239
    37
gboolean gui_error_dialog( const char *fmt, ... )
nkeynes@1239
    38
{
nkeynes@1239
    39
    return TRUE;
nkeynes@1239
    40
}
nkeynes@1239
    41
nkeynes@1239
    42
void gui_update_state()
nkeynes@1239
    43
{
nkeynes@1239
    44
}
nkeynes@1239
    45
nkeynes@1239
    46
void gui_set_use_grab( gboolean grab )
nkeynes@1239
    47
{
nkeynes@1239
    48
}
nkeynes@1239
    49
nkeynes@1239
    50
void gui_update_io_activity( io_activity_type activity, gboolean active )
nkeynes@1239
    51
{
nkeynes@1239
    52
}
nkeynes@1239
    53
nkeynes@1239
    54
void gui_do_later( do_later_callback_t func )
nkeynes@1239
    55
{
nkeynes@1239
    56
    func();
nkeynes@1239
    57
}
nkeynes@1239
    58
.