Browsing All Posts filed under »Haxe«

Haxe 3 promises with promhx

June 14, 2013

0

[audio:http://www.yourdomain.com/path/to/your_mp3_file.mp3] 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 […]

Haxe 3 and Abstract types! Like!

February 22, 2013

0

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 […]

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/

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 […]

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 […]

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, […]

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 […]

Desktop applications with Haxe and Waxe – part 2: Hello Waxe!

May 19, 2012

2

Ok, now that we we have a working Haxe/NME/Waxe installation that lets us compile theΒ  waxe samples, we can start building a Hello Waxe application from scratch! Somewhere on your hard drive, create a directory and name it – say – “hellowaxe”. In that directory, create a new haxe class file with the name HelloWaxe.hx […]