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

    bright-gpu-74537

    06/15/2019, 2:58 PM
    and what does that mean? No mouse events?
  • b

    brave-kangaroo-30399

    06/15/2019, 2:58 PM
    Means it doesn’t get `update`d
  • b

    brave-kangaroo-30399

    06/15/2019, 2:58 PM
    So no events
  • b

    bright-gpu-74537

    06/15/2019, 2:58 PM
    right
  • b

    bright-gpu-74537

    06/15/2019, 2:58 PM
    ok, and so whats the issue?
  • b

    bright-gpu-74537

    06/15/2019, 2:59 PM
    inactive haxeui-flixel states still get events?
  • b

    brave-kangaroo-30399

    06/15/2019, 2:59 PM
    Yeah, like a pop up menu would typically disable whatever UI is underneath it
  • b

    brave-kangaroo-30399

    06/15/2019, 2:59 PM
    Or behind it in layers I should say, it may not cover all UI elements below
  • b

    bright-gpu-74537

    06/15/2019, 3:00 PM
    right, i see
  • b

    brave-kangaroo-30399

    06/15/2019, 3:00 PM
    I could do it in CompImpl, by ignoring mouse events if it’s inactive
  • b

    brave-kangaroo-30399

    06/15/2019, 3:00 PM
    But I’m wondering if that covers everything
  • b

    bright-gpu-74537

    06/15/2019, 3:00 PM
    wouldnt it be haxeui-flixels job to respond (or honour) active = false?
  • b

    bright-gpu-74537

    06/15/2019, 3:01 PM
    i just mean, what does "deactivated" mean to haxeui-core?
  • b

    brave-kangaroo-30399

    06/15/2019, 3:01 PM
    Yes but does that happen in the mouse handler or in something that core overrides
  • b

    brave-kangaroo-30399

    06/15/2019, 3:01 PM
    I was comparing it to visible
  • b

    brave-kangaroo-30399

    06/15/2019, 3:01 PM
    Or hidden? Whatever core calls it
  • b

    bright-gpu-74537

    06/15/2019, 3:02 PM
    right, like
    handleVisible
    or something?
  • b

    brave-kangaroo-30399

    06/15/2019, 3:02 PM
    HandleActive?
  • b

    brave-kangaroo-30399

    06/15/2019, 3:02 PM
    Not sure it makes sense
  • b

    brave-kangaroo-30399

    06/15/2019, 3:02 PM
    Just wanted to talk it out before committing something
  • b

    bright-gpu-74537

    06/15/2019, 3:02 PM
    i mean, its possible, ofc...
  • b

    bright-gpu-74537

    06/15/2019, 3:03 PM
    and, it doesnt have to make sense for everything, esp with the new hierarchy
  • b

    bright-gpu-74537

    06/15/2019, 3:03 PM
    i wonder if the path of least resistance at the moment is to avoid core changes, and just skip mouse events in haxeui-flixel
  • b

    bright-gpu-74537

    06/15/2019, 3:03 PM
    (in active = false)
  • b

    bright-gpu-74537

    06/15/2019, 3:04 PM
    and if it, indeed, doesnt cover everything then we look at possibly adding a deactivated to core?
  • b

    bright-gpu-74537

    06/15/2019, 3:04 PM
    though im still unsure what deactivated would actually achieve being core
  • q

    quick-king-64105

    06/15/2019, 3:04 PM
    I would be concerned about what other events haxeui is listening for.
  • b

    brave-kangaroo-30399

    06/15/2019, 3:04 PM
    All events are routed through the backend though right?
  • q

    quick-king-64105

    06/15/2019, 3:04 PM
    No input or update events should happen to the parent state when a substate is active and saying "pause parent" (which is default)
  • b

    brave-kangaroo-30399

    06/15/2019, 3:04 PM
    I guess even Screen events are...
1...596061...1687Latest