WinBottler - Turn your Windows apps into Apple ones

User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Re: WinBottler - Turn your Windows apps into Apple ones

Post by Antonio Linares »

Massimo,

We are going to review (hopefully today) how fast we can have those classes ready :-)
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Re: WinBottler - Turn your Windows apps into Apple ones

Post by Antonio Linares »

regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Massimo Linossi
Posts: 474
Joined: Mon Oct 17, 2005 10:38 am
Location: Italy

Re: WinBottler - Turn your Windows apps into Apple ones

Post by Massimo Linossi »

Great news !!!
Give me a sign when Fivemac is ready for printing, and I'll place the order.
Thanks a lot.
Massimo.
P.S. One little question. In Windows, for making the dialogs, we use the Resource
Workshop. In Mac, what can we use ? And for the dialogs already made, is possible
to import them in the new system ?
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Re: WinBottler - Turn your Windows apps into Apple ones

Post by Antonio Linares »

It may be more complex than we thought but we already have some progress :-)

Code: Select all

#include "FiveMac.ch"

function Main()

   PrinterSelect()

return nil
 
Image
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Re: WinBottler - Turn your Windows apps into Apple ones

Post by Antonio Linares »

Massimo,

OSX provides "Interface Builder" to draw the resources but they use a different format than the used in Windows.

Actually coordinates have to be copied "by hand" though we could have a tool in the future to do it automatically.
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Massimo Linossi
Posts: 474
Joined: Mon Oct 17, 2005 10:38 am
Location: Italy

Re: WinBottler - Turn your Windows apps into Apple ones

Post by Massimo Linossi »

Wow, you're great !!!
Is there the possibility to start to develop with a beta release ?
Thanks a lot a many compliments for your work.
Fivemac is like LOST. Every moment there is surprise :lol: :lol: :lol:
Massimo.
P.S. If you give me some hints, I can help you to convert some classes to Fivemac.
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Re: WinBottler - Turn your Windows apps into Apple ones

Post by Antonio Linares »

Massimo,

Still a (long?) way to go, but we are already printing and OSX provides the preview automatically! :-)

TestPrn.prg

Code: Select all

#include "FiveMac.ch"

function Main()

   PrinterSelect()

return nil

function PrinterPaint()

   DrawText( 50, 200, "Printing from FiveMac", CreateFont( "Arial", 20 ) )
   
return nil   
 
Image
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Massimo Linossi
Posts: 474
Joined: Mon Oct 17, 2005 10:38 am
Location: Italy

Re: WinBottler - Turn your Windows apps into Apple ones

Post by Massimo Linossi »

WOW :P :P :P
Another great step. Great work Antonio. I'll send you a beer.
Have a nice weekend.
Massimo.
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Re: WinBottler - Turn your Windows apps into Apple ones

Post by Antonio Linares »

Massimo,

Windows, OSX and Linux are quite different worlds when we compare their GUIs APIs.

So there is no a straight way to port Windows code to OSX (cocoa) code. In fact, we use FiveWin as a compatibility layer between all of them. FiveWin/FiveMac/FiveLinux set a compatibility wrapper that easier the work of the programmer, and also offers a cross platform learning as once you know how to code in FiveWin you are ready for FiveMac and FiveLinux too :-)
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Re: WinBottler - Turn your Windows apps into Apple ones

Post by Antonio Linares »

Using colors:

Code: Select all

#include "FiveMac.ch"

function Main()

   PrinterSelect()

return nil

function PrinterPaint()

   DrawText( 50, 150, "Printing from FiveMac", CreateFont( "Arial", 20 ), CLR_BLUE() )
   DrawText( 50, 200, "Printing from FiveMac", CreateFont( "Verdana", 20 ), CLR_GREEN() )
   DrawText( 50, 250, "Printing from FiveMac", CreateFont( "Times Roman", 20 ), CLR_RED() )
   
return nil   
 
Image
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Massimo Linossi
Posts: 474
Joined: Mon Oct 17, 2005 10:38 am
Location: Italy

Re: WinBottler - Turn your Windows apps into Apple ones

Post by Massimo Linossi »

Are you working today ? Your wife will not be happy...
Have a nice day.
Massimo.
P.S. You're making an incredible work. Compliments :P :P :P
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Re: WinBottler - Turn your Windows apps into Apple ones

Post by Antonio Linares »

Another utility to run Windows apps on Mac OSX:

http://www.winonx.com/

I have not tested it myself yet. I think it may the same technology as WinBottler with the difference that WinOnx is a commercial product, but I may be wrong...
regards, saludos

Antonio Linares
www.fivetechsoft.com
Post Reply