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 […]
October 19, 2012
To be created. π Until then, check out Pah Arif‘s blog about this: http://misterpah.com/haxenme/building-waxe-haxewaxe/
June 3, 2012
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 […]
May 22, 2012
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 […]
May 21, 2012
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, […]
May 19, 2012
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 […]
May 19, 2012
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 […]
May 19, 2012
Haxe (haxe.org), created by Nicolas Canasse,Β is amazing. I’ve never before had this feeling of “linearity” between the original programming ideas and the running results. Being able to use the same codebase both on server applications (targeting neko or php) and on the browser client (js or flash) is a huge timesaver. Compiling the same […]
October 19, 2012
8