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.

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

◆ GET_Y_LPARAM

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

Definition at line 38 of file C4windowswrapper.h.

Function Documentation

◆ GetWideChar()

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

◆ GetWideCharBuf()

StdBuf GetWideCharBuf ( const char *  utf8)

Referenced by AddMenuItem().

Here is the caller graph for this function: