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

implemented a VERY BASIC input control #80

Merged
merged 2 commits into from
Apr 8, 2020
Merged

implemented a VERY BASIC input control #80

merged 2 commits into from
Apr 8, 2020

Conversation

tjyuyao
Copy link

@tjyuyao tjyuyao commented May 1, 2019

Demo file can be found in examples/src/input, tested only on Ubuntu. It demonstrate:

  • Very simple and basic implementation of a single line of input entry.
  • When clicked on any of the input entries, it is selected and you can use the keyboard to type words into it.
  • Backspace is implemented to delete the rightmost character.
  • Click outside of any input entry will give the control back to other functionality depend on cv::waitKey()
  • No cursor control is considered, only editable from the end of string.
  • No bleeding is considered, if the text is too long, it will exceed the border.

It is the first time I send a pull request, hope I did it the right way. I will be happy to get feedback on this.

@Dovyski
Copy link
Owner

Dovyski commented May 2, 2019

This is awesome, thank you! I'll play with this for a while before merging the PR. This is a long-awaited feature, thanks for putting the time to bringing this to life!

@Dovyski Dovyski changed the base branch from master to dev April 8, 2020 11:50
@Dovyski Dovyski merged commit 708d2a3 into Dovyski:dev Apr 8, 2020
@Dovyski
Copy link
Owner

Dovyski commented Apr 8, 2020

Ok, merged. I am truly sorry for the absence regarding the maintenance of this project. I am doing my best to allocate time for it.

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.

2 participants