Skip to content

raylib: label class #35571

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

Draft
wants to merge 8 commits into
base: master
Choose a base branch
from
Draft

raylib: label class #35571

wants to merge 8 commits into from

Conversation

sshane
Copy link
Contributor

@sshane sshane commented Jun 17, 2025

No description provided.

@github-actions github-actions bot added the ui label Jun 17, 2025
@@ -26,6 +28,87 @@
}


class Text(Widget):
Copy link
Contributor Author

Choose a reason for hiding this comment

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

ignore

font = gui_app.font(font_weight)
text_size = measure_text_cached(font, text, font_size)
display_text = text
class Label(Widget):
Copy link
Contributor Author

Choose a reason for hiding this comment

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

@deanlee what do you think instead of a function?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

want to open a PR to make the button and other functions widget classes?

@sshane sshane marked this pull request as draft June 17, 2025 21:57
@sshane sshane changed the title Label class raylib: label class Jun 17, 2025
Copy link
Contributor

This PR has had no activity for 9 days. It will be automatically closed in 2 days if there is no activity.

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

Successfully merging this pull request may close these issues.

1 participant