29 December 2007, 12:09 | #1 |
Registered User
Join Date: Aug 2006
Location: Italy
Posts: 109
|
Cross-platform gui?
Toni, would you ever consider switching the gui to a cross platform gui toolkit?
Gtk, qt and even wxwidgets (which I personally don't like) are very mature nowadays, and often they provide better and cleaner api than win32 native counterpart. I'm not talking about the e-uae gui, but a rewrite from scratch that resemble actual winuae gui (and features). And, if for your reasons you aren't interested in starting such a conversion, would you accept working in cooperation with other folks if someone provide you an almost done rewrite of the gui in another toolkit (sure, only if the code is good enough...)? |
29 December 2007, 12:38 | #2 | |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,518
|
Quote:
Second part: 'perhaps'. But it must not require any extra DLLs. (and static linking must not mean 1M+ bigger exe..) and it MUST look "normal". I really hate Windows applications that have non-standard looking GUI (especially most Java programs..) |
|
29 December 2007, 13:40 | #3 |
Registered User
Join Date: Jul 2007
Location: Australia
Posts: 189
|
We could do with a GUI with theming support.. Look at winamp. Make WinUAE's GUI look like OS3.x, that'd be interesting.. Can't say i'd use it though
|
29 December 2007, 15:44 | #4 | |||
Registered User
Join Date: Aug 2006
Location: Italy
Posts: 109
|
Quote:
Quote:
Quote:
Speaking about Java, that could the problem of (hopefully old) Java programs coded with AWT/Swing that do not choose correctly Look&Feel aspect, maybe because they are relying on defaults of the sdk version they were compiled on. AWT/Swing provide its own theming mechanism, but take a look of what can be done using third party Look&Feel aspects. Using other toolkit, such as SWT, you can directly use native widgets of the underlying platform. Other differences between AWT/Swing and SWT? AWT/Swing is just a love to code with, probably the most clean/polished/easy to use toolkit on the earth. SWT is a lower level toolkit, and it's part of the more complex Rich Client Platform (RCP) framework, but eclipse, azureus and other famous java apps are coded with it. |
|||
29 December 2007, 17:11 | #5 |
Moderator
Join Date: Jan 2002
Location: Chicago, IL
Posts: 3,379
|
Toni I thought the next version of WinUAE was done 100% in Java? Just kidden.
|
30 December 2007, 12:10 | #6 |
Registered User
Join Date: Aug 2006
Location: Italy
Posts: 109
|
|
02 January 2008, 10:52 | #7 |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,518
|
|
02 January 2008, 18:05 | #8 |
Registered User
Join Date: Sep 2007
Location: Las Cruces, USA
Age: 71
Posts: 351
|
I'm sorry, but I have to say this.
Several times now I've read threads where people have wanted the GUI done over, I don't understand this. The GUI looks good enough, it works good enough, WinUAE can be configured easily, so what's the big deal? The more time Toni spends doing the GUI less time he's spending on the emulator itself. Lets face it, the emulator part is the only thing that really counts. If people are going to spend all their time staring at and using the GUI then they shouldn't be using the emulator to begin with. It's not about the GUI it's about the Amiga emulator, the GUI is simply a tool. This is my main gripe about software in general, to many resources are put into making the GUI look good and not enough are put into making the GUI and program work good. Example-Windows. |
02 January 2008, 22:29 | #9 |
Phone Zen
Join Date: Jun 2006
Location: Banned
Age: 52
Posts: 234
|
It doesn't seem like there's much danger of Toni being so consumed by the GUI as to let other work on WinUAE slide... But I do agree that for the emulator itself, the GUI needs to only be functional and that it is. It's the job of a frontend like Lemonade or Gamebase Amiga to look flashy or easy or whatever. Someone could even do a frontend that has some new GUI and just writes a new config and launches WinUAE.
But I think this has more to do with trying to port WinUAE or perhaps just the beginning steps to remove dependency on Windows. I'm no programmer, but isn't that the idea of a crossplatform GUI? |
03 January 2008, 14:17 | #10 | ||
Registered User
Join Date: Aug 2006
Location: Italy
Posts: 109
|
Quote:
Quote:
You simply excluded portability from your reasoning. And portability often add great value to software. It was a great value that original uae (unix amiga emulator) was written in portable ansi C, so today you can have Win-uae, no? |
||
03 January 2008, 14:18 | #11 |
Registered User
Join Date: Aug 2006
Location: Italy
Posts: 109
|
|
03 January 2008, 14:58 | #12 |
Registered User
Join Date: Aug 2006
Location: Italy
Posts: 109
|
That could depends on how you thought communication core --> gui (dunno, at the moment). There are lot of programs having core in C and gui in C++, but that was only an hypothesis. Gtk, for example, are in pure C, so using it would not pose a problem. For now, I can say I could be interested in doing such a work, but I'll start to investigate only after my degree.
|
03 January 2008, 17:32 | #13 |
Registered User
Join Date: Mar 2006
Location: Germany
Posts: 899
|
There are many other Windows-dependent features in WinUAE besides the GUI. Porting the GUI would only be a minor and easy task and doesn't make WinUAE as a whole portable
|
03 January 2008, 18:27 | #14 |
Registered User
Join Date: Sep 2007
Location: Las Cruces, USA
Age: 71
Posts: 351
|
I think it would be very difficult to make WinUAE portable. I believe WinUAE makes many windows API calls, which C/C++ don't have equivalents to. C/C++ are basically dos types of languages and have no way of dealing with threads and GUIs, (ANSI C/C++). I suppose there are systems of libraries out there that are cross platform but they're going to be a lot different then the API calls. It will take a serious amount of rewriting of WinUAE. Is it really worth it?
For as much as I don't like Windows or PCs, they're still the best things going. The hardware is the most advanced and everybody makes drivers for windows, so if you have a running windows then WinUAE will most likely work. I can't believe I just wrote the last paragraph. |
03 January 2008, 18:34 | #15 | |
Registered User
Join Date: Aug 2006
Location: Italy
Posts: 109
|
Quote:
|
|
03 January 2008, 18:50 | #16 |
Registered User
Join Date: Aug 2006
Location: Italy
Posts: 109
|
I can't believe you just wrote the whole post. A part lot of untrue and totally wrong assertions you typed (C/C++ are languages, not libraries), please note Winuae is originally a fork of UAE, the unix amiga emulator. If these days Winuae is full of windows specific features, this just does NOT mean core emulations isn't portable as it has always been, as stated often by Toni. Users of others platforms can just live without these features, unless someone write the specific code for them, and this absolutely doesn't break development on windows side. It's incredible how many users (and developers, sometime...) are so reluctant just listening the word(s) "cross-platform". Even if not complex as winuae, scummvm is a GREAT piece of software and it does run on 15 totally different platforms (just counted now), without slowing development at all.
However...Toni answered all my questions, so for me this thread can be safely closed. Last edited by ceztko; 03 January 2008 at 19:43. |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Amiga Sprite/Tile Cross-Platform Software? | diablothe2nd | Amiga scene | 16 | 12 July 2013 17:29 |
XAMOS - new cross-platform rewrite of jAMOS | Mequa | News | 24 | 14 December 2012 09:49 |
Kumiko GUI - Amiga Workbench 3.1 GUI for Windows | milika | Amiga scene | 31 | 18 April 2007 19:16 |
cross dos | Dave_wb | support.Hardware | 15 | 27 March 2005 18:04 |
cross dos help | fastflange | request.Apps | 2 | 19 June 2002 17:56 |
|
|