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

    bright-gpu-74537

    12/22/2019, 10:43 AM
    https://github.com/haxeui/haxeui-pdcurses/blob/master/haxe/ui/backend/pdcurses/_module/styles/green/main.css
  • b

    bright-gpu-74537

    12/22/2019, 10:44 AM
    https://github.com/haxeui/haxeui-pdcurses/blob/master/haxe/ui/backend/pdcurses/ColorHelper.hx
  • b

    bright-gpu-74537

    12/22/2019, 10:47 AM
    i keep meaning to come back to pdcurses and make it "proper" (rather than an experiment), i may do that at some point soon as its pretty fun tbh, just not sure if it will even compile at this stage
  • h

    helpful-state-84881

    12/22/2019, 10:53 AM
    Is there some bigger app example somewhere? HaxeUI-demo link here points to empty repository https://github.com/haxeui/haxeui-core
  • h

    helpful-state-84881

    12/22/2019, 10:53 AM
    Or how would I get started
  • h

    helpful-state-84881

    12/22/2019, 10:54 AM
    For example, having HaxeUI app with some database backend
  • h

    helpful-state-84881

    12/22/2019, 10:54 AM
    Like SQLite
  • h

    helpful-state-84881

    12/22/2019, 10:54 AM
    or MongoDB
  • b

    bright-gpu-74537

    12/22/2019, 11:50 AM
    im not sure what you mean, bigger app in what sense?
  • b

    bright-gpu-74537

    12/22/2019, 11:51 AM
    like an example app of haxeui as some type of db frontend?
  • b

    bright-gpu-74537

    12/22/2019, 11:56 AM
    Copy code
    bash
    mkdir somefolder
    cd somefolder
    haxelib run haxeui-core create [html5|openfl|hxwidgets|...] [--haxe-develop]
    haxe html5.hxml
  • b

    bright-gpu-74537

    12/22/2019, 11:56 AM
    that will create a skeleton app if thats what you mean
  • b

    bright-gpu-74537

    12/22/2019, 11:57 AM
    then there are these https://github.com/haxeui/haxeui-guides
  • b

    bright-gpu-74537

    12/22/2019, 11:57 AM
    most however, are empty 😦
  • b

    bright-gpu-74537

    12/22/2019, 11:59 AM
    in fact, only custom-components.md and modules.md are useful in any sense of the word :/
  • u

    user

    12/22/2019, 7:15 PM
    @User I am getting an issue on my side. So when I select a component with say right click, I implemented opening a menu and I can select menu items without issue. The issue I am having is that if I want to know which component initiated the menu I can't. I had the idea that we could probably add a field to the Items that references the initial component that prompted the menu ? Would you have another solution in mind ?
  • u

    user

    12/22/2019, 7:17 PM
    in the possibility I gave we could then do
    event.target.initialTarget
    to get the initial component
  • b

    bright-gpu-74537

    12/22/2019, 7:43 PM
    isnt that what target is for? What doesnt target hold when you click the menu item?
  • b

    bright-gpu-74537

    12/22/2019, 7:43 PM
    ah, right
  • u

    user

    12/22/2019, 7:43 PM
    it holds the menu item
  • u

    user

    12/22/2019, 7:43 PM
    but I want the original component clicked
  • b

    bright-gpu-74537

    12/22/2019, 7:43 PM
    so target would be the menu item, and you want say the button that started the menu
  • b

    bright-gpu-74537

    12/22/2019, 7:43 PM
    gotcha
  • u

    user

    12/22/2019, 7:43 PM
    yep
  • b

    bright-gpu-74537

    12/22/2019, 7:44 PM
    maybe
    source
    at the event level would be better?
  • b

    bright-gpu-74537

    12/22/2019, 7:44 PM
    myEvent.source
  • b

    bright-gpu-74537

    12/22/2019, 7:44 PM
    ?
  • u

    user

    12/22/2019, 7:45 PM
    ya would make sense;
  • u

    user

    12/23/2019, 6:06 PM
    @User So how does resizing work with haxeui ? So right now, I use the kha window api to resize the buffers I draw haxeui to; This works and I resize the contents; But All the UI collisions are still using the layout from before the resize. Is there anyway to refresh UI collisions ?
  • b

    bright-gpu-74537

    12/23/2019, 6:19 PM
    sounds like a bug to me, can you open a minimal example on haxeui-core?
1...157158159...1687Latest