mirror of
https://gitea.nishi.boats/pyrite-dev/milsko
synced 2026-01-05 00:50:53 +00:00
working on scrollbar, wip
git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@163 b9cfdab3-6d41-4d17-bbe4-086880011989
This commit is contained in:
45
include/Mw/Widget/OpenGL.h
Normal file
45
include/Mw/Widget/OpenGL.h
Normal file
@@ -0,0 +1,45 @@
|
||||
/* $Id$ */
|
||||
/*!
|
||||
* %file Mw/Widget/OpenGL.h
|
||||
* %brief OpenGL widget
|
||||
*/
|
||||
#ifndef __MW_WIDGET_OPENGL_H__
|
||||
#define __MW_WIDGET_OPENGL_H__
|
||||
|
||||
#include <Mw/MachDep.h>
|
||||
#include <Mw/TypeDefs.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/*!
|
||||
* %brief OpenGL widget class
|
||||
*/
|
||||
MWDECL MwClass MwOpenGLClass;
|
||||
|
||||
/*!
|
||||
* %brief Make a widget current OpenGL context
|
||||
* %param handle Widget
|
||||
*/
|
||||
MWDECL void MwOpenGLMakeCurrent(MwWidget handle);
|
||||
|
||||
/*!
|
||||
* %brief Get a procedure from OpenGL
|
||||
* %param handle Widget
|
||||
* %param name Name
|
||||
* %return Procedure
|
||||
*/
|
||||
MWDECL void* MwOpenGLGetProcAddress(MwWidget handle, const char* name);
|
||||
|
||||
/*!
|
||||
* %brief Swaps the buffer of OpenGL context
|
||||
* %param handle Widget
|
||||
*/
|
||||
MWDECL void MwOpenGLSwapBuffer(MwWidget handle);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user