Commit graph

28 commits

Author SHA1 Message Date
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
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
44109dbcd8 Improve settings dialog a bit. Add cancel button, make header a bit nicer, make the dialog modal. 2008-09-06 10:10:54 +00:00
Louai Al-Khanji
fa8c663eec Fix g_MainWindow symbol collision 2008-09-03 01:37:56 +00:00
Louai Al-Khanji
44004b4ae8 Make shortcuts work in render window. 2008-09-01 17:57:16 +00:00
Louai Al-Khanji
9e254a02c9 Remove two debug prints that slipped through. 2008-09-01 15:59:19 +00:00
Louai Al-Khanji
cddfd0c8a1 A few more fixes. 2008-09-01 15:06:21 +00:00
Louai Al-Khanji
75f324cfc6 Merge win32 branch 2008-09-01 12:44:16 +00:00
Louai Al-Khanji
4dc31ac232 Use qmake to build the qt4 gui. It creates nicer makefiles, which means
that not the whole gui needs to be rebuilt when a header or ui file 
changes. That was starting to become very, very annoying.
2008-08-26 08:03:51 +00:00
Louai Al-Khanji
3ac958becf Don't leave temporaries around. 2008-08-25 10:20:39 +00:00
Louai Al-Khanji
d6fe67e252 Immediate menu popup. 2008-08-25 10:19:29 +00:00
Louai Al-Khanji
5d3407e713 Add ctrl+# shortcuts to select save slot. 2008-08-23 00:26:52 +00:00
Louai Al-Khanji
fd0b1f2a70 Tie show actions into config system 2008-08-22 23:09:37 +00:00
Louai Al-Khanji
301f52addf Readd filter hiding. 2008-08-22 22:59:44 +00:00
Louai Al-Khanji
e01adf3f22 Add more icons. Fine-tune some mainwindow options. 2008-08-22 22:42:09 +00:00
Louai Al-Khanji
1746ee2f1b Some fine-tuning. Close rom icon. About dialogs. Set application-wide window icon. 2008-08-22 22:22:10 +00:00
Louai Al-Khanji
d3dfaca36c Rename a few methods for greater consistency. 2008-08-22 21:53:52 +00:00
Louai Al-Khanji
ea28f624dc Do not intercept all events, only custom ones. 2008-08-22 21:48:54 +00:00
Louai Al-Khanji
11498f85b3 Fix some toolbar issues. Add 22x22 and 32x32 star icon from oxygen. Add document-save icon from oxygen. Fix toolbar slot action selection. 2008-08-22 21:44:38 +00:00
Louai Al-Khanji
8e73b5d614 Rename gui_kde4 -> gui_qt4 2008-08-22 04:17:09 +00:00
Renamed from main/gui_kde4/mainwindow.cpp (Browse further)