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

    limited-advantage-32748

    07/22/2020, 6:34 AM
    Not sure if that means it doesn’t work for other targets
  • b

    bright-gpu-74537

    07/22/2020, 6:35 AM
    yeah, defaults to textarea as you say, which is pretty basic
  • b

    bright-gpu-74537

    07/22/2020, 6:35 AM
    ie, its just a scrollable text field
  • b

    bright-gpu-74537

    07/22/2020, 6:35 AM
    no syntax highlight, etc
  • b

    bright-gpu-74537

    07/22/2020, 6:36 AM
    its not really a code editor at all, one of the basic haxeui components, but a fair default
  • b

    bright-gpu-74537

    07/22/2020, 6:36 AM
    i did create a syntax hightlight for openfl ages and ages ago, but it was painfully slow
  • b

    bright-gpu-74537

    07/22/2020, 6:36 AM
    might be alot better now though to be fair
  • b

    bright-gpu-74537

    07/22/2020, 6:37 AM
    https://github.com/ianharrigan/haxeui-rich-text
  • b

    bright-gpu-74537

    07/22/2020, 6:37 AM
    that was for v1
  • b

    bright-gpu-74537

    07/22/2020, 6:38 AM
    maybe at some point ill try again, but iirc it was slow and i tried to add fake threads to it (greenthreads) and then it got all flickery
  • f

    fast-rain-20339

    07/22/2020, 11:12 AM
    I've been thinking about putting a markdown editor in my program so that documents can be associated with places and entities in the world (this is a longterm feature). It'd be neat to do that with Haxe UI, but it strikes me as a hell of a lot of work, from what I've learnt from Kha Haxe UI textfields.
  • f

    fast-rain-20339

    07/22/2020, 11:12 AM
    And by markdown editor I mean headings look like headings, bold things are bolded, etc. Obviously not just markdown without rendering πŸ˜†
  • b

    bright-gpu-74537

    07/22/2020, 11:29 AM
    yeah, doesnt sound easy
  • b

    bright-gpu-74537

    07/22/2020, 11:29 AM
    esp with the fact that the textfield in kha is all one text colour, or font size, etc
  • f

    fast-rain-20339

    07/22/2020, 11:30 AM
    Exactly
  • b

    bright-gpu-74537

    07/22/2020, 11:30 AM
    i guess you could render rich text, but its not gonna be a simple thing
  • b

    bright-gpu-74537

    07/22/2020, 11:30 AM
    before:
  • b

    bright-gpu-74537

    07/22/2020, 11:30 AM
    after:
  • b

    bright-gpu-74537

    07/22/2020, 11:30 AM
    πŸ™‚
  • f

    fast-rain-20339

    07/22/2020, 11:30 AM
    sweet!
  • b

    bright-gpu-74537

    07/22/2020, 11:31 AM
    kinda crazy what a difference tweaks can actually make to a UI
  • f

    fast-rain-20339

    07/22/2020, 11:31 AM
    Yeah!
  • f

    fast-rain-20339

    07/22/2020, 11:34 AM
    Hey, anything about this jump out at you? I'm trying to fix a big and not sure where to start debugging. Seems like the yellow is flashing at the rate of a textfield cursor? That's the only regular timer I can think of, but I don't even have the textfield active. The yellow is a custom shader g4 rendered quad that should render to the full screen, completely ignoring haxe UI
  • b

    bright-gpu-74537

    07/22/2020, 11:35 AM
    yikes, thats weird
  • b

    bright-gpu-74537

    07/22/2020, 11:35 AM
    remove the text field to make sure?
  • b

    bright-gpu-74537

    07/22/2020, 11:35 AM
    or disable the timer in it
  • f

    fast-rain-20339

    07/22/2020, 11:35 AM
    I know right πŸ˜› I thought computers worked logically
  • f

    fast-rain-20339

    07/22/2020, 11:35 AM
    Good idea, I'll try that.
  • f

    fast-rain-20339

    07/22/2020, 11:38 AM
    Didn't fix it, but, on native (that video is html5): The flashing doesn't happen, and resizing when not on the main tab doesn't cause the black flickering
  • f

    fast-rain-20339

    07/22/2020, 11:38 AM
    The flickering could be somehow caused by the colour picker perhaps, because that uses a rendertarget
1...320321322...1687Latest