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

gg: add icon to gg.Config for easier access #23138

Merged
merged 2 commits into from
Dec 12, 2024
Merged

Conversation

YukiiVR
Copy link
Contributor

@YukiiVR YukiiVR commented Dec 11, 2024

This PR adds window_icon to the gg.Config struct for easier access and use with the gg.new_context method.

This allows us to have the option to just pass window_icon: sapp.IconDesc{} directly into the new_context method without needing to directly make the window with sokol.

Huly®: V_0.6-21575

Copy link
Member

@spytheman spytheman left a comment

Choose a reason for hiding this comment

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

Excellent work.

vlib/gg/gg.c.v Outdated Show resolved Hide resolved
vlib/gg/gg.c.v Outdated Show resolved Hide resolved
vlib/gg/gg.c.v Outdated Show resolved Hide resolved
@spytheman spytheman merged commit c4d8687 into vlang:master Dec 12, 2024
62 checks passed
@YukiiVR YukiiVR deleted the icon branch December 12, 2024 08:20
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