https://linen.dev logo
Join Discord
Powered by
# haxe-ui
  • b

    bright-gpu-74537

    04/16/2020, 8:19 AM
    what happens if you set it to .75 though? I wonder... just out of interest
  • b

    bright-gpu-74537

    04/16/2020, 8:19 AM
    i guess your UI will be too small for your screen, but are the haxeui text elements sharp?
  • b

    bright-gpu-74537

    04/16/2020, 8:19 AM
    (note you need to set it before toolkit.init)
  • m

    most-elephant-7180

    04/16/2020, 8:21 AM
    Blurry text can still be noticed
  • b

    bright-gpu-74537

    04/16/2020, 8:21 AM
    Ok, fair enough
  • b

    bright-gpu-74537

    04/16/2020, 8:21 AM
    so i guess its a "deeper" issue...
  • b

    bright-gpu-74537

    04/16/2020, 8:22 AM
    let me know if you find out something, and if there is something haxeui can tweak... always interested in better text rendering!
  • m

    most-elephant-7180

    04/16/2020, 8:25 AM
    Last input, when two neko targets are launched side by side on two displays, one at 100% scale (left) and the other at 150% scale (right)
  • m

    most-elephant-7180

    04/16/2020, 8:26 AM
    > let me know if you find out something, and if there is something haxeui can tweak... always interested in better text rendering! @User Sure I will keep you informed if I am able to figure it out
  • m

    most-elephant-7180

    04/16/2020, 2:32 PM
    @User I digged a bit inside openfl/lime and it seems the windows native renderer is SDL based. It's not quite certain, but it seems SDL doesn't actually handle Windows scaling properly. I found this valuable information https://discourse.libsdl.org/t/wip-windows-high-dpi-support/22446/4 but I still need to dig deeper in SDL code history to find out more, and to figure out if lime use/implement such mechanism.
  • m

    most-elephant-7180

    04/16/2020, 2:32 PM
    I'm new on the Haxe/Lime/OpenFL codebase so it's not quite clear to me if I undestand it properly.
  • b

    bright-gpu-74537

    04/16/2020, 2:34 PM
    OK, yeah, that is interesting...
  • b

    bright-gpu-74537

    04/16/2020, 2:34 PM
    maybe it something that will "disappear" with a new version of SDL?
  • b

    bright-gpu-74537

    04/16/2020, 2:34 PM
    Might make sense to post on the openfl forums, might get more info there
  • m

    most-elephant-7180

    04/16/2020, 2:35 PM
    Sure I will keep you informed
  • b

    bright-gpu-74537

    04/16/2020, 2:35 PM
    thanks 👍
  • m

    most-elephant-7180

    04/17/2020, 7:04 AM
    @bright-gpu-74537 Joshua confirmed lime Windows target doesn’t handle display scaling awareness
  • m

    most-elephant-7180

    04/17/2020, 7:05 AM
    Just because SDL doesn’t so changes must be made to lime ndll to handle it
  • m

    most-elephant-7180

    04/17/2020, 7:07 AM
    It’s not only a text rendering issue but a general renderer scaling concern where target platform depends on cpp lime code
  • b

    bright-gpu-74537

    04/17/2020, 7:34 AM
    Right, gotcha... so SDL will need a patch first... thanks for letting me know
  • b

    bright-gpu-74537

    04/18/2020, 10:49 AM
    still wip, but i think its generally working fine... just need to make sure tabs work
  • b

    bright-gpu-74537

    04/18/2020, 11:12 AM
    .... easy 🙂
  • b

    bright-gpu-74537

    04/19/2020, 7:40 AM
    😮
  • b

    bright-gpu-74537

    04/19/2020, 7:42 AM
    really need to get an iphone and work out a haxeui-ios... ... meaning im gonna have to learn obj-c ... ... ... ... which ive been putting off for... ... ... ... life?
  • o

    orange-van-60470

    04/19/2020, 12:02 PM
    @User I had a play with swift and obj-c quite a long time back. This is the same code in Swift and ObjectiveC You should find the Swift quite easy to follow as it's not so different from Haxe, then if you relate it back to the ObjectiveC version you can get a feel for how to adjust stuff, perhaps my experiment is not helpful.
  • b

    bright-gpu-74537

    04/19/2020, 12:03 PM
    right, yeah... ill have to have a play around at some point... but before then ill need to buy a junky iphone, etc
  • b

    bright-gpu-74537

    04/19/2020, 12:03 PM
    i guess it will have to be objc rather than swift so hxcpp can work with it
  • o

    orange-van-60470

    04/19/2020, 12:04 PM
    You can simulate it on a mac you don't need a phone to test concepts
  • o

    orange-van-60470

    04/19/2020, 12:04 PM
    Hugh may actually support swift sort of
  • b

    bright-gpu-74537

    04/19/2020, 12:04 PM
    oh yeah? The simulator is good is it?
1...193194195...1687Latest