mirror of
https://gitea.nishi.boats/pyrite-dev/milsko
synced 2025-12-31 06:30:52 +00:00
OpenGL
git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@61 b9cfdab3-6d41-4d17-bbe4-086880011989
This commit is contained in:
@@ -13,5 +13,6 @@
|
||||
|
||||
#include <Mw/Window.h>
|
||||
#include <Mw/Button.h>
|
||||
#include <Mw/OpenGL.h>
|
||||
|
||||
#endif
|
||||
|
||||
21
include/Mw/OpenGL.h
Normal file
21
include/Mw/OpenGL.h
Normal file
@@ -0,0 +1,21 @@
|
||||
/* $Id$ */
|
||||
#ifndef __MW_OPENGL_H__
|
||||
#define __MW_OPENGL_H__
|
||||
|
||||
#include <Mw/MachDep.h>
|
||||
#include <Mw/TypeDefs.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
MWDECL MwClass MwOpenGLClass;
|
||||
|
||||
MWDECL void MwOpenGLMakeCurrent(MwWidget handle);
|
||||
MWDECL void MwOpenGLSwapBuffer(MwWidget handle);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif
|
||||
@@ -63,6 +63,8 @@ struct _MwWidget {
|
||||
int pressed;
|
||||
int close;
|
||||
|
||||
void* internal;
|
||||
|
||||
MwIntegerKeyValue* integer;
|
||||
MwTextKeyValue* text;
|
||||
MwUserHandlerKeyValue* handler;
|
||||
@@ -70,7 +72,6 @@ struct _MwWidget {
|
||||
#endif
|
||||
|
||||
struct _MwClass {
|
||||
void* opaque;
|
||||
MwHandler create;
|
||||
MwHandler destroy;
|
||||
MwHandler draw;
|
||||
|
||||
Reference in New Issue
Block a user