A Rough FireMonkey Conversion

ZGE Source Code discussion. Ask questions, present your changes, propose patches etc.

Moderator: Moderators

Post Reply
keymasher
Posts: 39
Joined: Sun Feb 20, 2011 8:54 am

A Rough FireMonkey Conversion

Post by keymasher » Sun Oct 16, 2011 10:55 am

Hey Guys,

I noticed ZGE is in the process of being updated for xe2, and I was thinking it'd be cool to get the editor running on OSX. Anyway I had to convert a VCL project for work, picked up a copy of MIDA which helped alot.

I MIDA over the ZDesigner folder and here is the output, there are some things that need reworking, as there seems to be no direct equivalent in FireMonkey

TImageList, TAction, TActionList, TListView
in dmCommon, frmEditor and frmSelectComponent

When opening project you can safely do 'Ignore All'.

I hope this helps with the conversion process a little, I don't have much free time but I'll try to help contribute to this.
Attachments
ZGEFireMonkey.zip
(104.74 KiB) Downloaded 520 times

User avatar
VilleK
Site Admin
Posts: 2172
Joined: Mon Jan 15, 2007 4:50 pm
Location: Stockholm, Sweden
Contact:

Post by VilleK » Mon Oct 17, 2011 7:07 am

Cool, thanks! I haven't tested MIDA but I assume it is a tool that assists in conversion between VCL and FireMonkey. I will examine the code you posted and see how much work it would mean to make a full conversion. There are some custom VCL code in ZGE such as the project treeview that inherits from TTreeView and a few other things that probably needs a bit of work. We could do a branch in Subversion for the FireMonkey version so the VCL version is not abandoned. VCL with styles looks pretty good too, but the cross-platform aspects of FireMonkey makes it interesting.

keymasher
Posts: 39
Joined: Sun Feb 20, 2011 8:54 am

Post by keymasher » Tue Oct 18, 2011 5:32 am

Yes please let me know your thoughts on how much work it will be, and what needs to be done, I can get a resource to work on this, if not myself.

Post Reply