mirror of
https://github.com/nishiowo/nishbox
synced 2025-04-21 12:14:39 +00:00
remove some docs i cannot maintain
This commit is contained in:
parent
b09f7fef4c
commit
ac28ac9154
@ -1,9 +1,3 @@
|
||||
/**
|
||||
* @file
|
||||
* @~english
|
||||
* @brief OpenGL drawing driver
|
||||
*/
|
||||
|
||||
#define GF_EXPOSE_DRAW_DRIVER
|
||||
#define GF_EXPOSE_DRAW
|
||||
#define GF_EXPOSE_TEXTURE
|
||||
|
@ -1,10 +1,3 @@
|
||||
/**
|
||||
* @file
|
||||
* @~english
|
||||
* @brief OpenGL graphic interface
|
||||
*/
|
||||
|
||||
#include <gf_macro.h>
|
||||
#define GF_EXPOSE_DRAW
|
||||
#define GF_EXPOSE_TEXTURE
|
||||
|
||||
|
@ -1,9 +1,3 @@
|
||||
/**
|
||||
* @file
|
||||
* @~english
|
||||
* @brief GLFW-dependent part of drawing driver
|
||||
*/
|
||||
|
||||
#define GF_EXPOSE_DRAW_PLATFORM
|
||||
#define GF_EXPOSE_DRAW
|
||||
|
||||
@ -34,13 +28,6 @@ void gf_draw_platform_begin(void) {
|
||||
|
||||
void gf_draw_platform_end(void) {}
|
||||
|
||||
/**
|
||||
* @~english
|
||||
* @brief GLFW resize handler
|
||||
* @param window GLFW window
|
||||
* @param w Width of window
|
||||
* @param h Height of window
|
||||
*/
|
||||
void gf_glfw_size(GLFWwindow* window, int w, int h) {
|
||||
gf_draw_t* draw = (gf_draw_t*)glfwGetWindowUserPointer(window);
|
||||
draw->width = w;
|
||||
|
@ -1,9 +1,3 @@
|
||||
/**
|
||||
* @file
|
||||
* @~english
|
||||
* @brief GLX-dependent part of drawing driver
|
||||
*/
|
||||
|
||||
#define GF_EXPOSE_DRAW_PLATFORM
|
||||
#define GF_EXPOSE_DRAW
|
||||
|
||||
|
@ -1,9 +1,3 @@
|
||||
/**
|
||||
* @file
|
||||
* @~english
|
||||
* @brief WGL-dependent part of drawing driver
|
||||
*/
|
||||
|
||||
#define GF_EXPOSE_DRAW_PLATFORM
|
||||
#define GF_EXPOSE_DRAW
|
||||
|
||||
@ -32,15 +26,6 @@ typedef BOOL(APIENTRY* PFNWGLSWAPINTERVALPROC)(int);
|
||||
void gf_draw_platform_begin(void) {}
|
||||
void gf_draw_platform_end(void) {}
|
||||
|
||||
/**
|
||||
* @~english
|
||||
* @brief Win32 API event handler
|
||||
* @param hWnd Window
|
||||
* @param msg Message
|
||||
* @param wp Word parameter
|
||||
* @param lp Long parameter
|
||||
* @return Result
|
||||
*/
|
||||
LRESULT CALLBACK gf_draw_platform_proc(HWND hWnd, UINT msg, WPARAM wp, LPARAM lp) {
|
||||
PAINTSTRUCT ps;
|
||||
RECT rect;
|
||||
|
@ -1,9 +1,3 @@
|
||||
/**
|
||||
* @file
|
||||
* @~english
|
||||
* @brief POSIX thread
|
||||
*/
|
||||
|
||||
#define GF_EXPOSE_THREAD
|
||||
|
||||
#include <gf_pre.h>
|
||||
@ -19,12 +13,6 @@
|
||||
/* Standard */
|
||||
#include <stdlib.h>
|
||||
|
||||
/**
|
||||
* @~english
|
||||
* @brief Wrap thread
|
||||
* @param arg Thread context
|
||||
* @return NULL
|
||||
*/
|
||||
void* gf_wrap_thread(void* arg) {
|
||||
gf_thread_context_t* ctx = (gf_thread_context_t*)arg;
|
||||
ctx->func(ctx->data);
|
||||
|
@ -1,9 +1,3 @@
|
||||
/**
|
||||
* @file
|
||||
* @~english
|
||||
* @brief Win32 thread
|
||||
*/
|
||||
|
||||
#define GF_EXPOSE_THREAD
|
||||
|
||||
#include <gf_pre.h>
|
||||
@ -19,12 +13,6 @@
|
||||
/* Standard */
|
||||
#include <stdlib.h>
|
||||
|
||||
/**
|
||||
* @~english
|
||||
* @brief Wrap thread
|
||||
* @param arg Thread context
|
||||
* @return 0
|
||||
*/
|
||||
DWORD WINAPI gf_wrap_thread(void* arg) {
|
||||
gf_thread_context_t* ctx = (gf_thread_context_t*)arg;
|
||||
ctx->func(ctx->data);
|
||||
|
Loading…
x
Reference in New Issue
Block a user