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

    bright-gpu-74537

    12/31/2022, 9:46 AM
    yeah, i think menu.show is nicer... and i think its fair too as it is a kind special case (like dialog.show())
  • b

    bright-gpu-74537

    12/31/2022, 9:47 AM
    > if there could be reason to add it somewhere than the screen instance. i cant think of one
  • f

    full-journalist-82607

    12/31/2022, 9:49 AM
    BTW, is there a way to change colours of toggled or focused buttons in hxwidgets ? In fact by default, toggled buttons are the same colour as focused buttons. So when you untoggle a button, it seems to be still toggled which is confusing
  • b

    bright-gpu-74537

    12/31/2022, 9:50 AM
    im guessing that must be your OS, no? haxeui-hxwidgets shouldnt be coloring anything
  • f

    full-journalist-82607

    12/31/2022, 9:52 AM
    yes it must be the theme by default. But I don't see why it would be the same colour, logically it should be different
  • b

    bright-gpu-74537

    12/31/2022, 9:53 AM
    yeah, i would have expected it to be... dunno... maybe a wx bug? Though i cant see how it would be... it just creating a GTK button
  • f

    full-journalist-82607

    12/31/2022, 9:55 AM
    I'll explore it more , bu as I can easily change button background colours, I thought maybe I could change button toggle colour
  • b

    bright-gpu-74537

    12/31/2022, 9:56 AM
    not really, since the toggle button wont be adding css states to itself (:hover, :down, etc)... though i guess you could manually do it
  • b

    bright-gpu-74537

    12/31/2022, 9:57 AM
    i guess you could also listen for a change event and change the background color if .selected == true
  • f

    full-journalist-82607

    12/31/2022, 9:59 AM
    Yes, maybe I'll just do it. And it could be a good way to see , if the manual colour is overridden or not.
  • c

    cool-musician-79004

    12/31/2022, 9:59 AM
    What is heaps about?
  • b

    bright-gpu-74537

    12/31/2022, 10:00 AM
    fyi, there is a css helper "platform-color(...)"
  • b

    bright-gpu-74537

    12/31/2022, 10:00 AM
    .foo { color: platform-color(...) }
    https://github.com/haxeui/haxeui-hxwidgets/blob/master/haxe/ui/backend/PlatformImpl.hx#L19-L62
  • b

    brave-kangaroo-30399

    12/31/2022, 10:00 AM
    It’s one of the main frameworks. I’m enjoying my workflow now and I’m at the point where I want deep integration with HaxeUI
  • c

    cool-musician-79004

    12/31/2022, 10:01 AM
    I don't see in the list of backends https://github.com/haxeui/haxeui-core
  • f

    full-journalist-82607

    12/31/2022, 10:03 AM
    Yeah, I'll try this. But logically I would think haxeui gave the same platform color for toggled button as the one that were for focused button . But as much I have explored the code I haven't seen that yet. I'll explore a little more
  • b

    bright-gpu-74537

    12/31/2022, 10:04 AM
    its there isnt it?
  • c

    cool-musician-79004

    12/31/2022, 10:05 AM
    Really?
  • c

    cool-musician-79004

    12/31/2022, 10:05 AM
    Oh yeah, it is
  • c

    cool-musician-79004

    12/31/2022, 10:05 AM
    So dumb
  • c

    cool-musician-79004

    12/31/2022, 10:06 AM
    I'm very impressed by the high number of game frameworks that exist for Haxe... And they all look very polished. How is that people can keep up maintaining them?
  • f

    full-journalist-82607

    12/31/2022, 10:11 AM
    I'm not sure they are all mantained, I would say the well mantained ones are html5, heaps, openfl, flixel, widgets, pdcurses, kha, raylib. ( which is still a lot)
  • f

    full-journalist-82607

    12/31/2022, 10:13 AM
    So only winforms, pixijs, android, nme left . That's quite good indeed
  • f

    full-journalist-82607

    12/31/2022, 10:32 AM
    I'v just checked wxsamples, it is indeed not haxeui which makes toggled buttons weird . So custom colour for me !
  • b

    bright-gpu-74537

    12/31/2022, 10:32 AM
    so its your OS then?
  • f

    full-journalist-82607

    12/31/2022, 10:34 AM
    Yeah, it is maybe the OS default theme on kde plasma on wxlinux. Maybe it's just the theme that is crap.
  • f

    full-journalist-82607

    12/31/2022, 10:38 AM
    Yes, indeed it was the Breeze theme
  • f

    famous-alarm-22563

    12/31/2022, 5:47 PM
    haxe is really niche so the people who end up finding out about haxe are the ones who really do love programming, and when you enjoy programming maintaining your projects for a long period of time doesn't seem like a difficult task.
  • f

    famous-alarm-22563

    12/31/2022, 5:48 PM
    so... is IOS supported?
  • f

    famous-alarm-22563

    12/31/2022, 5:49 PM
    I was planning on publishing my fancy lil game on mobile.
1...136213631364...1687Latest