#include <X11/Xlib.h>#include <GL/glx.h>#include <string.h>#include "ogl_init.h"#include "vers_id.h"#include "error.h"#include "event.h"#include "mono.h"#include "u_mem.h"#include <X11/Xatom.h>Classes | |
| struct | PropMotifWmHints |
Defines | |
| #define | MWM_HINTS_FUNCTIONS (1L << 0) |
| #define | MWM_HINTS_DECORATIONS (1L << 1) |
| #define | MWM_HINTS_INPUT_MODE (1L << 2) |
| #define | MWM_HINTS_STATUS (1L << 3) |
| #define | MWM_FUNC_ALL (1L << 0) |
| #define | MWM_FUNC_RESIZE (1L << 1) |
| #define | MWM_FUNC_MOVE (1L << 2) |
| #define | MWM_FUNC_MINIMIZE (1L << 3) |
| #define | MWM_FUNC_MAXIMIZE (1L << 4) |
| #define | MWM_FUNC_CLOSE (1L << 5) |
| #define | MWM_DECOR_ALL (1L << 0) |
| #define | MWM_DECOR_BORDER (1L << 1) |
| #define | MWM_DECOR_RESIZEH (1L << 2) |
| #define | MWM_DECOR_TITLE (1L << 3) |
| #define | MWM_DECOR_MENU (1L << 4) |
| #define | MWM_DECOR_MINIMIZE (1L << 5) |
| #define | MWM_DECOR_MAXIMIZE (1L << 6) |
| #define | PROP_MOTIF_WM_HINTS_ELEMENTS 5 |
Functions | |
| void | set_mwm_border (Display *dpy, Window w, unsigned long dflags, unsigned long fflags) |
| void | set_wm_hints (int fullscreen) |
| void | ogl_do_fullscreen_internal (void) |
| void | ogl_swap_buffers_internal (void) |
| int | ogl_init_window (int x, int y) |
| void | ogl_destroy_window (void) |
| void | ogl_init (void) |
| void | ogl_close (void) |
Variables | |
| int | glx_erbase |
| int | glx_evbase |
| Display * | dpy |
| XSetWindowAttributes | swa |
| Window | win |
| XVisualInfo * | visinfo |
| GLXContext | glxcontext |
| Pixmap | blankpixmap = None |
| Cursor | blankcursor = None |
| static int | attribs [] |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
||||||||||||
|
|
|
|
|
|
||||||||||||||||||||
|
|
|
|
|
|
|
Initial value: {GLX_RGBA,GLX_DOUBLEBUFFER,GLX_DEPTH_SIZE,0,GLX_STENCIL_SIZE,0,
GLX_ACCUM_RED_SIZE,0,GLX_ACCUM_GREEN_SIZE,0,GLX_ACCUM_BLUE_SIZE,0,GLX_ACCUM_ALPHA_SIZE,0,None}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1.4.6