summaryrefslogtreecommitdiff
path: root/ldmicro/lib/linuxUI/linuxLD.h
diff options
context:
space:
mode:
authorNatsuDrag92018-06-21 15:10:09 +0530
committerGitHub2018-06-21 15:10:09 +0530
commit0c17929043608b71df266ad09b1d11c16522b48c (patch)
tree72c110ce855c41ff1b353f114ca8c0c0fe2fc8c4 /ldmicro/lib/linuxUI/linuxLD.h
parentc71f6baa52b84da1b072a4577d56f32fbd3b7106 (diff)
parentf67a2745b9f0b54b7adbaa3f449d598a1491a99d (diff)
downloadLDMicroGtk-0c17929043608b71df266ad09b1d11c16522b48c.tar.gz
LDMicroGtk-0c17929043608b71df266ad09b1d11c16522b48c.tar.bz2
LDMicroGtk-0c17929043608b71df266ad09b1d11c16522b48c.zip
Merge pull request #15 from akshay-c/GUI_port
Gui port
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;