Commit graph

73 commits

Author SHA1 Message Date
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
Louai Al-Khanji
c2dbc1decb Work around a crash in gtk with qt + gtk both enabled at the same time. 2008-09-06 12:01:55 +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
269272b74c A few gui updates. 2008-09-04 11:14:32 +00:00
Louai Al-Khanji
fa8c663eec Fix g_MainWindow symbol collision 2008-09-03 01:37:56 +00:00
Louai Al-Khanji
925ce5e74f Fix rendering of stars 2008-09-01 19:56:49 +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
10709ef7c6 Fix up various things that broke in the merge. 2008-09-01 14:55:44 +00:00
Louai Al-Khanji
7ccc6450aa Improve some config things 2008-09-01 13:14:31 +00:00
Louai Al-Khanji
75f324cfc6 Merge win32 branch 2008-09-01 12:44:16 +00:00
Louai Al-Khanji
cbed397228 Show crc2 if asked for it, instead of crc1. 2008-08-26 21:48:34 +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
Scott Knauert
3b48f27806 Remove timestamp from Qt4 GUI more completely. 2008-08-25 21:52:13 +00:00
Louai Al-Khanji
4a1fb7ef59 Small label change. 2008-08-25 19:38:05 +00:00
Scott Knauert
1ec07a2632 Cleanup QT rombrowser columns. 2008-08-25 19:21:05 +00:00
Louai Al-Khanji
0944d403ad Somewhat nicer rom properties dialog. 2008-08-25 17:13:30 +00:00
Louai Al-Khanji
ee1b47e8ac Implement rom comment editing. 2008-08-25 15:53:31 +00:00
Louai Al-Khanji
fb3598ee81 Polish. 2008-08-25 10:43:03 +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
bbbaea3104 Introduce star label for properties dialog. 2008-08-25 10:11:21 +00:00
Louai Al-Khanji
0ac8a38484 Add rom propperties dialog. 2008-08-25 07:09:46 +00:00
Louai Al-Khanji
d795b8d055 Slight icon/pixmap code refactoring. 2008-08-25 06:19:48 +00:00
Scott Knauert
7262abc3c6 Update QT4 GUI to standard formatting functions in util.c, add prototypes for them. 2008-08-25 05:41:49 +00:00
Louai Al-Khanji
3b08a4dc79 Limit default columns to sensible ones. 2008-08-25 05:29:12 +00:00
Louai Al-Khanji
86e68b7914 Draw nice stars for status. 2008-08-25 05:07:14 +00:00
Louai Al-Khanji
6023384549 Add skeleton rom delegate. 2008-08-25 04:32:45 +00:00
Louai Al-Khanji
f899ad2d70 Some progress on representation of data. 2008-08-25 04:15:51 +00:00
Louai Al-Khanji
61c3d2023d Support for showing most rcs properties in a simple way. 2008-08-25 03:56:11 +00:00
Louai Al-Khanji
8ba3ae9c95 Read info straight from the romcache entries. Save some memory + duplication. 2008-08-25 03:27:23 +00:00
Louai Al-Khanji
bb126c7f22 Forgot html tag. 2008-08-25 03:00:18 +00:00