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

Fix for GDI and GDI+ #576

Merged
merged 4 commits into from
Sep 16, 2023
Merged

Fix for GDI and GDI+ #576

merged 4 commits into from
Sep 16, 2023

Conversation

nyaruku
Copy link
Contributor

@nyaruku nyaruku commented Sep 6, 2023

I don't know why it wasn't like that before

@nyaruku
Copy link
Contributor Author

nyaruku commented Sep 6, 2023

Maybe adding SetBkColor(dc, convert_color(cbg)); after SetBkMode() back to maintain the Text Background Color if there is any.

@nyaruku nyaruku changed the title GDI Transparent Text Background FIX GDI Transparent Text Background Sep 6, 2023
@nyaruku nyaruku changed the title FIX GDI Transparent Text Background Fix GDI Transparent Text Background Sep 6, 2023
@nyaruku nyaruku changed the title Fix GDI Transparent Text Background Fix for GDI and GDI+ Sep 8, 2023
@nyaruku
Copy link
Contributor Author

nyaruku commented Sep 8, 2023

Updated PR: Added Fix for GDI+ so that Copy/Paste and Select All the text inside an input widget works now properly.

demo/gdi/nuklear_gdi.h Outdated Show resolved Hide resolved
@RobLoach RobLoach merged commit a14e55f into Immediate-Mode-UI:master Sep 16, 2023
1 check 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