Commit Graph

1152 Commits

Author SHA1 Message Date
sergiobenrocha2 701d490de3 Move png icons to src/art/hicolor/ folder (so you don't need to convert from svg every time), move svg icons for the src/art/src/ folder (source), fix wxvbam.xpm (based in the new 32 px icon). 2015-01-23 18:08:04 -02:00
sergiobenrocha2 3f81032a2b Added wx in debian/control again. 2015-01-23 16:05:04 -02:00
sergiobenrocha2 bc36944640 Some license and copyright stuff. 2015-01-23 15:43:03 -02:00
sergiobenrocha2 f3d15590d6 Some changes in debian packaging. 2015-01-23 15:42:24 -02:00
sergiobenrocha2 1f44512f08 Re-added svg icons and png for gtk, you must have one icon for each size and the source (svg) if you want to modify them. 2015-01-23 15:41:43 -02:00
Arthur Moore 97d300bbc0 Remove even more unneeded complex if statements 2015-01-17 03:39:51 -05:00
Arthur Moore a917078066 Got rid of a few huge if statements
Just recreate the game panel every time after Display Properties closes.
2015-01-17 03:30:52 -05:00
Arthur Moore 83687d544d Replaced another macro with a templated function.
I should be able to use this function to replace a few more macros as well.
2015-01-17 02:52:50 -05:00
Arthur Moore 7064cba39e Removed yet another macro from src/wx/guiinit.cpp 2015-01-17 02:15:29 -05:00
Arthur Moore 582c24deb6 Fixed improperly sized dialog boxes
This was caused by commit 872e2badf2
2015-01-17 01:51:15 -05:00
Arthur Moore 6ef1a50f24 Created a class to allow easy access to all the fitlers 2015-01-17 01:42:55 -05:00
Arthur Moore 291e08b604 This is what pcsx2 does 2015-01-13 08:42:47 -05:00
Arthur Moore 1dd04bc2bd Make sure that wxwidgets uses the gtk2 version of the toolkit
Trying to fix an assert from src/wx/guiinit.cpp:2058
2015-01-12 02:37:40 -05:00
Arthur Moore 89e6cee8f5 Try to be more informative than the default wx exception handler before terminating. 2015-01-12 02:32:12 -05:00
Arthur Moore 125b26a484 Make sure that all loaded xrc dialogs have the correct parent
This might be overkill, but shouldn't hurt.
2015-01-12 02:18:44 -05:00
Arthur Moore 2959b0adfa Another switch from wxDynamicCast to the normal c++ dynamic_cast 2015-01-11 02:23:00 -05:00
Arthur Moore 7666396b5f Change a macro from using a special wx funciton to the regular c++ one
More work on fixing Bug #5
2015-01-11 02:17:41 -05:00
Arthur Moore 14febfd022 More work on trying to remove C macros 2015-01-11 01:53:12 -05:00
Arthur Moore c757fb961d JoypadConfig is now working as it's own separate entity
Previously it was using macros that were hardcoded to look for a certain variable
2015-01-11 01:45:24 -05:00
Arthur Moore 6aeb16c8f0 Got rid of two unneeded C macros 2015-01-11 01:36:08 -05:00
Arthur Moore d84f04219c Created a single template that does the same thing as several of the C macros 2015-01-11 00:09:28 -05:00
Arthur Moore d8fad4d69e Used a regex replace so at least some of the C Macros aren't hiding variables
Also renamed their inputs so it's easier to understand what's going on
2015-01-10 23:08:43 -05:00
Arthur Moore f636ed2161 Added more pointer error checking to the wxvbam build.
Should probably move this to a file included by every project.
2015-01-10 22:36:32 -05:00
Arthur Moore d63fcd6e92 Load dialogs the proper way 2015-01-10 19:46:08 -05:00
Arthur Moore 306c7f3099 Now fully use the error checking function instead of the C macro 2015-01-10 19:33:46 -05:00
Arthur Moore d3c5df6750 Broke up the creation of a wxDialog into two steps for easier debugging. 2015-01-10 18:57:26 -05:00
Arthur Moore 3d81d52a60 Move XRC pointer checking/error throwing to a templated function 2015-01-10 18:56:38 -05:00
Arthur Moore 30876d227e Revamped some of the wx load dialog error handling.
C++ has built in error handling, but C programmers never seem to use it.
2015-01-10 00:01:50 -05:00
Arthur Moore aeb033072c Added an easy to use build script for debian based distributions 2015-01-09 16:53:39 -05:00
Arthur Moore dd60af2e46 Forgot to move something to the new gtk/CMakeLists.txt file 2015-01-09 16:51:22 -05:00
Arthur Moore 872e2badf2 More accurately show that a function is creating a pointer.
It still looks like a memory leak to me, but I want to get rid of all the crazy C macros before fixing it.
2015-01-09 02:34:01 -05:00
Arthur Moore 5e6cd24322 Temp fix so gdb works on out of tree wxvbam builds
filterMap was causing wxvbam to crash when run with gdb in any folder but the top level

This needs a better fix, especially since filterMap is the cornerstone of my filters redesign/integration.
2015-01-09 02:12:54 -05:00
Arthur Moore fedaa24799 wxvbam: Convert a nasty #define into a nice(er) function
This was way more work than it should have been.
2015-01-09 01:02:20 -05:00
Arthur Moore 046faf53ba Moved SDL(?) filters to filters folder.
Also created a std::map of filters so can use that for future selections.
2015-01-07 22:29:06 -05:00
Arthur Moore 4ae8dd942a Fix gtk ui installation on windows/apple
Also removed an unneeded if/else statement
2015-01-07 18:57:35 -05:00
Arthur Moore 177607f426 Small wx cmake cleanup 2015-01-07 18:39:53 -05:00
Arthur Moore 4b3cfef82a Remove apple icon generation, and just use a pregenerated asset
Faster, and one less dependency.
2015-01-07 18:26:57 -05:00
Arthur Moore 5da20b4029 Remove unused svg files 2015-01-07 18:18:41 -05:00
Arthur Moore 391ad26573 Just use a static art object instead of requiring ImageMagick
This should also speed up compile times while removing an unneeded dependency.
2015-01-07 18:17:15 -05:00
Arthur Moore 5312fd7aa7 Remove all but one png icon file, and move that to src/art
This also cleans up src/wx/CMakeLists.txt
2015-01-07 17:48:40 -05:00
Arthur Moore 2ad87641e1 Fix cmake so gtk out of tree builds actually work
Also clean up a few things with old svn info.
Don't manually create links to the binaries, let cmake handle moving them.
2015-01-07 16:03:40 -05:00
Arthur Moore 8cfce58fa0 Add some (more) error handling to gtk code.
This explains why out of tree builds currently do not work for the gtk version.
2015-01-07 15:12:45 -05:00
akb825 8b46072ca3 Make borders black in fullscreen for wxWidgets
This is a simple patch that makes it so borders that show up in fullscreen mode are black rather than white.
2014-12-10 03:00:55 -05:00
Arthur Moore a240cfae79 gvbam now can use hq3x and hq4x filters. 2014-11-16 01:40:35 -05:00
Arthur Moore 05a6358709 Moved the rest of the filters to one file.
Duplicate function definitions were all over the place.
2014-11-16 01:30:50 -05:00
Arthur Moore 6fc41f8d2a Added kdev4 project file 2014-11-16 00:58:30 -05:00
Arthur Moore 2bae2a6759 Updated .gitignore to ignore project files 2014-11-16 00:23:31 -05:00
Arthur Moore b0ae63c602 Created a common filters.hpp file, and began moving function prototypes there.
some function prototypes are still spread between:
    src/gtk/filters.cpp
    src/sdl/filters.cpp
    src/wx/filters.h
They should all be moved to:
    src/filters/filters.hpp
2014-11-15 02:03:52 -05:00
Arthur Moore 2926e96f19 Moved interframe filters from several different .h files to a central .hpp file. 2014-11-15 01:05:15 -05:00
Arthur Moore 80d8dfd22f Hack to prevent wxvbam from crashing whenever the display setting were changed.
This only happens while a game is running.
InterframeCleanup() doesn't seem to be called in a thread safe manner, so double frees were occurring.

wxvbam and gvbam may hang when attempting to close after changing display settings.

This patch merely prevents wxvbam from crashing when the settings are changed.
2014-11-14 06:27:13 -05:00