add BufferWidget
This commit is contained in:
1 parent
bdf0e1c6bc
commit
7b56e874e3
6 files changed
+24
No files matched your search
@@ -0,0 +1,9 @@
|
||||
#include "BufferWidget.h"
|
||||
#include "ruby.h"
|
||||
|
||||
VALUE ruby_class;
|
||||
|
||||
void BufferWidget_Init()
|
||||
{
|
||||
ruby_class = rb_define_class("BufferWidget", rb_cObject);
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
#ifndef BUFFERWIDGET_H
|
||||
#define BUFFERWIDGET_H
|
||||
|
||||
void BufferWidget_Init();
|
||||
|
||||
#endif
|
||||
@@ -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();
|
||||
|
||||
Reference in new issue
Block a user