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

    loud-salesclerk-7438

    08/14/2019, 10:15 AM
    they are very similar, so it might affect them as well
  • b

    bright-gpu-74537

    08/14/2019, 10:17 AM
    nope...
  • b

    bright-gpu-74537

    08/14/2019, 10:17 AM
    well, ill check it out
  • b

    bright-gpu-74537

    08/14/2019, 10:27 AM
    @loud-salesclerk-7438 - fixed
  • l

    loud-salesclerk-7438

    08/14/2019, 10:50 AM
    it works, thanks!
  • l

    limited-rose-72431

    08/14/2019, 12:58 PM
    has anyone got hxWidgets working with lix? I'm trying to build the demos in the component-examples repo but getting (different) errors on both windows and linux.
  • l

    limited-rose-72431

    08/14/2019, 12:59 PM
    on windows I get "Could not find haxelib 'hxWidgets', does it need to be installed?" errors, although doing
    haxelib path hxWidgets
    shows all of the paths and defines
  • l

    limited-rose-72431

    08/14/2019, 1:00 PM
    and on linux I get errors about not being able to find hxWidgets Build.xml file
  • l

    limited-rose-72431

    08/14/2019, 1:00 PM
    never had issues with lix and hxcpp / native externs before so not sure where I'm going wrong
  • l

    limited-rose-72431

    08/14/2019, 1:01 PM
    that's the windows error if its helpful, don't have access to my linux machine right now to get the exact error
  • m

    magnificent-caravan-75149

    08/14/2019, 1:04 PM
    Here's the gist of it:
  • m

    magnificent-caravan-75149

    08/14/2019, 1:05 PM
    codeblock rTarget = kha.Image.createRenderTarget(800,300); var g2 = framebuffer.g2; g2.begin(false); Screen.instance.renderTo(g2); rTarget.g2.opacity=0.5; splScr.renderTo(rTarget.g2); g2.end();
  • m

    magnificent-caravan-75149

    08/14/2019, 1:08 PM
    I was thinking of extending Image might work as you can have multiple renderTargets. However, it seems that you need to use renderTo for each component. When I get smarter I may be able to figure it out but the above works for me
  • m

    magnificent-caravan-75149

    08/14/2019, 1:24 PM
    Ian, I tried copying your code into an example and the opacity still was 1 even thought the style says 0 (which has been my issue all along). Is there something wrong with my setup? Or is it a difference in kha versions? I'm using the latest from github
  • m

    magnificent-caravan-75149

    08/14/2019, 1:24 PM
    oh, I doing an HTML5 target on Windows
  • m

    magnificent-caravan-75149

    08/14/2019, 1:31 PM
    or is it KodeStudio? or do I need to set a parameter for it to work? Sorry for being a noob
  • b

    bright-gpu-74537

    08/14/2019, 2:09 PM
    @magnificent-caravan-75149 - are you sure you have the latest haxeui-core and haxeui-kha? @limited-rose-72431 - is hxWidgets installed? It needs to be - hxWidgets also relies on wxWidgets... so that all needs to be installed and working too, these might help a little: * https://community.haxeui.org/t/trying-haxeui-hxwidgets/83/19 * https://community.haxeui.org/t/help-installing-haxeui-hxwidgets-haxeui-hxwidgets-on-debian-gnu-linux/88/16
  • m

    magnificent-caravan-75149

    08/14/2019, 2:14 PM
    Hi Ian - I set them in haxelib from git: haxeui-core: 0.0.4 [git] haxeui-kha: [git]
  • m

    magnificent-caravan-75149

    08/14/2019, 2:15 PM
    Do I need to clone the repository then link with haxelib dev?
  • b

    bright-gpu-74537

    08/14/2019, 2:16 PM
    i use haxelib dev personally, but haxelib git should be the same... are they updated? I mean, the git versions are updated (git pull)
  • m

    magnificent-caravan-75149

    08/14/2019, 2:16 PM
    let me clone them like I do for kha
  • b

    bright-gpu-74537

    08/14/2019, 2:16 PM
    👍
  • m

    magnificent-caravan-75149

    08/14/2019, 2:32 PM
    Gee, now I feel really dumb. I guess doing haxelib git doesn't pull the most recent version of the lib. Boy, am I a rusty dinosaur
  • m

    magnificent-caravan-75149

    08/14/2019, 2:38 PM
    Looks like I do not need the renderTarget anymore and can use haxeui for all the 2d stuff I need. Now to figure out the mysteries of html/css layouts 😛
  • m

    magnificent-caravan-75149

    08/14/2019, 5:53 PM
    Looks like I do not need the renderTarget anymore and can use haxeui for all the 2d stuff I need. Now to figure out the mysteries of html/css layouts 😛
  • l

    limited-rose-72431

    08/14/2019, 6:12 PM
    thanks for the links Ian, unfortunatley it does seem to be a lix specific issue
  • l

    limited-rose-72431

    08/14/2019, 6:12 PM
    tried building with plain old haxe setup and it all worked first time, so wxwidgets was definitely installed properly
  • l

    limited-rose-72431

    08/14/2019, 6:13 PM
    had a look at the Build.xml and maybe the {haxelib:hxWidgets} is breaking lix?
  • l

    limited-rose-72431

    08/14/2019, 6:14 PM
    I didn't even know you could do that until just now! I've never used that with any of my hxcpp native libs and they've all worked fine
  • q

    quick-king-64105

    08/15/2019, 2:32 AM
    HaxeFlixel status? I'm maybe 3 weeks to returning to work on that project.
1...969798...1687Latest