summaryrefslogtreecommitdiff
path: root/ldmicro/lib/linuxUI/linuxLD.cpp
diff options
context:
space:
mode:
authorNatsuDrag92018-06-18 15:30:37 +0530
committerGitHub2018-06-18 15:30:37 +0530
commit7cd301a9276a066633f9a566360b9aec80fb134f (patch)
tree9a8441ab0c4a95c467a5d1f447763d9d90c57227 /ldmicro/lib/linuxUI/linuxLD.cpp
parente830165b756ed21f21e1ced3d7aba556c1de616a (diff)
parentefb4f9c16313b421eb64dd0024b2f17725b0026f (diff)
downloadLDMicroGtk-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.cpp11
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)