/*
- * $Id: rb_ecore_evas_main.c 71 2004-08-16 18:08:48Z tilman $
- *
- * Copyright (C) 2004 Tilman Sauerbeck (tilman at code-monkey de)
+ * Copyright (C) 2004-2005 ruby-ecore team (see AUTHORS)
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
#include "rb_ecore_evas.h"
#include "rb_software_x11.h"
#include "rb_gl_x11.h"
+#include "rb_xrender_x11.h"
#include "rb_fb.h"
+#include "rb_buffer.h"
void Init_ecore_evas (void)
{
+ VALUE m;
+
rb_require ("ecore");
rb_require ("evas");
+ rb_require ("ecore_x");
+
+ m = rb_const_get (mEcore, rb_intern ("X"));
+ cWindow = rb_const_get (m, rb_intern ("Window"));
+
mEvas = rb_define_module_under (mEcore, "Evas");
Init_EcoreEvas ();
Init_SoftwareX11 ();
Init_GlX11 ();
+ Init_XRenderX11 ();
Init_Fb ();
+ Init_Buffer ();
}