Browsing All Posts filed under »Waxe«

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

October 19, 2012


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


To be created. πŸ™‚ Until then, check out Pah Arif‘s blog about this:

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

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

Desktop applications with Haxe and Waxe – Part 5: Menus

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

Desktop applications with Haxe and Waxe – Part 4: Sizers

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

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

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

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

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