summaryrefslogtreecommitdiff
path: root/ldmicro/lib/linuxUI
diff options
context:
space:
mode:
authorRr422018-06-04 15:25:44 +0530
committerRr422018-06-04 15:25:44 +0530
commit1f483baf37359032ca3224a5d07853aaf725def4 (patch)
tree040f6aa8f4bf07fd7fff0dd4ab2b874dc54a1fd3 /ldmicro/lib/linuxUI
parent1941edf7847565074fc79f339c8f8e609c5dca9d (diff)
downloadLDMicroGtk-1f483baf37359032ca3224a5d07853aaf725def4.tar.gz
LDMicroGtk-1f483baf37359032ca3224a5d07853aaf725def4.tar.bz2
LDMicroGtk-1f483baf37359032ca3224a5d07853aaf725def4.zip
Commented all GUI code for core test
Diffstat (limited to 'ldmicro/lib/linuxUI')
-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