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

    fast-rain-20339

    07/10/2020, 1:20 PM
    Ahhhaaa! I was in the middle of writing a test case, believe me, when I had an idea and I've fixed the issue
  • f

    fast-rain-20339

    07/10/2020, 1:20 PM
    I wasn't calling
    super.renderTo
  • f

    fast-rain-20339

    07/10/2020, 1:20 PM
    It works!
  • f

    fast-rain-20339

    07/10/2020, 1:20 PM
    I can still make the testcase though 🙂
  • f

    fast-rain-20339

    07/10/2020, 1:21 PM
    Batching still breaks it 😐
  • b

    bright-gpu-74537

    07/10/2020, 1:22 PM
    yeah, i think thats why we need to expose a "renderXYZ" so we can "slot" it into a batched render
  • f

    fast-rain-20339

    07/10/2020, 1:22 PM
    👍 I haven't looked into batching too much.
  • b

    bright-gpu-74537

    07/10/2020, 1:22 PM
    so basically, you wouldnt override the renderTo, you would override the "renderContents" function
  • b

    bright-gpu-74537

    07/10/2020, 1:23 PM
    that means a) you dont need to remember to call super.renderTo and also means we can render the contents "correctly" at the right time (batch wise)... well, that would be the idea anyway
  • f

    fast-rain-20339

    07/10/2020, 1:23 PM
    Sounds great
  • f

    fast-rain-20339

    07/10/2020, 1:43 PM
    MOUSE_MOVE
    doesn't seem to be firing, anything I need to do there?
  • f

    fast-rain-20339

    07/10/2020, 1:43 PM
    I've done
    registerEvent(MouseEvent.MOUSE_MOVE, onMouseMove)
  • b

    bright-gpu-74537

    07/10/2020, 1:44 PM
    nope, should work
  • f

    fast-rain-20339

    07/10/2020, 1:44 PM
    Hmm, okay.
  • b

    bright-gpu-74537

    07/10/2020, 1:44 PM
    code example, or it didnt happen 😄
  • f

    fast-rain-20339

    07/10/2020, 1:44 PM
    This is for the code example 😆
  • b

    bright-gpu-74537

    07/10/2020, 1:45 PM
    fair enough then 😉
  • b

    bright-gpu-74537

    07/10/2020, 1:45 PM
    what kind of insane resolution do you have??
  • b

    bright-gpu-74537

    07/10/2020, 1:45 PM
    and how come you spell Colour like a normal person? 🙂
  • f

    fast-rain-20339

    07/10/2020, 1:45 PM
    1920x1080?
  • b

    bright-gpu-74537

    07/10/2020, 1:46 PM
    oh, text looks tiny is all
  • f

    fast-rain-20339

    07/10/2020, 1:46 PM
    Aha! You spell Colour normally too? Awesome 😄
  • b

    bright-gpu-74537

    07/10/2020, 1:46 PM
    Well, im english, so dont speak yank, and especially dont write it
  • b

    bright-gpu-74537

    07/10/2020, 1:46 PM
    😄
  • b

    bright-gpu-74537

    07/10/2020, 1:47 PM
    though all over haxeui ive used color... ... ... ... because americans
  • f

    fast-rain-20339

    07/10/2020, 1:47 PM
    "because americans" indeed 😛
  • b

    bright-gpu-74537

    07/10/2020, 1:47 PM
    😅
  • f

    fast-rain-20339

    07/10/2020, 1:47 PM
    left
    and
    top
    should be set automatically?
  • b

    bright-gpu-74537

    07/10/2020, 1:47 PM
    yessir
  • f

    fast-rain-20339

    07/10/2020, 1:48 PM
    Alright, well this tech demo shows a number of problems (either of my understanding or in haxe ui 😛 ). Push it to github?
1...311312313...1687Latest