Subversion Repositories eduke32

Rev

Rev 4541 | Rev 4773 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 4541 Rev 4770
Line 18... Line 18...
18
along with this program; if not, write to the Free Software
18
along with this program; if not, write to the Free Software
19
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
19
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
20
*/
20
*/
21
//-------------------------------------------------------------------------
21
//-------------------------------------------------------------------------
22
22
-
 
23
#include "gtkpixdata.h"
-
 
24
23
#if defined(LINKED_GTK)
25
#if defined(LINKED_GTK)
24
#include <gtk/gtk.h>
26
#include <gtk/gtk.h>
25
#include <gdk-pixbuf/gdk-pixdata.h>
27
#include <gdk-pixbuf/gdk-pixdata.h>
26
#else
28
#else
27
#include "dynamicgtk.h"
29
#include "dynamicgtk.h"
Line 255... Line 257...
255
    return TRUE;        // FALSE would let the event go through. we want the game to decide when to close
257
    return TRUE;        // FALSE would let the event go through. we want the game to decide when to close
256
}
258
}
257
259
258
260
259
// -- SUPPORT FUNCTIONS -------------------------------------------------------
261
// -- SUPPORT FUNCTIONS -------------------------------------------------------
260
extern const GdkPixdata startbanner_pixdata;
-
 
261
262
262
static GdkPixbuf *load_banner(void)
263
static GdkPixbuf *load_banner(void)
263
{
264
{
264
    extern const GdkPixdata startbanner_pixdata;
-
 
265
    return gdk_pixbuf_from_pixdata(&startbanner_pixdata, FALSE, NULL);
265
    return gdk_pixbuf_from_pixdata((GdkPixdata*)&startbanner_pixdata, FALSE, NULL);
266
}
266
}
267
267
268
static void SetPage(int32_t n)
268
static void SetPage(int32_t n)
269
{
269
{
270
    if (!gtkenabled || !stwidgets.startwin) return;
270
    if (!gtkenabled || !stwidgets.startwin) return;