Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement chat history browsing (Client and Python) #416

Merged
merged 1 commit into from
May 10, 2014

Conversation

Filtik
Copy link
Contributor

@Filtik Filtik commented May 9, 2014

This enables GUI notifications when the up and down keys are pressed in the chat editor. Based on this, we can implement chat history browsing in the Python scripts.
H-uru/moul-scripts#81

@@ -105,6 +105,14 @@ void pfGUIDialogNotifyProc::HandleExtendedEvent( pfGUIControlMod *ctrl, uint32_t
//send notify, somebody will do something with that (like python script)
ISendNotify( ctrl->GetKey(), pfGUINotifyMsg::kSpecialAction );
}
else if(edit != nil && event == pfGUIEditBoxMod::kWantMessageHistoryUp)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

how about just else if(edit && ..., the comparison to nil is implied...

@Filtik
Copy link
Contributor Author

Filtik commented May 9, 2014

Updated

Hoikas added a commit that referenced this pull request May 10, 2014
Implement chat history browsing (Client and Python)
@Hoikas Hoikas merged commit 5e9378a into H-uru:master May 10, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants