summaryrefslogtreecommitdiff
path: root/ldmicro/lib/linuxUI
diff options
context:
space:
mode:
authorakshay-c2019-09-13 12:24:18 +0530
committerakshay-c2019-09-13 12:24:18 +0530
commit13b6349465e26e8cd015e4153aa8843c706275ec (patch)
tree73cd7302c00957cb6eae1cacdffb77073556beec /ldmicro/lib/linuxUI
parente64d76c057d561e81ad26dcc9acf04f014a855e9 (diff)
downloadLDmicroQt-13b6349465e26e8cd015e4153aa8843c706275ec.tar.gz
LDmicroQt-13b6349465e26e8cd015e4153aa8843c706275ec.tar.bz2
LDmicroQt-13b6349465e26e8cd015e4153aa8843c706275ec.zip
Patch 1 ToolBar, AnalogSlider Realtime update
Diffstat (limited to 'ldmicro/lib/linuxUI')
-rw-r--r--ldmicro/lib/linuxUI/linuxLD.h5
-rw-r--r--ldmicro/lib/linuxUI/linuxUI.h16
2 files changed, 19 insertions, 2 deletions
diff --git a/ldmicro/lib/linuxUI/linuxLD.h b/ldmicro/lib/linuxUI/linuxLD.h
index 1b2117d..1254387 100644
--- a/ldmicro/lib/linuxUI/linuxLD.h
+++ b/ldmicro/lib/linuxUI/linuxLD.h
@@ -7,6 +7,7 @@
#include <math.h>
#include <algorithm>
#include <QAction>
+#include <QToolBar>
#include <QTreeWidget>
#include <QSplitter>
#include <Qt>
@@ -25,8 +26,8 @@
#define HEAP_ZERO_MEMORY 0x00000008
/// Image loading flags
-#define IMAGE_ICON 1
-#define LDMICRO_ICON ":/ldmicro.ico"
+#define IMAGE_ICON 1
+#define LDMICRO_ICON ":/ldmicro.ico"
/// Typedefs
//typedef int64_t __int64;
diff --git a/ldmicro/lib/linuxUI/linuxUI.h b/ldmicro/lib/linuxUI/linuxUI.h
index 5459920..631e11d 100644
--- a/ldmicro/lib/linuxUI/linuxUI.h
+++ b/ldmicro/lib/linuxUI/linuxUI.h
@@ -130,6 +130,22 @@
#define LTGRAY_BRUSH 0x00000020L
#define DKGRAY_BRUSH 0x00000040L
+#define ADD_ICON ":/AddIcon"
+#define SUB_ICON ":/SubIcon"
+#define MUL_ICON ":/MulIcon"
+#define DIV_ICON ":/DivIcon"
+#define CTU_ICON ":/CTUIcon"
+#define CTD_ICON ":/CTDIcon"
+#define TON_ICON ":/TONIcon"
+#define TOF_ICON ":/TOFIcon"
+#define RES_ICON ":/ResIcon"
+#define CONT_ICON ":/Contact"
+#define NEG_CONT_ICON ":/NegContact"
+#define COIL_ICON ":/Coil"
+#define NEG_COIL_ICON ":/NegCoil"
+#define SET_COIL_ICON ":/SetCoil"
+#define RESET_COIL_ICON ":/ResetCoil"
+
extern const COLORREF BLACK_BR;
extern const COLORREF WHITE_BR;
extern const COLORREF GRAY_BR;