mirror of
https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git
synced 2025-07-18 11:19:10 +00:00
Fix const-ness of some pfPython GUI stuff.
This commit is contained in:
@ -559,7 +559,7 @@ void pyGUIControlMultiLineEdit::DeleteLinesFromTop( int lines )
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
uint32_t pyGUIControlMultiLineEdit::GetFontSize()
|
uint32_t pyGUIControlMultiLineEdit::GetFontSize() const
|
||||||
{
|
{
|
||||||
if (fGCkey)
|
if (fGCkey)
|
||||||
{
|
{
|
||||||
|
@ -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 );
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -146,7 +146,7 @@ void pyGUIControlTextBox::SetForeColor( pyColor& color )
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
PyObject* pyGUIControlTextBox::GetForeColor()
|
PyObject* pyGUIControlTextBox::GetForeColor() const
|
||||||
{
|
{
|
||||||
if ( fGCkey )
|
if ( fGCkey )
|
||||||
{
|
{
|
||||||
|
@ -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_
|
||||||
|
Reference in New Issue
Block a user