summaryrefslogtreecommitdiff
path: root/ldmicro/lib/linuxUI/linuxLD.h
diff options
context:
space:
mode:
authorRr422018-06-20 12:13:24 +0530
committerRr422018-06-20 12:13:24 +0530
commitcae95cbf69ebe440ebcda9b21ab895e4e2bdf719 (patch)
treeba72d57c0dc85c84a0888560ca39628c44295bf6 /ldmicro/lib/linuxUI/linuxLD.h
parent176a2daf611cc505896743f30de23bd391abd0bb (diff)
parente4c4f5ea11291e551967f5240f53c43895771ffb (diff)
downloadLDMicroGtk-cae95cbf69ebe440ebcda9b21ab895e4e2bdf719.tar.gz
LDMicroGtk-cae95cbf69ebe440ebcda9b21ab895e4e2bdf719.tar.bz2
LDMicroGtk-cae95cbf69ebe440ebcda9b21ab895e4e2bdf719.zip
merge update
Diffstat (limited to 'ldmicro/lib/linuxUI/linuxLD.h')
-rw-r--r--ldmicro/lib/linuxUI/linuxLD.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/ldmicro/lib/linuxUI/linuxLD.h b/ldmicro/lib/linuxUI/linuxLD.h
index 8a3e3a2..80f4471 100644
--- a/ldmicro/lib/linuxUI/linuxLD.h
+++ b/ldmicro/lib/linuxUI/linuxLD.h
@@ -16,6 +16,7 @@
#define CALLBACK
#define CONST const
+/// Meamory flags
#define HEAP_ZERO_MEMORY 0x00000008
/// Image loading flags
@@ -24,7 +25,6 @@
/// Macro functions
#define max(_A, _B) std::max(_A, _B)
-// #define min(_A, _B) std::min(_A, _B)
/// Typedefs
//typedef int64_t __int64;
@@ -114,6 +114,14 @@ typedef class tagColorReferance: public GdkRGBA{
this->alpha = 1.0;
}
+ bool operator== (tagColorReferance& arg1)
+ {
+ if( ((int)arg1.red == (int)this->red) && ((int)arg1.green == (int)this->green) && ((int)arg1.blue == (int)this->blue) )
+ return true;
+ else
+ return false;
+ }
+
GdkRGBA* getThis()
{
return this;