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

Change cursor when hand whenTextLink is hovered - Common Style #7885

Closed
kimidaisuki22 opened this issue Aug 13, 2024 · 1 comment
Closed

Comments

@kimidaisuki22
Copy link
Contributor

Version/Branch of Dear ImGui:

Version 1.91, Branch: docking

Back-ends:

n/a

Compiler, OS:

Linux

Full config/build information:

No response

Details:

My Issue/Question:
Change cursor when hand whenTextLink is hovered.

For the current link, the difference when hovered on is only slightly brighter. Changing the cursor to a hand icon would make it better as a hyperlink.

Screenshots/Video:

example

Minimal, Complete and Verifiable Example code:

ImGui::TextLink("Download");
if(ImGui::IsItemHovered()) {
  ImGui::SetMouseCursor(ImGuiMouseCursor_Hand);
}
@ocornut
Copy link
Owner

ocornut commented Aug 13, 2024

You are right, I have made that change now: 29fadad
Thank you!

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

No branches or pull requests

2 participants