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

    user

    06/10/2020, 8:17 PM
    for the ImageButton, I'm working on it...not finished but interesting because I had to dig on component inside 😉
  • b

    bright-gpu-74537

    06/10/2020, 9:27 PM
    i guess the composite backends (openfl, kha, html5, nme etc) are more like flex in the sense that all the component visuals are 100% drawn by haxeui (well, the backend) so the look is consistent there - but its not a native look and they arent native components (scrollbars being the perfect example)
  • b

    bright-gpu-74537

    06/10/2020, 9:27 PM
    look forward to your image button, i think i still might make image interactive anyway, as it seems like it should be
  • c

    clever-oil-61353

    06/11/2020, 11:03 AM
    Good morn/noon
  • b

    bright-gpu-74537

    06/11/2020, 12:12 PM
    guten morgan 🙂
  • c

    cool-psychiatrist-49311

    06/12/2020, 5:29 AM
    is there any helper to handle drag'n'drop? or I need to track manually the mouse down/move/up events?
  • b

    bright-gpu-74537

    06/12/2020, 7:26 AM
    there is nothing built in no, its been asked about before, but im always a little weary of creating a system in haxeui-core as it likely my assumption of needs for d&d may be different from "real" needs
  • b

    bright-gpu-74537

    06/12/2020, 7:27 AM
    what, to you, would be needed for a d&d system? (just to gauge what generic system should offer)
  • c

    cool-psychiatrist-49311

    06/12/2020, 7:30 AM
    I am starting with a very basic "drag something to drop to an area". But I think it is fair to not to built-in dnd because it could be very opinionated.
  • c

    cool-psychiatrist-49311

    06/12/2020, 7:31 AM
    btw are there tips how to start using
    haxeui-theme-kenny
    ?
  • c

    cool-psychiatrist-49311

    06/12/2020, 7:32 AM
    (I am planning to build a game, so currently I am just quickly evaluating various aspects of haxeui)
  • b

    bright-gpu-74537

    06/12/2020, 7:38 AM
    > because it could be very opinionated.
  • b

    bright-gpu-74537

    06/12/2020, 7:38 AM
    yeah
  • b

    bright-gpu-74537

    06/12/2020, 7:39 AM
    haha, i forgot about the kenney theme! 😮 I think its mostly ready, ill have to have a check, i know i found a few issues that it exposed but i cant remember what they were now and if i fixed them or not - what backend are you looking at out of interest?
  • c

    cool-psychiatrist-49311

    06/12/2020, 7:39 AM
    I am using heaps now
  • b

    bright-gpu-74537

    06/12/2020, 7:41 AM
    cool - ill give the theme the once over again sometime this weekend and get back up to speed with what state i left it in
  • c

    cool-psychiatrist-49311

    06/12/2020, 7:43 AM
    do you have an example how to actually use it I assume I have to somehow "load" the module.xml file?
  • b

    bright-gpu-74537

    06/12/2020, 7:45 AM
    i think you should be able to just include the haxelib in your project and then "Toolkit.theme = 'kenney'"
  • b

    bright-gpu-74537

    06/12/2020, 7:45 AM
    ... i think thats the name of it anyway, ill check it its module.xml
  • c

    cool-psychiatrist-49311

    06/12/2020, 7:45 AM
    oops, because what on github is not an haxelib yet
  • b

    bright-gpu-74537

    06/12/2020, 7:46 AM
    ah, i probably have it setup as "haxelib dev"
  • c

    cool-psychiatrist-49311

    06/12/2020, 7:46 AM
    ok, will try
  • b

    bright-gpu-74537

    06/12/2020, 7:48 AM
    btw, haxeui-heaps still has some issues, especially around mouse
  • b

    bright-gpu-74537

    06/12/2020, 7:48 AM
    i remember having to roll out my own mouse handling stuff for some reason (which im sure will become apparent to me once i look again) and its not right
  • b

    bright-gpu-74537

    06/12/2020, 7:49 AM
    so i either need to work out how to use heaps in built stuff correctly, or get my mouse stuff to work properly
  • c

    cool-psychiatrist-49311

    06/12/2020, 7:52 AM
    https://github.com/haxeui/haxeui-theme-kenney the repo is basically just a xml + bunch of assets i wonder how it could work as an haxelib... anyway I get black screen now, with
    Tookit.theme = 'kenney'
  • c

    cool-psychiatrist-49311

    06/12/2020, 7:52 AM
    I still think I need to somehow "load" the module.xml first?
  • b

    bright-gpu-74537

    06/12/2020, 7:52 AM
    you should just be able to
    -lib
    it, haxeui-core will scan for module.xml's
  • b

    bright-gpu-74537

    06/12/2020, 7:53 AM
    lemme try real quick, but im not going to be around for most of today
  • c

    cool-psychiatrist-49311

    06/12/2020, 7:53 AM
    arghh
1...271272273...1687Latest