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

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)
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.

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.

Detailed Description

Synopsis:

import dlangui.platforms.windows.winapp;

Meta

License

Boost License 1.0

Authors

Vadim Lopatin, coolreader.org@gmail.com