Skip to content

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

Merged
spytheman merged 2 commits intovlang:masterfrom
YukiiVR:icon
Dec 12, 2024
Merged

gg: add icon to gg.Config for easier access#23138
spytheman merged 2 commits intovlang:masterfrom
YukiiVR:icon

Conversation

@YukiiVR
Copy link
Copy Markdown
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
Copy Markdown
Contributor

@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.

Comment thread vlib/gg/gg.c.v Outdated
Comment thread vlib/gg/gg.c.v Outdated
Comment thread vlib/gg/gg.c.v Outdated
@spytheman spytheman merged commit c4d8687 into vlang:master Dec 12, 2024
@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