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

    helpful-state-84881

    12/16/2019, 8:16 PM
    It does not need to use actual Android/iOS native components, just to show those widgets similarly
  • b

    bright-gpu-74537

    12/16/2019, 8:18 PM
    well, then i would probably say haxeui-openfl + some type of custom theme
  • h

    helpful-state-84881

    12/16/2019, 8:20 PM
    Thanks 🙂
  • b

    bright-gpu-74537

    12/16/2019, 8:21 PM
    np... let me know if i can help in someway, or, especially if something doesnt work / can be improved! 🙂
  • h

    helpful-state-84881

    12/16/2019, 8:21 PM
    🙂
  • u

    user

    12/16/2019, 8:46 PM
    oh really haxeui-kha has issues on mobile ? What kind of issues ? This could be blocking for me but I guess at some point I will have to probably hire you for freelance work anyways 😛
  • b

    bright-gpu-74537

    12/16/2019, 9:29 PM
    the issue is that things dont scale nicely
  • b

    bright-gpu-74537

    12/16/2019, 9:29 PM
    basically, what happens is haxeui-kha draws the UI at 1x, then upscales that by whatever it should be based on DPI... and its not a great look... esp. for text
  • b

    bright-gpu-74537

    12/16/2019, 9:31 PM
    i think the best plan is to draw everything with scaling in mind... ... i think its pretty doable, there is only one place that haxeui does any drawing (i think), but also, it implements a windowing type system for kha (since it has no concept of "sprites" or z depth) and that i think might need to take scale etc into account (but maybe not, as i think the interaction does work even with the crappily upscaled UI)
  • b

    bright-gpu-74537

    12/16/2019, 9:32 PM
    so, basically, a) i dont think its a blocker and b) i dont think its too hard to fix
  • u

    user

    12/16/2019, 11:56 PM
    Even zui has issue with text from my experience
  • b

    bright-gpu-74537

    12/17/2019, 5:26 PM
    right, i think the issues are fixable to be fair... i just have had time to look at them yet... i think all i need to do is just multiple everything by the scale (including fontsize) and viola
  • b

    bright-gpu-74537

    12/17/2019, 5:31 PM
    but id also like to look at some more advanced methods for getting better results... maybe shaders to get round borders and the such... but i have ZERO experience with shaders with kha or otherwise... they are a total mystery to me essentially
  • u

    user

    12/17/2019, 5:47 PM
    @bright-gpu-74537I have the same experience with shaders. But the jist I got from reading kha's source is you load the shader in a class (its an asset like anything else)with a pipeline state then you can call functions implemented in your shader.
  • u

    user

    12/17/2019, 5:48 PM
    This is probably an oversimplification but that what I read from the source (i.e. the ImagePainter class).
  • b

    bright-gpu-74537

    12/17/2019, 5:50 PM
    right, but what i dont get is how, for exampe, does a shader draw, say, 15 circles of varying heights at different x/y positions? Thats when i get stuck in my understading... im pretty sure im just thinking about it wrong
  • u

    user

    12/17/2019, 7:48 PM
    I think when we call begin it takes all the g calls inbetween begin and end, keep them in a queue then when we have enough calls shoots the drawCalls to the GPU via the shader
  • f

    fancy-city-440

    12/18/2019, 9:35 PM
    that property grid is nice
  • h

    helpful-state-84881

    12/20/2019, 11:43 PM
    Does HaxeUI work in FreeDOS or MS-DOS 6.22 ?
  • b

    bright-gpu-74537

    12/21/2019, 1:44 PM
    you mean text based?
  • h

    helpful-state-84881

    12/22/2019, 7:09 AM
    No, I mean some way to start some resolution of HaxeUI pixel-drawn UI, like some DOS game
  • h

    helpful-state-84881

    12/22/2019, 7:11 AM
    I think just text-based it's maybe not possible?
  • h

    helpful-state-84881

    12/22/2019, 7:11 AM
    Well, maybe with some ascii art...
  • h

    helpful-state-84881

    12/22/2019, 7:21 AM
    I don't know would there be some RAM limitations
  • h

    helpful-state-84881

    12/22/2019, 7:21 AM
    I was thinking related to this article https://news.ycombinator.com/item?id=21831951
  • h

    helpful-state-84881

    12/22/2019, 7:24 AM
    But, if there is issues in RAM usage etc capabilities of DOS/Win3.x/Amiga that would require jumping some hoops that would require too much time, then I'll not try
  • b

    bright-gpu-74537

    12/22/2019, 10:10 AM
    Text based is possible: https://github.com/haxeui/haxeui-pdcurses its probably a fair bit behind now, it was mainly an experiment to see how flexible / abstract the backend system was, pure pixel drawing would also be more than possible (most things can be done by creating a new backend)
  • h

    helpful-state-84881

    12/22/2019, 10:35 AM
    WOW COOL 🙂 🙂 🙂
  • h

    helpful-state-84881

    12/22/2019, 10:37 AM
    Can there be colors in haxeui-pdcurses ?
  • b

    bright-gpu-74537

    12/22/2019, 10:43 AM
    yeah, but only the console colours...
1...156157158...1687Latest