summaryrefslogtreecommitdiff
path: root/ldmicro/lib/linuxUI/linuxLD.cpp
diff options
context:
space:
mode:
authorRr422018-06-28 19:22:20 +0530
committerRr422018-06-28 19:22:20 +0530
commit3e7b5fcf5d796ad852723686352e2a6410684a7f (patch)
treeef616ca18044c1c0794a66c10f55a8388388049e /ldmicro/lib/linuxUI/linuxLD.cpp
parentc7cef3198aeecc36dfe6102de6732eb461856899 (diff)
parent169b2cedb1a17c3ab537b3d39a3758d5742ba043 (diff)
downloadLDMicroGtk-3e7b5fcf5d796ad852723686352e2a6410684a7f.tar.gz
LDMicroGtk-3e7b5fcf5d796ad852723686352e2a6410684a7f.tar.bz2
LDMicroGtk-3e7b5fcf5d796ad852723686352e2a6410684a7f.zip
merge commit
Diffstat (limited to 'ldmicro/lib/linuxUI/linuxLD.cpp')
-rw-r--r--ldmicro/lib/linuxUI/linuxLD.cpp7
1 files changed, 5 insertions, 2 deletions
diff --git a/ldmicro/lib/linuxUI/linuxLD.cpp b/ldmicro/lib/linuxUI/linuxLD.cpp
index 95f1221..a83d15e 100644
--- a/ldmicro/lib/linuxUI/linuxLD.cpp
+++ b/ldmicro/lib/linuxUI/linuxLD.cpp
@@ -1,4 +1,7 @@
#include "linuxUI.h"
+#include <iostream>
+
+using namespace std;
std::vector<HEAPRECORD> HeapRecords;
@@ -116,8 +119,8 @@ HICON LoadImage(HINSTANCE hinst, LPCTSTR lpszName, UINT uType, int cxDesired,
void RECT_to_GDRECT(const RECT *rc, GDRECT *gdrc)
{
- gdrc->x = rc->top;
- gdrc->y = rc->left;
+ gdrc->x = rc->left;
+ gdrc->y = rc->top;
gdrc->width = rc->right - rc->left;
gdrc->height = rc->bottom - rc->top;
}