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

    bright-gpu-74537

    04/17/2019, 11:25 PM
    shitty devices if you want them to do something
  • b

    bright-gpu-74537

    04/17/2019, 11:25 PM
    well, i have managed, but not with haxe
  • b

    bright-gpu-74537

    04/17/2019, 11:26 PM
    even hxAdruiino has some mem shortfalls (which annoy me)
  • b

    bright-gpu-74537

    04/17/2019, 11:28 PM
    i use z-wave now
  • b

    bright-gpu-74537

    04/17/2019, 11:28 PM
    (and with haxe externs ofc)
  • b

    bright-gpu-74537

    04/17/2019, 11:28 PM
    to... ... ... ... ... a c++ lib
  • b

    bright-gpu-74537

    04/25/2019, 7:28 AM
    haxeui you quality of life macros... .... this:
  • b

    bright-gpu-74537

    04/25/2019, 7:28 AM
    Copy code
    haxe
        private var __onClick:MouseEvent->Void;
        /**
         Utility property to add a single `UIEvent.CLICK` event
        **/
        @:dox(group = "Event related properties and methods")
        public var onClick(null, set):MouseEvent->Void;
        private function set_onClick(value:MouseEvent->Void):MouseEvent->Void {
            if (__onClick != null) {
                unregisterEvent(MouseEvent.CLICK, __onClick);
                __onClick = null;
            }
            registerEvent(MouseEvent.CLICK, value);
            __onClick = value;
            return value;
        }
    
        private var __onChange:UIEvent->Void;
        /**
         Utility property to add a single `UIEvent.CHANGE` event
        **/
        @:dox(group = "Event related properties and methods")
        public var onChange(null, set):UIEvent->Void;
        private function set_onChange(value:UIEvent->Void):UIEvent->Void {
            if (__onChange != null) {
                unregisterEvent(UIEvent.CHANGE, __onChange);
                __onChange = null;
            }
            registerEvent(UIEvent.CHANGE, value);
            __onChange = value;
            return value;
        }
  • b

    bright-gpu-74537

    04/25/2019, 7:28 AM
    to this:
  • b

    bright-gpu-74537

    04/25/2019, 7:29 AM
    Copy code
    haxe
        /**
         Utility property to add a single `UIEvent.CLICK` event
        **/
        @:event(MouseEvent.CLICK)       public var onClick:MouseEvent->Void;
        
        /**
         Utility property to add a single `UIEvent.CHANGE` event
        **/
        @:event(UIEvent.CHANGE)         public var onChange:UIEvent->Void;
  • b

    bright-gpu-74537

    04/25/2019, 7:29 AM
    😃
  • b

    bitter-family-72722

    04/25/2019, 9:16 AM
    discord supports Haxe syntax highlighting in fenced markdown blocks 😉
  • b

    bright-gpu-74537

    04/25/2019, 11:09 AM
    oh yeah... 😃
  • b

    bright-gpu-74537

    04/25/2019, 11:09 AM
    ugly for sure, but defo better
  • b

    bitter-family-72722

    04/25/2019, 11:11 AM
    not sure if it's actually Haxe highlighting or just mapped to JS or something
  • b

    bright-gpu-74537

    04/25/2019, 11:11 AM
    right
  • b

    bright-gpu-74537

    04/28/2019, 10:18 AM
    writing docs (well, guides really)... thoughts? modules: https://github.com/haxeui/haxeui-guides/blob/master/modules.md custom components: https://github.com/haxeui/haxeui-guides/blob/master/custom-components.md
  • b

    bright-gpu-74537

    04/28/2019, 10:19 AM
    they are basically just first drafts, but im trying to just "mind dump" as much as possible and then later i can format it, word it better, etc, etc
  • b

    bitter-family-72722

    04/28/2019, 12:30 PM
    seems nice - can't look at it in detail atm, but seems there's lots of code examples, which is good 😃
  • b

    bitter-family-72722

    04/28/2019, 12:30 PM
    maybe you could even embed HTML5 builds after the code snippets to show the results in action
  • o

    orange-van-60470

    04/28/2019, 2:05 PM
    @bright-gpu-74537 I started reading the modules.md, but found myself trying to scan for something to get more context. Specifically a diagram overview of components would provide overview, can you add a diagram at the top?
  • o

    orange-van-60470

    04/28/2019, 2:06 PM
    I can try to help if you have some quick ones that need to be made looking better
  • b

    bright-gpu-74537

    04/28/2019, 2:08 PM
    @bitter-family-72722 - yeah, that would be nice, at this point the important thing is to actually get the information out of "my head" in some type of readable format @orange-van-60470 - i mean, i can add diagrams i guess, though, as i mentioned above, whats also important is not got get bogged in trimming all these edges and "prettifying" everything - otherwise, for me, i end up spending days obsessing about some tiny diagram or something - what type of diagram did you have in mind? I mean, i cant really think of a diagram that would make sense in the context of modules
  • o

    orange-van-60470

    04/28/2019, 2:09 PM
    Different diagrams for different aspects can be easier as you don't have to get the drawing perfect, it allows visualizing the approach
  • b

    bright-gpu-74537

    04/28/2019, 2:09 PM
    yeah, i defo know what you mean - diagrams in general are easier to understand - what type of diagram do you think would make sense in the context of modules?
  • o

    orange-van-60470

    04/28/2019, 2:10 PM
    Well you say that everything is a module including the core, roughly how do some of the important modules relate
  • b

    bright-gpu-74537

    04/28/2019, 2:10 PM
    ... ... there is no relation
  • b

    bright-gpu-74537

    04/28/2019, 2:11 PM
    haxeui-core is a module that exposes some classes, has some themes, etc
  • o

    orange-van-60470

    04/28/2019, 2:11 PM
    Can you generalize with some specifics
  • b

    bright-gpu-74537

    04/28/2019, 2:11 PM
    haxeui-html5 is another module that supplies some class impls and extends some themes
1...141516...1687Latest