Haxe 3 promises with promhx

June 14, 2013

0

[audio:http://www.yourdomain.com/path/to/your_mp3_file.mp3%5D Wikipedia about Promises: In computer science, future, promise, and delay refer to constructs used for synchronizing in some concurrent programming languages. They describe an object that acts as a proxy for a result that is initially unknown, usually because the computation of its value is yet incomplete. The use of promises can greatly simplify […]

Posted in: Haxe, Uncategorized

Haxe 3 and Abstract types! Like!

February 22, 2013

0

Posted in: Haxe

Multi platform Music notation with Haxe NME – part 2 – Android

December 30, 2012

2

Yay! My music notation solution, created using the great Haxe langugage with the multiplatform NME extension, is now up and running on Android units! 🙂 Here’s a screenshot from my brand new Andersson ADT 1.0 (7 inch display, 1200 x 800, 16 GB, Android 4.1.1): And here’s a photo of my old HTC Desire phone […]

Desktop applications with Haxe and Waxe – Part 8: Adding a MessageDialog

October 19, 2012

8

In Waxe version 1.0.1, there’s no MessageDialog implementation, so we have to create one ourselves. This requires that we have the wxWidgets-2.9.3 source code and that we have compiled the needed obj files from that. (I’ll describe that process later, in part 7…) In short, this involves the following steps: Adding the wxMessageDialog implementation to […]

Posted in: Haxe, Waxe

Desktop applications with Haxe and Waxe – Part 7: Compiling the waxe.ndll

October 19, 2012

0

To be created. 🙂 Until then, check out Pah Arif‘s blog about this: http://misterpah.com/haxenme/building-waxe-haxewaxe/

Posted in: Haxe, Waxe

Multi platform Music notation with Haxe NME – part 1 – Goals

September 6, 2012

0

I’ve been working on solutions for music notation for a long time. It all started in the mid 90-s when I had the opportunity to write a book about sight-singing for choir singers. For this I had to produce hundreds of music examples, and I needed a way to get them in an editable vector […]

Desktop applications with Haxe and Waxe – Part 6: Add some style

June 3, 2012

1

NOTE: The following is only relevant if you are using Windows. I have no idea of if/how what’s described below affects the look-and-feel of apps on OSX or Linux. The simple test applications that we’ve created this far do work, but they have av very grayish boring Win95 look. Once again, Andreas Mokros has found […]

Posted in: Haxe, Waxe

Desktop applications with Haxe and Waxe – Part 5: Menus

May 22, 2012

4

Every classic desktop application has a top menu bar that at least lets us quit the program. So let’s create one! We start with an empty directory, and add the following MenuTest.hx… …and the following MenuTest.nmml: Go ahead and compile with > haxelib run nme test MenuTest.nmml neko (For compiling to c++/windows target, check Part […]

Posted in: Haxe, Waxe

Desktop applications with Haxe and Waxe – Part 4: Sizers

May 21, 2012

2

One of the fundamental concepts of wxWidgets is “sizers” – utility classes that are very useful for building a working user interface. The following article is heavily based on this one: What do these sizer things do? that can be found via the wxWidgets tutorials page. All credits to Brian Victor, the original orirginator! So, […]

Tagged:
Posted in: Haxe, Waxe

Desktop applications with Haxe and Waxe – Part 3: Adding a missing event handler

May 19, 2012

0

In part 2, we created a simple HelloWaxe application with a static text field and a quit button. Now, let’s handle some text dynamically. We start by adding a text control (wx.TextCtrl) to our HelloWaxe.hx. Now it should look something like this: Compiling and running should give the following app: What about some interaction with […]

Posted in: Haxe, Waxe