haxeui / haxeui-core

The core library of the HaxeUI framework
http://haxeui.org
MIT License
340 stars 71 forks source link

Haxui-Heaps depracated calls to lineBreak: bool #497

Closed Beq-BD closed 1 year ago

Beq-BD commented 1 year ago

lineBreak: Bool doesn't seem to be a part of Heaps' api any longer, which causes problems trying to build anything with HaxeUI.

Expected Behavior

The project should just build so it can be run. It's a generated "Hello World" project from the tutorial/example.

Basically anything referring to "lineBreak" in HaxeUI+Heaps needs to be removed or corrected.

Current Behavior

Possible Solution

Steps to Reproduce (for bugs)

  1. install dependencies
  2. run haxelib run haxeui-core create heaps to create the project.
  3. run haxe heaps-hl.hxml

Media

initial_error_messages

c_comp_error

run_attempt_after_edit

Test app / minimal test case

Context

I'm currently trying to learn game dev as well as tool and general app development. And since Haxe+Heaps+hashlink are so versatile in what platforms they can target and languages Haxe can interop with, I figured it'd be the ideal way to learn and practice of both, since Heaps' default UI system is really "extra" (IMsO) with the whole CSS aspect of it since most other UI solutions don't really need that, or rather, I'm simply not a fan of CSS since I never had any reason or will to go into webdev related things. Hence why something like HaxeUI+Heaps is somewhat crucial/preferred since it would technically solves the "write once run everywhere" issue if I ever become more proficient in the language and besides general app development it gives me the ability to mess with 2D and 3D graphics and audio from the get-go without having to pull in and hack solutions together from other backends/libraries or trying to figure out how building that kind of stuff almost from scratch with Kha. Other languages like python would force potential clients to install the interpreter or be an over bloated executable while not making it easy to port the same code to the web and constantly suffers from breaking changes due to updates to the language, same mostly goes for JVM languages and their build tools that seem to fail on the regular. Lost track of how many FOSS java projects I've tried that simply refused to build.

Your Environment

Beq-BD commented 1 year ago

I realised I made a mistake about where I was posting the issue, I didn't know there were other repos for specific backends. Will close and repost in the proper place. Truly sorry. I'm new to this stuff.

ianharrigan commented 1 year ago

NP - i answered your other issue btw :)