Browse Source

Fix const-ness of some pfPython GUI stuff.

Darryl Pogue 11 years ago
parent
commit
f9129ae82a
  1. 2
      Sources/Plasma/FeatureLib/pfPython/pyGUIControlMultiLineEdit.cpp
  2. 2
      Sources/Plasma/FeatureLib/pfPython/pyGUIControlMultiLineEdit.h
  3. 2
      Sources/Plasma/FeatureLib/pfPython/pyGUIControlTextBox.cpp
  4. 2
      Sources/Plasma/FeatureLib/pfPython/pyGUIControlTextBox.h

2
Sources/Plasma/FeatureLib/pfPython/pyGUIControlMultiLineEdit.cpp

@ -559,7 +559,7 @@ void pyGUIControlMultiLineEdit::DeleteLinesFromTop( int lines )
} }
} }
uint32_t pyGUIControlMultiLineEdit::GetFontSize() uint32_t pyGUIControlMultiLineEdit::GetFontSize() const
{ {
if (fGCkey) if (fGCkey)
{ {

2
Sources/Plasma/FeatureLib/pfPython/pyGUIControlMultiLineEdit.h

@ -111,7 +111,7 @@ public:
virtual void DeleteLinesFromTop( int lines ); virtual void DeleteLinesFromTop( int lines );
virtual uint32_t GetFontSize(); virtual uint32_t GetFontSize() const;
virtual void SetFontSize( uint32_t fontsize ); virtual void SetFontSize( uint32_t fontsize );
}; };

2
Sources/Plasma/FeatureLib/pfPython/pyGUIControlTextBox.cpp

@ -146,7 +146,7 @@ void pyGUIControlTextBox::SetForeColor( pyColor& color )
} }
PyObject* pyGUIControlTextBox::GetForeColor() PyObject* pyGUIControlTextBox::GetForeColor() const
{ {
if ( fGCkey ) if ( fGCkey )
{ {

2
Sources/Plasma/FeatureLib/pfPython/pyGUIControlTextBox.h

@ -88,7 +88,7 @@ public:
virtual void SetJustify( uint8_t justify ); virtual void SetJustify( uint8_t justify );
virtual uint8_t GetJustify(); virtual uint8_t GetJustify();
virtual PyObject* GetForeColor(); // returns pyColor virtual PyObject* GetForeColor() const; // returns pyColor
}; };
#endif // _pyGUIControlTextBox_h_ #endif // _pyGUIControlTextBox_h_

Loading…
Cancel
Save