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

    clever-oil-61353

    06/07/2020, 8:46 AM
    oh, tooltips..... i did see that somewhere i believe, i'll do some looking.
  • c

    clever-oil-61353

    06/07/2020, 8:48 AM
    https://github.com/haxeui/haxeui-core/issues/256
  • c

    clever-oil-61353

    06/07/2020, 8:48 AM
    Ian helped someone with tooltips in that one.
  • u

    user

    06/07/2020, 8:49 AM
    hooo!!!
  • u

    user

    06/07/2020, 8:49 AM
    Screen.instance.addComponent( )
  • u

    user

    06/07/2020, 8:49 AM
    thanks
  • c

    clever-oil-61353

    06/07/2020, 9:21 AM
    also, came across this which may help... https://github.com/haxeui/hxWidgets/blob/master/samples/00-Showcase/src/Main.hx
  • c

    clever-oil-61353

    06/07/2020, 9:21 AM
    your using hxWidgets right?
  • c

    clever-oil-61353

    06/07/2020, 9:22 AM
    Line 58, i'm not sure if thats referencing a way to do tooltip or not.... but, worth a shot.
  • c

    clever-oil-61353

    06/07/2020, 9:24 AM
    and always the css/xml method of tooltips. i guess that would work with haxe.
  • b

    bright-gpu-74537

    06/07/2020, 9:57 AM
    when you set .disabled = true wxWidgets should automatically grey it out, ie, you shouldnt need to set the background colour yourself. Does that not happen on osx? What does it look like? Making a fully image based button isnt really feasable using wxWidgets as it handles it pretty badly (flashing etc), you might be able to use an image and change the resource, but the results might be a little off - what are you trying to do? Generally wxWidgets follows the platform guidelines and on OSX they are verrrry restrictive. Haxeui-qt might be an option (as that it all owner drawn and just emulates a native UI) - keep in mind though that haxeui-qt is experimental wip at this stage, but it should work There isnt any notifcation system in haxeui, however, there might be in wxWidgets, which means it could be exposed to hxWidgets and you could use that in a haxeui-hxwidgets application - but ill have to research if there is even a notification system Yeah, i still havent implemented tooltips in haxeui... people keep asking too, so maybe its time :) For android native, haxeui-android is the way to go, but i havent run it a bit, so it might need some love. Last time i did use it though it was all fine - i would like to test out the new jvm for anrdoid (rather than hxJava), maybe it will "just work" but thats probably a little optimistic 🙂
  • u

    user

    06/07/2020, 10:11 AM
    disabled do nothing on OSX (I have to grey background and disable focus), on textfield (others components seems to work as expected) no way to add mouseclick event on an image, since it"s not an interactivecomponent :( I said notification for ex, the link provided by @User is exactly what I was looking (thinks like tooltip whenrollover) I'll test haxeui-android then 😉
  • c

    clever-oil-61353

    06/07/2020, 11:50 AM
    @User Give the jvm a try..... i'm confident it will "just work"
  • u

    user

    06/07/2020, 11:02 PM
    how to do you generate an android app ?
  • u

    user

    06/07/2020, 11:02 PM
    -java build/java then import on an Android project ?
  • c

    clever-oil-61353

    06/08/2020, 12:58 AM
    using lime ?
  • c

    clever-oil-61353

    06/08/2020, 12:59 AM
    i went through the process of setting things up through lime for it a few nights back.
  • c

    clever-oil-61353

    06/08/2020, 1:01 AM
    started with lime setup android then installing a few things that it requires. android sdk, ndk, api's
  • c

    clever-oil-61353

    06/08/2020, 1:02 AM
    then once everything is setup, the compile process is taken care of depending on what os you're using and the compiler available for it.
  • u

    user

    06/08/2020, 5:08 AM
    I thought lime was for openfl
  • c

    clever-oil-61353

    06/08/2020, 6:17 AM
    https://lime.software/docs/advanced-setup/android/
  • c

    clever-oil-61353

    06/08/2020, 6:17 AM
    lime covers a few platforms
  • c

    clever-oil-61353

    06/08/2020, 6:20 AM
    its by the same group of folks as openfl.... but lime is to opengl what openfl is to flash i guess you can say.... for lack of better words.
  • c

    clever-oil-61353

    06/08/2020, 6:21 AM
    two different types of tools that can work together easily.
  • b

    bright-gpu-74537

    06/08/2020, 8:01 AM
    haxelib run haxeui-core create android
    in an empty folder, there should be a .hxml file in there with the correct params, ofc, you'll need android SDK
  • c

    clever-oil-61353

    06/08/2020, 8:04 AM
    one day i'm going to remember the haxeui-core create command
  • b

    bright-gpu-74537

    06/08/2020, 8:04 AM
    🙂
  • c

    clever-oil-61353

    06/08/2020, 8:08 AM
    spent my day going through the haxeui-openfl backend and playing around..... i believe i have enough of an idea of its workings to create one for haxeui-lime. that way it targets more of the gl side of things and not get caught up with some of the flash related items in openfl and cause me issues lol
  • c

    clever-oil-61353

    06/08/2020, 8:13 AM
    I did finally figure out what was causing my problem the other night with compiling. As i was comparing the way openfl uses its xml to figure out how it will compile to the way lime is setup to do its deciding..... i realized that openfl did a better job of determing that hl could compile the code than lime. Kind of hard to explain.... i can be horrible with words.
  • c

    clever-oil-61353

    06/08/2020, 8:14 AM
    basically, the openfl application.xml made the difference in compiling or not
1...267268269...1687Latest