OpenClonk
C4windowswrapper.h File Reference
#include <windows.h>
Include dependency graph for C4windowswrapper.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define ADDL2(s)   L##s
 
#define ADDL(s)   ADDL2(s)
 
#define GET_X_LPARAM(lp)   ((int)(short)LOWORD(lp))
 
#define GET_Y_LPARAM(lp)   ((int)(short)HIWORD(lp))
 

Functions

StdStrBuf::wchar_t_holder GetWideChar (const char *utf8, bool double_null_terminate=false)
 
StdBuf GetWideCharBuf (const char *utf8)
 

Macro Definition Documentation

◆ ADDL

#define ADDL (   s)    ADDL2(s)

Definition at line 35 of file C4windowswrapper.h.

Referenced by PropertyDlgProc().

◆ ADDL2

#define ADDL2 (   s)    L##s

Definition at line 34 of file C4windowswrapper.h.

◆ GET_X_LPARAM

#define GET_X_LPARAM (   lp)    ((int)(short)LOWORD(lp))

Definition at line 37 of file C4windowswrapper.h.

Referenced by DialogWinProc(), and FullScreenWinProc().

◆ GET_Y_LPARAM

#define GET_Y_LPARAM (   lp)    ((int)(short)HIWORD(lp))

Definition at line 38 of file C4windowswrapper.h.

Referenced by DialogWinProc(), and FullScreenWinProc().

Function Documentation

◆ GetWideChar()

◆ GetWideCharBuf()

StdBuf GetWideCharBuf ( const char *  utf8)

Referenced by AddMenuItem(), StdBuf::CompileFunc(), C4EditCursor::KeyUp(), PropertyDlgProc(), and StdStrBuf::StdStrBuf().

Here is the caller graph for this function: