From 9be96591b989efd41fa0d8a55a600ad6bab78922 Mon Sep 17 00:00:00 2001 From: Rr42 Date: Mon, 11 Jun 2018 15:05:21 +0530 Subject: Added CreateWindowEx funftion from windows.h (Partial port) --- ldmicro/lib/linuxUI/linuxUI.h | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) (limited to 'ldmicro/lib/linuxUI/linuxUI.h') diff --git a/ldmicro/lib/linuxUI/linuxUI.h b/ldmicro/lib/linuxUI/linuxUI.h index 7cb4d55..4bd6e71 100644 --- a/ldmicro/lib/linuxUI/linuxUI.h +++ b/ldmicro/lib/linuxUI/linuxUI.h @@ -10,6 +10,8 @@ #include #include "linuxLD.h" +// 4000 ICON "ldmicro.ico" + /// version control #define LDMicro_VERSION_MAJOR 1 #define LDMicro_VERSION_MINOR 0 @@ -36,6 +38,9 @@ #define OFN_HIDEREADONLY 0x00000200L #define OFN_OVERWRITEPROMPT 0x00000400L +/// window brushes +#define BLACK_BRUSH 0x00000401L + /// EnableMenuItem variables extern const UINT MF_ENABLED; extern const UINT MF_GRAYED; @@ -65,5 +70,21 @@ int MessageBox(HWID, char*, char*, UINT); BOOL GetSaveFileName(OPENFILENAME* ); void EnableMenuItem(HMENU, HMENU, UINT); void CheckMenuItem(HMENU, HMENU, UINT); +HBRUSH GetStockObject(int fnObject); + +HWID CreateWindowEx( + DWORD dwExStyle, + LPCTSTR lpClassName, + LPCTSTR lpWindowName, + DWORD dwStyle, + int x, + int y, + int nWidth, + int nHeight, + HWND hWndParent, + HMENU hMenu, + HINSTANCE hInstance, + LPVOID lpParam +); #endif \ No newline at end of file -- cgit