These are chat archives for ikkentim/SampSharp

26th
Apr 2016
Tim Potze
@ikkentim
Apr 26 2016 06:32
Oh wow
Already looks quite good! Have you also tested to make sure some different resolutions look good too? IIRC I had issues with that when using textdraws.
Will you put the library on NuGet? :)
Xalphox
@Xalphox
Apr 26 2016 11:17
Thanks! I've tested it a fair bit - and as long as you stick to integers it seems to work okay. The most challenging thing so far was calculating the (actual) width of proportional text
Turns out there's a font.dat that stores the proportional pixel widths of each character, though still caught me out because that's relative to the 640x480 grid as opposed to actual screen resolution
And once it reaches maturity and I've found a way to mock textdraws then that's the plan
I'm also exploring using OWIN for UCPs
Tim Potze
@ikkentim
Apr 26 2016 12:17
Owin looks interesting, but quite complicated :O would be quite something to accomplish
Xalphox
@Xalphox
Apr 26 2016 17:13
It's not too bad once you get past the frustratingly modular setup