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

    sparse-table-35282

    05/14/2019, 1:28 PM
    No worries, I understand 😉
  • b

    bright-gpu-74537

    05/16/2019, 1:56 PM
    @sparse-table-35282 - so just to understand the issue is that the tab key isnt working correctly?
  • b

    bright-gpu-74537

    05/16/2019, 2:12 PM
    also, you mentioned haxeui-kha doesnt work with new-component branch? Can you elaborate? Seems to work for me
  • b

    bright-gpu-74537

    05/16/2019, 2:19 PM
    seems to work for openfl (tabbing)... though i would also expect the scrollview to scroll with the tabbing, which im going to fix now
  • b

    bright-gpu-74537

    05/16/2019, 2:19 PM
    have i just go the total wrong end of the stick here?
  • b

    bright-gpu-74537

    05/16/2019, 3:27 PM
    ... i think that makes sense (visually)
  • a

    ambitious-knife-25690

    05/16/2019, 3:43 PM
    I agree
  • b

    brave-kangaroo-30399

    05/16/2019, 3:51 PM
    Wait what
  • b

    brave-kangaroo-30399

    05/16/2019, 3:52 PM
    I didn’t know that was a thing
  • b

    brave-kangaroo-30399

    05/16/2019, 3:52 PM
    Can you customize the keys and also go backwards?
  • b

    brave-kangaroo-30399

    05/16/2019, 3:53 PM
    Or potentially customize the direction it goes? I made a custom thing using the arrow keys to jump around to non-grid aligned buttons
  • b

    bright-gpu-74537

    05/16/2019, 4:08 PM
    yeah, it needs some work for sure (the general FocusManager) but a basic impl is there
  • b

    bright-gpu-74537

    05/16/2019, 4:08 PM
    the idea, eventually, is to be able to handle totally custom ways to "get around"... like tabbing, arrows, gamepad, etc
  • b

    bright-gpu-74537

    05/16/2019, 4:09 PM
    but focus manager hasnt been touched it a fair amount of time, so certainly needs some love
  • b

    bright-gpu-74537

    05/16/2019, 4:10 PM
    your arrow key work would almost certainly be good to look at... you got it online anywhere?
  • b

    brave-kangaroo-30399

    05/16/2019, 6:29 PM
    Nah and it was very hacky, like diving into HaxeUI private vars
  • b

    brave-kangaroo-30399

    05/16/2019, 6:30 PM
    But essentially, each button was represented by a node with a
    to
    array of nodes and
    back
    node
  • b

    bright-gpu-74537

    05/16/2019, 6:31 PM
    yeah, focus manager would need some type of "hints" to allow for things like arrow key / gamepad / tv remote navigation
  • b

    brave-kangaroo-30399

    05/16/2019, 6:31 PM
    To was like keyboard key => next node, back was a single key for moving back a menu kind of thing
  • b

    bright-gpu-74537

    05/16/2019, 6:31 PM
    at the moment it just uses child order
  • b

    bright-gpu-74537

    05/16/2019, 6:32 PM
    which is fine for desktop, but not so much for other input methods
  • b

    bright-gpu-74537

    05/16/2019, 6:33 PM
    but it has the ability to push and pop views, so should be able to be fairly clever about things - but again, needs some real love... this issue above is the first time ive looked at it in i dont know how long... maybe from the initial inception? :/
  • b

    bright-gpu-74537

    05/16/2019, 6:34 PM
    ScrollView::ensureVisible was a worthwhile method to add anyway, even if the focus manager gets totally rewritten
  • q

    quick-king-64105

    05/18/2019, 1:59 AM
    Could not get FlxSubstate working for the life of me nicely with HaxeUI.
  • q

    quick-king-64105

    05/18/2019, 1:59 AM
    The UI didn't seem to listen to parent pause.
  • q

    quick-king-64105

    05/18/2019, 2:00 AM
    And the toolkit seemed fixated on the main state's ui flxgroup instead of the substate's (within scope of the substate itself)
  • q

    quick-king-64105

    05/18/2019, 2:03 AM
    It's on my list to create a proper test case project, but just be aware "this is a thing that happened"
  • b

    brave-kangaroo-30399

    05/18/2019, 2:27 AM
    @quick-king-64105 when you init the toolkit, what does that look like?
  • b

    brave-kangaroo-30399

    05/18/2019, 2:27 AM
    If you specify the state or don’t specify anything, it uses the FlxState
  • b

    brave-kangaroo-30399

    05/18/2019, 2:28 AM
    IIRC, the substate isn’t a child of the state so it never gets seen by HaxeUI
1...282930...1687Latest