Commit graph

105 commits

Author SHA1 Message Date
Louai Al-Khanji
36d2afa9dd Dirty hacks to make things compile on new gcc. Properly the namespacing of C core functions will need to be removed. 2009-05-28 12:38:17 +00:00
Louai Al-Khanji
2ddfda728d Corrent one string in main.cpp, update the translations. Add brazilian portuguese translation
by Tillman (http://emutalk.net/showpost.php?p=421545&postcount=4). Add LUPDATE_OPTS environment 
variable for the update script.
2009-04-16 15:24:29 +00:00
Louai Al-Khanji
b3d631b1e3 Make the translate function safer. 2009-04-12 09:26:28 +00:00
Louai Al-Khanji
2d48a6ab4d Fix string 2009-04-12 08:44:12 +00:00
Louai Al-Khanji
929eef2640 New about dialog for Qt interface 2009-04-12 08:13:56 +00:00
olejl
69ca0a0213 Forgot one file in the debugger branch 2009-03-30 16:04:36 +00:00
Richard Goedeken
276112783c merged r1291-QT4-debugger-gui branch 2009-03-28 15:22:03 +00:00
Richard Goedeken
b1819ba953 re-arranged includes in gui_qt4/mainwindow.cpp to prevent build errors 2009-03-28 15:16:35 +00:00
Richard Goedeken
60d99e6776 merged r0982-cheats branch 2009-03-28 14:40:14 +00:00
Louai Al-Khanji
fb5bb372e6 Better zilmar spec compatibility for windows. 2009-03-15 20:04:16 +00:00
Louai Al-Khanji
8ec699957d Work around possible user error. 2009-03-15 19:36:44 +00:00
Louai Al-Khanji
3ca22efd21 Fix windows compilation 2009-03-15 19:32:56 +00:00
olejl
62a04cd98b Fixes issue#205. 2009-03-05 19:27:00 +00:00
Scott Knauert
41c03ae99b Applied a cleanup of olejl's 2nd PJ64 savestate patch, fixing default PJ64 save naming conventions (for use with project64 slots), added elements to allow exporting PJ64 saves from the Qt4 GUI. Issue 52 can now be closed. 2009-02-22 00:04:53 +00:00
Louai Al-Khanji
2cf4357cd4 Disable external render window except on windows. 2008-12-19 17:32:06 +00:00
Louai Al-Khanji
3483e83e79 ... brain fart 2008-12-07 14:38:16 +00:00
Louai Al-Khanji
a1379a5fe1 fix compilation on older Qt versions. 2008-12-07 14:37:38 +00:00
Louai Al-Khanji
89894d2fb1 Do not set input interval, not needed. Use native widgets from the start. 2008-12-07 01:03:05 +00:00
Louai Al-Khanji
26f5a44613 Fix arrow keys 2008-12-07 00:54:54 +00:00
Louai Al-Khanji
46c9894093 More work on fixing input cross-platform 2008-12-06 23:24:56 +00:00
Louai Al-Khanji
1eda4fe1a7 Forward key events to input plugin. Needs better key coverage, but it's a start. 2008-12-06 22:08:25 +00:00
Louai Al-Khanji
ef13bf2b87 Fix for win32 compilation 2008-12-06 09:37:09 +00:00
Louai Al-Khanji
50d695ee04 Fix compilation error. Apparently gtk uses "protected" as a variable name somewhere in its headers, grumble grumble. 2008-12-05 03:09:36 +00:00
Louai Al-Khanji
e57d158f16 Missed this yesterday 2008-11-30 14:52:23 +00:00
Louai Al-Khanji
7f0c0634a6 Fix the ifdef to kick in on X11 only 2008-11-29 19:54:11 +00:00
Louai Al-Khanji
b1bc93fd22 Use QCoreApplication::translate instead of QObject::tr. Fixes core
translations
2008-11-23 04:46:27 +00:00
Louai Al-Khanji
cc64200f58 Add support for translations to the Qt4 gui. I gave up on finding a good generic approach that's easy to implement and punted to Qt. Translators need to translate mupen64plus.ts. update_qt4_translations.sh should be run whenever a user-visible string changes. 2008-11-22 14:40:11 +00:00
Richard Goedeken
9c16087ce3 merged rev 1160 through 1162 back into trunk 2008-11-21 13:25:21 +00:00
Richard Goedeken
48fe5adc27 reverted commits 1160-1163 2008-11-20 13:23:56 +00:00
Louai Al-Khanji
2d0b8b4c37 Beginnings of gui managed render window. This makes SDL paint into a window provided by the GUI. Currently breaks SDL input processing and full screen mode. It does make the GUI handle all input however; this means that all shortcuts (like load/save state etc.) are now handled in one place. It also opens the door to embedding the render window inside the GUI. 2008-11-20 04:42:26 +00:00
Louai Al-Khanji
cf0369f553 Add missing break statement 2008-11-19 12:15:22 +00:00
Louai Al-Khanji
f322d9f5b4 Start working on a solution to plugins needing to query users for input. Qt4 does not allow the plugin thread to interact with the user directly, so I'm looking into how to best handle it with events and locks. This already works; glide64 does not crash the emulator anymore when playing lylat wars for instance. It's quite ugly though, especially the QWaitCondition pointer. 2008-11-19 08:29:59 +00:00
Louai Al-Khanji
11b8ef45be Make data function have a single exit point again. 2008-10-12 23:09:08 +00:00
Louai Al-Khanji
72b498d391 Some trivial code style changes. 2008-10-12 23:02:11 +00:00
Scott Knauert
37c8e5c42b Fixes issue 154 (Qt4 GUI crashes if all ROMs removed). 2008-10-12 22:49:23 +00:00
Scott Knauert
a8dfd0e785 License header changes for Debian inclusion (wrong FSF address). 2008-10-11 05:48:50 +00:00
Louai Al-Khanji
98d3f99fe0 Rework the gui state api a bit. Don't pass the enum through an unsigned
char. Changed the way the Qt4 ui handles things internally a bit.
Changed the gui_message to not use an unsigned char as well while I was
at it.
2008-10-05 15:18:59 +00:00
Scott Knauert
008a65eaeb Primarily implementation of new GUI state API and associated Gtk2 and Qt4 implementations. Fixed one minor Gtk bug (unable to select large toolbar icons). Fixed a could of NO_GUI warnings. Changed romcache.h to not define RCS structures in NO_GUI mode (more optimized NO_GUI binary). Fixed some non-ANSI static code analysis "bugs" mainly function() -> function(void) in C declarations. Also some GPL header updates to the newest template. Sorry for the large commit. 2008-10-05 03:33:52 +00:00
Scott Knauert
acfef370c1 Fixed accidental rcs bug. Some new comments for rom.h and fixed Fullscreen crashing on the Qt4 GUI. 2008-10-02 21:15:17 +00:00
Richard Goedeken
210f946cae added newlines to the end of every source file which was missing one 2008-09-27 15:22:21 +00:00
Louai Al-Khanji
fd0464af60 Another attempt to fix compilation on windows 2008-09-17 16:32:05 +00:00
Louai Al-Khanji
8a48dfbfb4 Possibly fix compile errors on windows 2008-09-17 16:28:20 +00:00
Louai Al-Khanji
5563e5e610 Fix a few warnings 2008-09-08 23:25:53 +00:00
Louai Al-Khanji
4a2c71a9ec Add reset button to config dialog. Restore Defaults button still
missing.
2008-09-08 23:00:47 +00:00
Louai Al-Khanji
a06e9c517a Draw focus in ratings column 2008-09-08 22:23:28 +00:00
Louai Al-Khanji
1f8659fc82 Fix ratings painter to work even when 16x16 star icon is missing.
Nicer look for disabled stars.
2008-09-08 21:17:43 +00:00
Scott Knauert
a8f52ca62b More Gtk GUI fixes. Finished transitioning to Gtk icon theme. Themable empty status stars. Minor UI additions to address issue 141. More removal of depreciated gtk functions. Fixed a number of minor bugs. First stab at better debugger GUI integration, strncpy fixes. Minor GUI API change from updaterombrowser() to update_rombroswer(). 2008-09-08 11:13:02 +00:00
Louai Al-Khanji
870fde202c Use the plugin config, about, and test calls that take a window id. 2008-09-07 22:22:11 +00:00
Louai Al-Khanji
9868a13a57 Make sure string is null-terminated. 2008-09-06 21:05:17 +00:00
Louai Al-Khanji
2bbd453a87 Make sure never to overflow buffer 2008-09-06 18:36:35 +00:00