diff options
author | NatsuDrag9 | 2018-06-18 15:30:37 +0530 |
---|---|---|
committer | GitHub | 2018-06-18 15:30:37 +0530 |
commit | 7cd301a9276a066633f9a566360b9aec80fb134f (patch) | |
tree | 9a8441ab0c4a95c467a5d1f447763d9d90c57227 /ldmicro/lib/linuxUI/linuxLD.cpp | |
parent | e830165b756ed21f21e1ced3d7aba556c1de616a (diff) | |
parent | efb4f9c16313b421eb64dd0024b2f17725b0026f (diff) | |
download | LDMicroGtk-7cd301a9276a066633f9a566360b9aec80fb134f.tar.gz LDMicroGtk-7cd301a9276a066633f9a566360b9aec80fb134f.tar.bz2 LDMicroGtk-7cd301a9276a066633f9a566360b9aec80fb134f.zip |
Merge pull request #16 from NatsuDrag9/GUI_port
Gui port
Diffstat (limited to 'ldmicro/lib/linuxUI/linuxLD.cpp')
-rw-r--r-- | ldmicro/lib/linuxUI/linuxLD.cpp | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/ldmicro/lib/linuxUI/linuxLD.cpp b/ldmicro/lib/linuxUI/linuxLD.cpp index ce9899b..cdeb190 100644 --- a/ldmicro/lib/linuxUI/linuxLD.cpp +++ b/ldmicro/lib/linuxUI/linuxLD.cpp @@ -1,7 +1,6 @@ #include "linuxUI.h" std::vector<HEAPRECORD> HeapRecords; -std::vector<WNDCLASSEX> WindClassRecord; HANDLE HeapCreate(DWORD flOptions, SIZE_T dwInitialSize, SIZE_T dwMaximumSize) { @@ -100,13 +99,7 @@ BOOL HeapFree(HANDLE hHeap, DWORD dwFlags, LPVOID lpMem) } -BOOL RegisterClassEx(const WNDCLASSEX *lpwcx) -{ - WindClassRecord.push_back(*lpwcx); - return TRUE; -} - -HANDLE LoadImage(HINSTANCE hinst, LPCTSTR lpszName, UINT uType, int cxDesired, +HICON LoadImage(HINSTANCE hinst, LPCTSTR lpszName, UINT uType, int cxDesired, int cyDesired, UINT fuLoad) { HICON pixbuf; @@ -118,7 +111,7 @@ HANDLE LoadImage(HINSTANCE hinst, LPCTSTR lpszName, UINT uType, int cxDesired, g_error_free(error); } - return (HANDLE) pixbuf; + return pixbuf; } void OutputDebugString(char* str) |