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

    limited-advantage-32748

    02/04/2020, 11:40 PM
    Having issues getting haxe-ui to compile post transpiling
  • l

    limited-advantage-32748

    02/04/2020, 11:40 PM
    I'm really confused as no other source I have is causing this, but i can't find the smoking gun here
  • l

    limited-advantage-32748

    02/04/2020, 11:40 PM
    I get this error
    Copy code
    Error: Events.cpp
    ./src/haxe/ui/components/_Switch/Events.cpp(80): error C2039: '_switch': is not a member of 'haxe::ui::components::_Switch::Events_obj'
    include\haxe/ui/components/_Switch/Events.h(41): note: see declaration of 'haxe::ui::components::_Switch::Events_obj'
    
    Build halted with errors.
  • l

    limited-advantage-32748

    02/04/2020, 11:41 PM
    And only this error when I have ``import haxe.ui.Toolkit;`` in my Main.hx
  • l

    limited-advantage-32748

    02/04/2020, 11:41 PM
    commenting out the import and the source compiles just fine
  • l

    limited-advantage-32748

    02/04/2020, 11:42 PM
    ^ full output
  • b

    bright-gpu-74537

    02/05/2020, 12:15 AM
    sounds weird... can you zip up a test project? What version of haxe, haxeui, and any backend?
  • l

    limited-advantage-32748

    02/05/2020, 6:50 AM
    I’m not sure if I can. Starting from a fresh project it works just fine, so I’ll need to widdle down this source and send it over if I figure it out
  • b

    bright-gpu-74537

    02/05/2020, 7:00 AM
    fair enough, lemme know if i can help or if you manage a minimal test... super strange though
  • b

    bitter-family-72722

    02/05/2020, 9:13 AM
    could be a gencpp bug
  • b

    bright-gpu-74537

    02/05/2020, 9:33 AM
    hxcpp bug you mean?
  • b

    bitter-family-72722

    02/05/2020, 9:39 AM
    no
  • b

    bitter-family-72722

    02/05/2020, 9:39 AM
    gencpp = the component of the compiler that generates the cpp code
  • b

    bitter-family-72722

    02/05/2020, 9:39 AM
    if there's a native compilation error, the issue is often there
  • b

    bright-gpu-74537

    02/05/2020, 9:47 AM
    gotcha
  • b

    bright-gpu-74537

    02/05/2020, 9:47 AM
    seems strange so maybe thats it then
  • t

    thousands-house-41767

    02/09/2020, 9:52 AM
    Hi! 🙂 I'm trying to understand TableView a bit more. I'd like to modify how a certain cell is rendered. Is there any way to do it?
  • t

    thousands-house-41767

    02/09/2020, 11:32 PM
    I have a feeling that scrollviews are broken on HTML5. It's getting late but we can discuss it later if needed
  • b

    bright-gpu-74537

    02/10/2020, 8:30 AM
    @User - oh yeah? Do you have an example? All seem fine this end
  • b

    bright-gpu-74537

    02/10/2020, 8:31 AM
    what backend?
  • t

    thousands-house-41767

    02/10/2020, 8:33 AM
    Trying to deal with Paris' fucking transport system so nothing available right now but basically it seems like scrollView.removeAllChildren (I think that's the function) doesn't work correctly and prevents elements from being added afterwards
  • t

    thousands-house-41767

    02/10/2020, 9:06 PM
    BTW, where can I see an example of tableview?
  • l

    loud-salesclerk-7438

    02/10/2020, 9:42 PM
    you can try https://github.com/AlexHaxe/haxeui-tableview-demo (builds a TableView via code; a pure XML version is probably a lot shorter)
  • t

    thousands-house-41767

    02/10/2020, 10:30 PM
    Thank you !
  • b

    bright-gpu-74537

    02/10/2020, 11:42 PM
    hmmm, i thought there was an example here: https://github.com/haxeui/component-examples, but there isnt
  • b

    bright-gpu-74537

    02/10/2020, 11:46 PM
    this might help though: http://haxeui.org/builder/?pjyxyt
  • u

    user

    02/11/2020, 5:21 PM
    Would MouseEvent translate to touch event on phone or tablet ? Because in kha a mouse click is the same as a touch click on mobile. Since Haxeui-kha probably uses the notifiers from kha it should work ?
  • b

    bright-gpu-74537

    02/11/2020, 5:29 PM
    i think it should work then...
  • b

    bright-gpu-74537

    02/11/2020, 5:30 PM
    you might get some scaling issue on haxeui-kha on mobile, it needs a rethink to be honest, but i just havent had time to play with it yet
  • n

    nutritious-boots-87264

    02/12/2020, 2:28 PM
    I am now looking at those tableview examples. Is there a way for handling editable items?
1...177178179...1687Latest