add BufferWidget

This commit is contained in:
josh committed 2014-08-14 21:22:54 -04:00
1 parent bdf0e1c6bc
commit 7b56e874e3
6 files changed
+24

No files matched your search

+9
View File
@@ -0,0 +1,9 @@
#include "BufferWidget.h"
#include "ruby.h"
VALUE ruby_class;
void BufferWidget_Init()
{
ruby_class = rb_define_class("BufferWidget", rb_cObject);
}
+6
View File
@@ -0,0 +1,6 @@
#ifndef BUFFERWIDGET_H
#define BUFFERWIDGET_H
void BufferWidget_Init();
#endif
+2
View File
@@ -2,6 +2,7 @@
#include "ruby.h"
#include "Buffer.h"
#include "BufferWidget.h"
#include "Font.h"
#include "GL.h"
#include "GLProgram.h"
@@ -56,6 +57,7 @@ static int bootstrap()
int err_state = 0;
Buffer_Init();
BufferWidget_Init();
Font_Init();
GL_Init();
GLProgram_Init();