Results 127 comments of lenscas

> (Also, I should have probably shared my use-case: I'd like to keep the mouse within the bounds of the window when not playing in fullscreen mode.) As an user:...

> @lenscas, I'm a little lost. > > > * Binary bloat: About 35 images are needed to fully implemented it (one for every mouse state) > > * cursor...

> Should image formats other than PNG be supported out-of-the-box? They're not widely used, can cause issues (#508), and cause binary bloat. Personally I can see someone writing code that...

> Svgs aren't actually the other formats I was mentioning (though they are vaguely supported through `lyon`, once that is re-implemented). The `image` crate includes `tiff`, `gif`, `jpeg`, `bmp`, `ico`,...

Personally, I wouldn't mind to also have an option to set the width and height of the canvas to the size of the browser window. I can defiantly see people...

I have a question regarding font/text rendering. I have a sudden urge to try and get a text input to work in Mergui. This will probably be done by rendering...

Thanks for the previous answer, it gave me everything I needed to know to start porting mergui :) However, a few more questions I saw that there is no function...

In the case where you draw to a texture after having made some draw calls that are supposed to go to the window. Is it required to flush first before...

Ok, then I'm not doing anything wrong :) Maybe gfx.fit_to_surface should do the call to gfx.flush for you? And if there is a significant cost to flushing and a method...

I have a weird problem when rendering to a texture. The generated image seems to always be black. However,if I copy the code to to another project it works as...