1
0
mirror of https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git synced 2025-07-17 18:59:09 +00:00

Add functions to fix KI Chat scrolling issue.

Fixes #180 (if combined with the moul-scripts commit). These two Python/Plasma functions are used in the moul-scripts fix for the scrolling KI Chat issue.
This commit is contained in:
Lyrositor
2012-11-08 11:06:12 -05:00
parent 4c9f5398bd
commit 364de3a317
5 changed files with 47 additions and 0 deletions

View File

@ -249,6 +249,14 @@ void pfGUIMultiLineEditCtrl::SetScrollPosition( int32_t topLine )
fDialog->GetHandler()->DoSomething(this);
}
//// GetScrollPosition ///////////////////////////////////////////////////////
int32_t pfGUIMultiLineEditCtrl::GetScrollPosition()
{
return fScrollPos;
}
//// MoveCursor - by direction command////////////////////////////////////////////////
void pfGUIMultiLineEditCtrl::MoveCursor( Direction dir )
{

View File

@ -220,6 +220,7 @@ class pfGUIMultiLineEditCtrl : public pfGUIControlMod
};
void SetScrollPosition( int32_t topLine );
int32_t GetScrollPosition();
void MoveCursor( Direction dir );
void InsertChar( char c );