forked from pyrite-dev/milsko
remove old document
git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@499 b9cfdab3-6d41-4d17-bbe4-086880011989
This commit is contained in:
parent
1a563ff6c8
commit
603997c082
43 changed files with 499 additions and 4580 deletions
|
|
@ -1,7 +1,7 @@
|
|||
/* $Id$ */
|
||||
/*!
|
||||
* %file Mw/Widget/OpenGL.h
|
||||
* %brief OpenGL widget
|
||||
* @file Mw/Widget/OpenGL.h
|
||||
* @brief OpenGL widget
|
||||
*/
|
||||
#ifndef __MW_WIDGET_OPENGL_H__
|
||||
#define __MW_WIDGET_OPENGL_H__
|
||||
|
|
@ -26,23 +26,23 @@ extern "C" {
|
|||
#endif
|
||||
|
||||
/*!
|
||||
* %brief OpenGL widget class
|
||||
* @brief OpenGL widget class
|
||||
*/
|
||||
MWDECL MwClass MwOpenGLClass;
|
||||
|
||||
/*!
|
||||
* %brief Make a widget current OpenGL context
|
||||
* %param handle Widget
|
||||
* @brief Make a widget current OpenGL context
|
||||
* @param handle Widget
|
||||
*/
|
||||
MwInline void MwOpenGLMakeCurrent(MwWidget handle) {
|
||||
MwVaWidgetExecute(handle, "mwOpenGLMakeCurrent", NULL);
|
||||
};
|
||||
|
||||
/*!
|
||||
* %brief Get a procedure from OpenGL
|
||||
* %param handle Widget
|
||||
* %param name Name
|
||||
* %return Procedure
|
||||
* @brief Get a procedure from OpenGL
|
||||
* @param handle Widget
|
||||
* @param name Name
|
||||
* @return Procedure
|
||||
*/
|
||||
MwInline void* MwOpenGLGetProcAddress(MwWidget handle, const char* name) {
|
||||
void* out;
|
||||
|
|
@ -51,8 +51,8 @@ MwInline void* MwOpenGLGetProcAddress(MwWidget handle, const char* name) {
|
|||
};
|
||||
|
||||
/*!
|
||||
* %brief Swaps the buffer of OpenGL context
|
||||
* %param handle Widget
|
||||
* @brief Swaps the buffer of OpenGL context
|
||||
* @param handle Widget
|
||||
*/
|
||||
MwInline void MwOpenGLSwapBuffer(MwWidget handle) {
|
||||
MwVaWidgetExecute(handle, "mwOpenGLSwapBuffer", NULL);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue