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

    icy-zebra-52882

    09/11/2022, 9:06 PM
    try this one?
  • b

    bright-gpu-74537

    09/11/2022, 9:06 PM
    dunno, maybe restart vscode, not sure... ill have to check, the file based component stuff is kinda... dunno... niche, so im not that surprised the lang server hates it
  • b

    bright-gpu-74537

    09/11/2022, 9:07 PM
    i defo get an error there
  • b

    bright-gpu-74537

    09/11/2022, 9:07 PM
    (same one)
  • i

    icy-zebra-52882

    09/11/2022, 9:08 PM
    I've rebooted, restarted VS code, defined
    no_macro_cache
    in case it was accumulating errors or something
  • b

    bright-gpu-74537

    09/11/2022, 9:09 PM
    the project all seems fine to me (the new one you sent)... so feels like a bug
  • b

    bright-gpu-74537

    09/11/2022, 9:14 PM
    ... ... ... i dont really get what the difference is between the two 🤔
  • i

    icy-zebra-52882

    09/11/2022, 9:23 PM
    this one doesn't build at all, whereas the other one VS code insists there's an error but builds just fine anyway
  • i

    icy-zebra-52882

    09/11/2022, 9:23 PM
    other than that, I can't tell a difference really
  • b

    bright-gpu-74537

    09/11/2022, 9:24 PM
    the vscode thing, there probably isnt much a i can do about it, i can probably take a look but the language server doesnt like macro heavy projects its seems... the main issue is that the other (newer) one doesnt build at all, regardless of vscode and as far as i can tell, is pretty similar
  • b

    bright-gpu-74537

    09/11/2022, 9:24 PM
    ive just tried recreating the broken one, and its fine
  • b

    bright-gpu-74537

    09/11/2022, 9:25 PM
    so no idea whats going on
  • i

    icy-zebra-52882

    09/11/2022, 9:25 PM
  • b

    bright-gpu-74537

    09/11/2022, 9:25 PM
    its either something crazy simple, or something crazy complex 😄
  • b

    bright-gpu-74537

    09/11/2022, 9:44 PM
    ok, think i got it
  • b

    bright-gpu-74537

    09/11/2022, 9:46 PM
    @icy-zebra-52882 - wanna pull latest core and try again
  • b

    bright-gpu-74537

    09/11/2022, 9:47 PM
    (i was populating the dynamic class map - which is what "file based components" are called internally - later than i should have - in the context of class resolution)
  • r

    refined-laptop-39041

    09/11/2022, 9:50 PM
    Hey Ian, I saw you asked in Kha discord to see how to do rounded corners. Does it seem like it would be easy to do or should I just move to OpenFL or something?
  • b

    bright-gpu-74537

    09/11/2022, 9:50 PM
    it seems easy enough, but ill need to time to test and implement, and thats not going to happen tonight
  • b

    bright-gpu-74537

    09/11/2022, 9:51 PM
    you can always move to openfl "in the meantime"... i mean, isnt that the point in haxeui? That you arent locked in? 🙂
  • r

    refined-laptop-39041

    09/11/2022, 9:52 PM
    Yeah, of course. I assume that OpenFL is the most stable backend?
  • b

    bright-gpu-74537

    09/11/2022, 9:52 PM
    depends what you mean by stable, i would say haxeui-html5 is the most stable haxeui backend
  • b

    bright-gpu-74537

    09/11/2022, 9:53 PM
    followed, yeah, probably by openfl... i guess?
  • r

    refined-laptop-39041

    09/11/2022, 9:54 PM
    I guess I could just ignore rounded corners for now and focus on just getting the basics down.
  • r

    refined-laptop-39041

    09/11/2022, 9:54 PM
    Thanks
  • b

    bright-gpu-74537

    09/11/2022, 9:54 PM
    yeah, its kinda your call, if you dont use any framework specific apis, then really, its just matter of switching backend
  • b

    bright-gpu-74537

    09/11/2022, 9:55 PM
    id like to get rounded borders on kha (recently managed with heaps) so its all doable
  • r

    refined-laptop-39041

    09/11/2022, 9:55 PM
    It seem weird that Graphics2 doesn't have an official way to do so, but I suppose it makes sense.
  • r

    refined-laptop-39041

    09/11/2022, 9:55 PM
    How did you do it with Heaps?
  • b

    bright-gpu-74537

    09/11/2022, 9:57 PM
    with this abomination: https://github.com/haxeui/haxeui-heaps/blob/master/haxe/ui/backend/heaps/StyleHelper.hx#L208-L253
1...125612571258...1687Latest