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

added a override method for key presses #522

Open
wants to merge 3 commits into
base: 1.18.x
Choose a base branch
from

Conversation

ferriarnus
Copy link

@ferriarnus ferriarnus commented Mar 28, 2022

  • added a method to add abstractwidgets
  • added a override method for key presses, so they can be used in components (for example allow the editbox to work).
  • added a test case component with an editbox.

Feel free to give any remarks/suggestions

@ferriarnus
Copy link
Author

It seems the first part, abstractwidget support has been added yesterday. The key pressed override is still needed for my case.

@williewillus
Copy link
Member

can you rebase on top of my abstractwidget changes?

-added a method to add abstractwidgets

-added a override method for key presses, so they can be used in components (for example allow the editbox to work).

-added a test case component with an editbox.
- removed abstractWidget method, as it has already been added.
@ferriarnus ferriarnus changed the title Added abstractwidget support added a override method for key presses Mar 31, 2022
@ferriarnus
Copy link
Author

I've rebased @williewillus.

@slava110
Copy link

slava110 commented Oct 8, 2022

Is it possible to add not only key pressed in this PR but also mouse-related methods? c:
I'm interested in having methods like mouseDrag, mouseRelease, mouseScroll in ICustomComponent
See #579

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants