dlangui.platforms.windows.winapp

This module contains implementation of Win32 platform support

Provides Win32Window and Win32Platform classes.

Usually you don't need to use this module directly.

More...

Public Imports

dlangui.core.config
public import dlangui.core.config;
Undocumented in source.

Members

Aliases

PFNWGLCHOOSEPIXELFORMATARBPROC
alias PFNWGLCHOOSEPIXELFORMATARBPROC = BOOL function(HDC hdc, const(int)* attributes, const(FLOAT)* fAttributes, UINT maxFormats, int* pixelFormat, UINT* numFormats)
Undocumented in source.
PFNWGLCREATECONTEXTATTRIBSARBPROC
alias PFNWGLCREATECONTEXTATTRIBSARBPROC = HGLRC function(HDC hdc, HGLRC hShareContext, const int* attribList)
Undocumented in source.

Classes

Win32Platform
class Win32Platform
Undocumented in source.
Win32Window
class Win32Window
Undocumented in source.

Functions

DLANGUIWinMain
int DLANGUIWinMain(void* hInstance, void* hPrevInstance, char* lpCmdLine, int nCmdShow)
Undocumented in source. Be warned that the author may not have intended to support it.
DLANGUIWinMainProfile
int DLANGUIWinMainProfile(string[] args)
Undocumented in source. Be warned that the author may not have intended to support it.
UIAppMain
int UIAppMain(string[] args)

this function should be defined in user application!

WndProc
LRESULT WndProc(HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam)
Undocumented in source. Be warned that the author may not have intended to support it.
initOpenGL
void initOpenGL()
Undocumented in source. Be warned that the author may not have intended to support it.
myWinMain
int myWinMain(void* hInstance, void* hPrevInstance, char* lpCmdLine, int iCmdShow)
Undocumented in source. Be warned that the author may not have intended to support it.
myWinMainProfile
int myWinMainProfile(string[] args)
Undocumented in source. Be warned that the author may not have intended to support it.
setupPalette
HPALETTE setupPalette(HDC hDC)
Undocumented in source. Be warned that the author may not have intended to support it.
setupPixelFormat
bool setupPixelFormat(HDC hDC, int multisamples)
Undocumented in source. Be warned that the author may not have intended to support it.
splitCmdLine
string[] splitCmdLine(string line)

split command line arg list; prepend with executable file name

Interfaces

UnknownWindowMessageHandler
interface UnknownWindowMessageHandler
Undocumented in source.

Manifest constants

GL_NUM_EXTENSIONS
enum GL_NUM_EXTENSIONS;
Undocumented in source.
WGL_ACCELERATION_ARB
enum WGL_ACCELERATION_ARB;
Undocumented in source.
WGL_ALPHA_BITS_ARB
enum WGL_ALPHA_BITS_ARB;
Undocumented in source.
WGL_COLOR_BITS_ARB
enum WGL_COLOR_BITS_ARB;
Undocumented in source.
WGL_CONTEXT_COMPATIBILITY_PROFILE_BIT_ARB
enum WGL_CONTEXT_COMPATIBILITY_PROFILE_BIT_ARB;
Undocumented in source.
WGL_CONTEXT_CORE_PROFILE_BIT_ARB
enum WGL_CONTEXT_CORE_PROFILE_BIT_ARB;
Undocumented in source.
WGL_CONTEXT_DEBUG_BIT_ARB
enum WGL_CONTEXT_DEBUG_BIT_ARB;
Undocumented in source.
WGL_CONTEXT_FLAGS_ARB
enum WGL_CONTEXT_FLAGS_ARB;
Undocumented in source.
WGL_CONTEXT_FORWARD_COMPATIBLE_BIT_ARB
enum WGL_CONTEXT_FORWARD_COMPATIBLE_BIT_ARB;
Undocumented in source.
WGL_CONTEXT_MAJOR_VERSION_ARB
enum WGL_CONTEXT_MAJOR_VERSION_ARB;
Undocumented in source.
WGL_CONTEXT_MINOR_VERSION_ARB
enum WGL_CONTEXT_MINOR_VERSION_ARB;
Undocumented in source.
WGL_CONTEXT_PROFILE_MASK_ARB
enum WGL_CONTEXT_PROFILE_MASK_ARB;
Undocumented in source.
WGL_DEPTH_BITS_ARB
enum WGL_DEPTH_BITS_ARB;
Undocumented in source.
WGL_DOUBLE_BUFFER_ARB
enum WGL_DOUBLE_BUFFER_ARB;
Undocumented in source.
WGL_DRAW_TO_BITMAP_ARB
enum WGL_DRAW_TO_BITMAP_ARB;
Undocumented in source.
WGL_DRAW_TO_WINDOW_ARB
enum WGL_DRAW_TO_WINDOW_ARB;
Undocumented in source.
WGL_FULL_ACCELERATION_ARB
enum WGL_FULL_ACCELERATION_ARB;
Undocumented in source.
WGL_GENERIC_ACCELERATION_ARB
enum WGL_GENERIC_ACCELERATION_ARB;
Undocumented in source.
WGL_NO_ACCELERATION_ARB
enum WGL_NO_ACCELERATION_ARB;
Undocumented in source.
WGL_PIXEL_TYPE_ARB
enum WGL_PIXEL_TYPE_ARB;
Undocumented in source.
WGL_SAMPLES_ARB
enum WGL_SAMPLES_ARB;
Undocumented in source.
WGL_SAMPLE_BUFFERS_ARB
enum WGL_SAMPLE_BUFFERS_ARB;
Undocumented in source.
WGL_STENCIL_BITS_ARB
enum WGL_STENCIL_BITS_ARB;
Undocumented in source.
WGL_STEREO_ARB
enum WGL_STEREO_ARB;
Undocumented in source.
WGL_SUPPORT_GDI_ARB
enum WGL_SUPPORT_GDI_ARB;
Undocumented in source.
WGL_SUPPORT_OPENGL_ARB
enum WGL_SUPPORT_OPENGL_ARB;
Undocumented in source.
WGL_TYPE_COLORINDEX_ARB
enum WGL_TYPE_COLORINDEX_ARB;
Undocumented in source.
WGL_TYPE_RGBA_ARB
enum WGL_TYPE_RGBA_ARB;
Undocumented in source.

Static variables

_cmdShow
int _cmdShow;
Undocumented in source.
_hInstance
HINSTANCE _hInstance;
Undocumented in source.
sharedGLContext
SharedGLContext sharedGLContext;

OpenGL context to share between windows

Structs

SharedGLContext
struct SharedGLContext

Shared opengl context helper

Variables

CUSTOM_MESSAGE_ID
uint CUSTOM_MESSAGE_ID;
Undocumented in source.
WIN_CLASS_NAME
auto WIN_CLASS_NAME;
Undocumented in source.
wglChoosePixelFormatARB
PFNWGLCHOOSEPIXELFORMATARBPROC wglChoosePixelFormatARB;
Undocumented in source.
wglCreateContextAttribsARB
PFNWGLCREATECONTEXTATTRIBSARBPROC wglCreateContextAttribsARB;
Undocumented in source.

Detailed Description

Synopsis:

import dlangui.platforms.windows.winapp;

Meta

License

Boost License 1.0

Authors

Vadim Lopatin, coolreader.org@gmail.com