WinBottler - Turn your Windows apps into Apple ones

Re: WinBottler - Turn your Windows apps into Apple ones

Postby Antonio Linares » Thu Feb 11, 2010 9:28 am

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: 42099
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain


Re: WinBottler - Turn your Windows apps into Apple ones

Postby Massimo Linossi » Thu Feb 11, 2010 10:58 am

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
Massimo Linossi
 
Posts: 498
Joined: Mon Oct 17, 2005 10:38 am
Location: Italy

Re: WinBottler - Turn your Windows apps into Apple ones

Postby Antonio Linares » Thu Feb 11, 2010 11:33 pm

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

Code: Select all  Expand view

#include "FiveMac.ch"

function Main()

   PrinterSelect()

return nil
 

Image
regards, saludos

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

Re: WinBottler - Turn your Windows apps into Apple ones

Postby Antonio Linares » Thu Feb 11, 2010 11:42 pm

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
Antonio Linares
Site Admin
 
Posts: 42099
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: WinBottler - Turn your Windows apps into Apple ones

Postby Massimo Linossi » Fri Feb 12, 2010 7:16 am

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
Massimo Linossi
 
Posts: 498
Joined: Mon Oct 17, 2005 10:38 am
Location: Italy

Re: WinBottler - Turn your Windows apps into Apple ones

Postby Antonio Linares » Sat Feb 13, 2010 12:37 pm

Massimo,

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

TestPrn.prg
Code: Select all  Expand view
#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
Antonio Linares
Site Admin
 
Posts: 42099
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: WinBottler - Turn your Windows apps into Apple ones

Postby Massimo Linossi » Sat Feb 13, 2010 6:00 pm

WOW :P :P :P
Another great step. Great work Antonio. I'll send you a beer.
Have a nice weekend.
Massimo.
User avatar
Massimo Linossi
 
Posts: 498
Joined: Mon Oct 17, 2005 10:38 am
Location: Italy

Re: WinBottler - Turn your Windows apps into Apple ones

Postby Antonio Linares » Sat Feb 13, 2010 6:39 pm

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: 42099
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: WinBottler - Turn your Windows apps into Apple ones

Postby Antonio Linares » Sun Feb 14, 2010 9:44 am

Using colors:
Code: Select all  Expand view
#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
Antonio Linares
Site Admin
 
Posts: 42099
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: WinBottler - Turn your Windows apps into Apple ones

Postby Massimo Linossi » Sun Feb 14, 2010 10:19 am

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
Massimo Linossi
 
Posts: 498
Joined: Mon Oct 17, 2005 10:38 am
Location: Italy

Re: WinBottler - Turn your Windows apps into Apple ones

Postby Antonio Linares » Mon Apr 01, 2013 4:59 pm

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
User avatar
Antonio Linares
Site Admin
 
Posts: 42099
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Previous

Return to Off Topic / Otros temas

Who is online

Users browsing this forum: No registered users and 14 guests