Skip to content

Chat & Pause buttons for touch screens#485

Merged
BrentDaMage merged 3 commits intoReMinecraftPE:masterfrom
Vimd0:master
Feb 18, 2026
Merged

Chat & Pause buttons for touch screens#485
BrentDaMage merged 3 commits intoReMinecraftPE:masterfrom
Vimd0:master

Conversation

@Vimd0
Copy link
Contributor

@Vimd0 Vimd0 commented Feb 17, 2026

Screenshot_20260216_225844_ReMinecraftPE Screenshot_20260216_225855_ReMinecraftPE
  • Chat and Pause button
  • Pocket theme now exclusively have 6 slots
  • Updated guitouch to have reversed gradient for the Play, Options, and Multiplayer buttons

if (clickID != 1)
return;

if (m_pMinecraft->isTouchscreen())
Copy link
Member

Choose a reason for hiding this comment

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

Is there really no way to put an actual button here? Why this?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

We need this because it's the only way to handle clicks for elements in game

Copy link
Member

Choose a reason for hiding this comment

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

Afaik, PE handles this using InGamePlayScreen, which renders the buttons as GuiElements.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Would you like me to do this another way? I feel like this is the best way to do this

Copy link
Member

Choose a reason for hiding this comment

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

This is the easiest way to do this, for sure. I think it's probably fine how it is now, but we should put a TODO message by it noting that we should add InGamePlayScreen at some point.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

For sure

@Vimd0 Vimd0 requested a review from BrentDaMage February 18, 2026 04:13
@BrentDaMage BrentDaMage merged commit 0b8e1b5 into ReMinecraftPE:master Feb 18, 2026
13 checks passed
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

Comments