diff --git a/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/FeatureLib/pfPython/pyGUIControl.cpp b/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/FeatureLib/pfPython/pyGUIControl.cpp index 5ab48669..a7160ba4 100644 --- a/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/FeatureLib/pfPython/pyGUIControl.cpp +++ b/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/FeatureLib/pfPython/pyGUIControl.cpp @@ -278,7 +278,7 @@ PyObject* pyGUIControl::GetOwnerDlg( void ) } // get color schemes -PyObject* pyGUIControl::GetForeColor() +PyObject* pyGUIControl::GetForeColor() const { if ( fGCkey ) { @@ -292,7 +292,7 @@ PyObject* pyGUIControl::GetForeColor() PYTHON_RETURN_NONE; } -PyObject* pyGUIControl::GetSelColor() +PyObject* pyGUIControl::GetSelColor() const { if ( fGCkey ) { @@ -306,7 +306,7 @@ PyObject* pyGUIControl::GetSelColor() PYTHON_RETURN_NONE; } -PyObject* pyGUIControl::GetBackColor() +PyObject* pyGUIControl::GetBackColor() const { if ( fGCkey ) { @@ -320,7 +320,7 @@ PyObject* pyGUIControl::GetBackColor() PYTHON_RETURN_NONE; } -PyObject* pyGUIControl::GetBackSelColor() +PyObject* pyGUIControl::GetBackSelColor() const { if ( fGCkey ) { @@ -334,7 +334,7 @@ PyObject* pyGUIControl::GetBackSelColor() PYTHON_RETURN_NONE; } -UInt32 pyGUIControl::GetFontSize() +UInt32 pyGUIControl::GetFontSize() const { if ( fGCkey ) { @@ -460,7 +460,7 @@ void pyGUIControl::SetFontFlags(UInt8 fontFlags) } } -UInt8 pyGUIControl::GetFontFlags() +UInt8 pyGUIControl::GetFontFlags() const { if (fGCkey) { diff --git a/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/FeatureLib/pfPython/pyGUIControl.h b/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/FeatureLib/pfPython/pyGUIControl.h index b445a27c..d5b9ee46 100644 --- a/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/FeatureLib/pfPython/pyGUIControl.h +++ b/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/FeatureLib/pfPython/pyGUIControl.h @@ -116,12 +116,12 @@ public: virtual PyObject* GetOwnerDlg( void ); // returns pyGUIDialog // get color schemes - virtual PyObject* GetForeColor(); // returns pyColor - virtual PyObject* GetSelColor(); // returns pyColor - virtual PyObject* GetBackColor(); // returns pyColor - virtual PyObject* GetBackSelColor(); // returns pyColor - virtual UInt32 GetFontSize(); - virtual UInt8 GetFontFlags(); + virtual PyObject* GetForeColor() const; // returns pyColor + virtual PyObject* GetSelColor() const; // returns pyColor + virtual PyObject* GetBackColor() const; // returns pyColor + virtual PyObject* GetBackSelColor() const; // returns pyColor + virtual UInt32 GetFontSize() const; + virtual UInt8 GetFontFlags() const; // set color scheme virtual void SetForeColor( hsScalar r, hsScalar g, hsScalar b, hsScalar a ); virtual void SetSelColor( hsScalar r, hsScalar g, hsScalar b, hsScalar a );