mirror of
https://port.numenaute.org/aleajactaest/khanat-code-old.git
synced 2024-11-30 07:35:59 +00:00
Maybe solves #210
This commit is contained in:
parent
dc17e72ad3
commit
8432b9eddc
3 changed files with 8 additions and 0 deletions
|
@ -1013,6 +1013,7 @@ bool mainLoop()
|
||||||
SetMouseCursor ();
|
SetMouseCursor ();
|
||||||
// Set the cursor.
|
// Set the cursor.
|
||||||
ContextCur.context("STAND BY");
|
ContextCur.context("STAND BY");
|
||||||
|
UserControls.reset();
|
||||||
|
|
||||||
// set the default box for keyboard
|
// set the default box for keyboard
|
||||||
setDefaultChatWindow(PeopleInterraction.ChatGroup.Window);
|
setDefaultChatWindow(PeopleInterraction.ChatGroup.Window);
|
||||||
|
@ -2463,6 +2464,7 @@ bool mainLoop()
|
||||||
SetMouseCursor ();
|
SetMouseCursor ();
|
||||||
// Set the cursor.
|
// Set the cursor.
|
||||||
ContextCur.context("STAND BY");
|
ContextCur.context("STAND BY");
|
||||||
|
UserControls.reset();
|
||||||
|
|
||||||
// set the default box for keyboard
|
// set the default box for keyboard
|
||||||
CChatWindow *defaultChatWindow;
|
CChatWindow *defaultChatWindow;
|
||||||
|
|
|
@ -174,6 +174,10 @@ void CUserControls::init()
|
||||||
|
|
||||||
}// init //
|
}// init //
|
||||||
|
|
||||||
|
void CUserControls::reset()
|
||||||
|
{
|
||||||
|
init();
|
||||||
|
}
|
||||||
|
|
||||||
//-----------------------------------------------
|
//-----------------------------------------------
|
||||||
// needReleaseForward :
|
// needReleaseForward :
|
||||||
|
|
|
@ -152,6 +152,8 @@ public:
|
||||||
/// Constructor
|
/// Constructor
|
||||||
CUserControls();
|
CUserControls();
|
||||||
|
|
||||||
|
void reset();
|
||||||
|
|
||||||
/// Return the string associated to the motion Mode.
|
/// Return the string associated to the motion Mode.
|
||||||
std::string modeStr() const;
|
std::string modeStr() const;
|
||||||
/// Return the motion Mode.
|
/// Return the motion Mode.
|
||||||
|
|
Loading…
Reference in a new issue