It seems its because of the glyph colour. My image consists of only white glyphs and 'auto' for the glyph colour worked in the previous version for me, but not now. I changed it to white and it just works now :)
Azenris
Creator of
Recent community posts
I'm not sure if I'm doing it wrong, but I used this tool on a font with an earlier version and I could get the xheight and capHeight from it, but now I cant seem too. The code hasn't been updated only the tool used,
Just mentioning in case, might be me doing something wrong though, will keep looking, just wanted to mention :)
Hi !!
I recently updated to your newer version and wanted to ask 3 things. :)
1) Was there a reason you removed the global checking to stop a cursor being set over and over and constantly allocating a surface.
2)I will test this myself but thought I'd ask too, is it possible to just you sprite_get_texture, in the function window_set_cursor_sprite when ( os_browser != browser_not_a_browser ). That way I dont have to allocate a surface as an intermediate for window_set_cursor_surface_part. Like I said probably gonna atleast test myself :D
3) in window_set_cursor_surface_part, you have 2 lines
r = window_set_cursor_impl(hwnd, d, w, 0, 0, w, h, cx - l, cy - l);
r = window_set_cursor_impl(hwnd, b, sw, 0, 0, w, h, cx - l, cy - l);
both using cy - l, I was just curious if this was supposed to be cy - t
Anyway, TY for the tool again, I been using it in my project for a while tyty
I checked the source code and I fixed the focus issue with ( to wndproc of the window_frame_host )
case WM_SETFOCUS: {
HWND game = (HWND)GetWindowLongPtr( hWnd, GWLP_USERDATA );
if ( game != nullptr ) {
if ( IsWindow( game ) ) {
SetFocus( game );
}
}
return 0;
};
This just checks for focus on the window and passes it to the game window. Seems to work for me.
Doesn't fix the gamepad issue though :[






