summaryrefslogtreecommitdiff
path: root/ldmicro/lib
diff options
context:
space:
mode:
Diffstat (limited to 'ldmicro/lib')
-rw-r--r--ldmicro/lib/linuxUI/linuxLD.h2
-rw-r--r--ldmicro/lib/linuxUI/linuxUI.cpp4
-rw-r--r--ldmicro/lib/linuxUI/linuxUI.h1
3 files changed, 4 insertions, 3 deletions
diff --git a/ldmicro/lib/linuxUI/linuxLD.h b/ldmicro/lib/linuxUI/linuxLD.h
index db2a42f..7878733 100644
--- a/ldmicro/lib/linuxUI/linuxLD.h
+++ b/ldmicro/lib/linuxUI/linuxLD.h
@@ -14,6 +14,7 @@
//typedef int64_t __int64;
typedef bool BOOL;
typedef unsigned char BYTE;
+typedef unsigned short WORD;
typedef unsigned int DWORD;
typedef long LONG;
typedef wchar_t WCHAR;
@@ -77,5 +78,4 @@ class COLORREF : public GdkRGBA{
};
/// functions
-
#endif
diff --git a/ldmicro/lib/linuxUI/linuxUI.cpp b/ldmicro/lib/linuxUI/linuxUI.cpp
index 353b31f..54b42e2 100644
--- a/ldmicro/lib/linuxUI/linuxUI.cpp
+++ b/ldmicro/lib/linuxUI/linuxUI.cpp
@@ -34,8 +34,8 @@ HWID instruction_menu_separator; // Instruction menu
HWID simulate_menu_separator; // Simulate menu separator
//Scrollbars for the ladder logic area
-int ScrollWidth; // Width of scrolling
-int ScrollHeight; // Height of scrolling
+// int ScrollWidth; // Width of scrolling
+// int ScrollHeight; // Height of scrolling
HWID IoList; // Window for list view
/// Wraper function for gtk_window_has_toplevel_focus
diff --git a/ldmicro/lib/linuxUI/linuxUI.h b/ldmicro/lib/linuxUI/linuxUI.h
index 0efffca..199dfc3 100644
--- a/ldmicro/lib/linuxUI/linuxUI.h
+++ b/ldmicro/lib/linuxUI/linuxUI.h
@@ -7,6 +7,7 @@
#include <stdio.h>
#include <inttypes.h>
#include "linuxLD.h"
+//#include "windows.h"
/// version control
#define LDMicro_VERSION_MAJOR 1