 |
 |
XWindow app in Quartz?
|
 |
|
 |
|
Moderator Emeritus 
Join Date: Mar 2001
Location: Austin, MN, USA
Status:
Offline
|
|
I have an X Windows app running fine in XDarwin. I also have the source code for this app from which I compiled it.
I have no idea how difficult a task this might be, but what steps would be necessary to get the UI out of X Windows and into Aqua/Quartz. Is it possible to use Interface builder to build a UI around it? Is there a way to translate the buttons to something Quartz knows?
The UI isn't very extensive. There are maybe a dozen buttons, a couple text fields that display information and I think there's 1 dialog for each button. That's about it.
There is also a command-line version of the app. It does the same thing but without the UI. Each is built separately though and I don't believe either relies on the other.
The program is SPIM. I don't know if that helps anyone answer my question.
Thanks.
|
|
|
| |
|
|
|
 |
|
 |
|
Mac Elite
Join Date: Sep 2000
Location: Tempe, AZ
Status:
Offline
|
|
It completely depends upon the application. If the seperation between GUI and implementation is good, it shouldn't be too tough.
Yeah, I know this isn't a very helpful answer.
You could also look at using NSTask to talk to the command-line-only version.
|
Geekspiff - generating spiffdiddlee software since before you began paying attention.
|
| |
|
|
|
 |
|
 |
|
Fresh-Faced Recruit
Join Date: Feb 2001
Status:
Offline
|
|
Originally posted by Xeo:
I have an X Windows app running fine in XDarwin. I also have the source code for this app from which I compiled it.
I have no idea how difficult a task this might be, but what steps would be necessary to get the UI out of X Windows and into Aqua/Quartz. Is it possible to use Interface builder to build a UI around it? Is there a way to translate the buttons to something Quartz knows?
The UI isn't very extensive. There are maybe a dozen buttons, a couple text fields that display information and I think there's 1 dialog for each button. That's about it.
There is also a command-line version of the app. It does the same thing but without the UI. Each is built separately though and I don't believe either relies on the other.
The program is SPIM. I don't know if that helps anyone answer my question.
Thanks.
Actually, if it is a pretty simple app, you could just write a front-end in ASStudio. If there is a command line version, it is even better, as you could just issue:
do shell script blah
There is also a bridge from ASStudio to Obj-C, so might as well start from the former.
|
|
|
| |
|
|
|
 |
|
 |
|
Senior User
Join Date: Mar 2001
Location: Bay Area, CA
Status:
Offline
|
|
|
|
|
|
| |
|
|
|
 |
 |
|
 |
|
|
|
|
|

|
|
 |
Forum Rules
|
 |
 |
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
|
HTML code is Off
|
|
|
|
|
|
 |
 |
 |
 |
|
 |