Commit Graph

88 Commits

Author SHA1 Message Date
BearOso
4c3d043880 Gtk: Update built-in mini-icon. 2020-08-23 17:46:25 -05:00
BearOso
1fc5a2d4d6 Gtk: Fix crash when no icon is found. 2020-08-23 17:17:55 -05:00
BearOso
95c7fdad1f Gtk: Thread preferences creation. 2020-08-23 16:28:01 -05:00
BearOso
e705e71a97 Remove S9xChooseMovieFilename
This is integration of the frontend with the core. Disable
the button mappings that use it. The frontend should implement on
its own.
2020-08-07 14:08:51 -05:00
BearOso
bdd061847e Gtk: Fix recent menu. Add game name to title. 2020-07-30 18:24:54 -05:00
Brandon Wright
e17ff69533 Gtk: Switch codebase to gtkmm.
GTK: Remove support for GTK+ 2.0.

GTK 3 is stable and widespread enough now.

GTK: Rearrange headers to eliminate gtk_s9xcore.h

Gtk: Initial gtkmm conversion work.

Gtk: More gtkmm conversion and bug fixing.

Gtk: More gtkmm fixes.

Gtk: More Fixes

OpenGL no longer creates a second window.
Accelerators are fixed.

Gtk: More fixes

Removed GLX context dependency on Gtk.

Gtk: Fix formatting.

Gtk: Remove a #pragma once
2020-07-17 14:48:34 -05:00
Brandon Wright
3c3ea985ef GTK: Refactoring of display output code.
Moves buffer management to single location.
2020-06-30 17:28:10 -05:00
Dan Church
c5bd183b2b
Fix GCC unused function/variable warnings 2019-11-14 10:39:02 -06:00
Brandon Wright
19f7423f42 GTK: Add a couple animated background splashes. 2019-11-08 17:05:36 -06:00
Brandon Wright
f70e072bd9 Revert to higher APU clock. 2019-04-12 12:10:51 -05:00
Brandon Wright
b590ec10ab GTK: Use "Auto-patched" to clarify. 2019-04-10 14:51:01 -05:00
Brandon Wright
ac4d458f7b Add Settings.IsPatched to know if ROM was patched. 2019-04-10 14:43:20 -05:00
Brandon Wright
656f085331 Another splash option. 2019-03-25 16:16:08 -05:00
Brandon Wright
0deed414b9 GTK: Remove mostly unused status bar.
Don't bypass compositor in UI-fullscreen mode.
2019-03-24 12:25:29 -05:00
Brandon Wright
54ba8798b5 GTK: Add right-click menu. 2019-03-22 16:51:48 -05:00
Brandon Wright
dfe66f57b3 GTK: Add new splash background options. 2019-03-21 16:37:00 -05:00
Brandon Wright
4f0cc90525 GTK: Update splash background. 2019-03-16 13:45:38 -05:00
Brandon Wright
92f2a9510f GTK: In mouse-grab mode, accumulate partial pixels. 2019-03-02 16:10:00 -06:00
Brandon Wright
aa867abcd3 Use nominal frequency ratio for APU. 2019-02-19 17:50:25 -06:00
Brandon Wright
387d600147 GTK+: The build has never allowed GTK+3 < 22. 2018-12-28 18:43:21 -06:00
Brandon Wright
e632740be3 GTK+: Use std::string for some config options. 2018-12-28 18:36:23 -06:00
Brandon Wright
fcdead0028 GTK+: Use lowercase true/false, bool in more places. 2018-12-28 17:07:32 -06:00
Brandon Wright
ba55d8c763 GTK+: Allow disconnecting controller port 2. 2018-12-12 16:40:31 -06:00
Brandon Wright
536c6708c3 GTK+: Various cleanups. 2018-12-03 17:32:12 -06:00
Brandon Wright
c21539d269 GTK+: Mandate Netplay, Joystick, JMA. 2018-12-03 17:32:12 -06:00
Brandon Wright
45252aaf93 Remove ssnprintf function. 2018-11-28 10:55:10 -06:00
Brandon Wright
600de05244 String bounds-checking. 2018-11-17 18:41:37 -06:00
Brandon Wright
f0ddb097f9 Mark all of GTK+ with header stub, and a couple others. 2018-11-15 17:42:29 -06:00
Brandon Wright
7ae93a539e GTK+: Save controller ports to config file. 2018-11-08 14:59:24 -06:00
Brandon Wright
8c7b326254 GTK+: Add hotkey to capture the mouse. 2018-11-08 14:23:37 -06:00
Brandon Wright
af2df5869d GTK+: Remove goofy headerbar experiment. 2018-11-07 15:09:27 -06:00
Brandon Wright
a9cc03c06c GTK+: Consolidate includes to compat header. 2018-11-06 18:46:44 -06:00
Brandon Wright
0f15a398f9 GTK+: Fix GTK+ 2.0 compatibility again. 2018-11-06 18:04:10 -06:00
Brandon Wright
5e2049ac55 GTK+: Don't append "- Snes9x" to game name. 2018-11-05 18:17:48 -06:00
Brandon Wright
b5b7c4390c GTK+: Add support for header bar. 2018-11-02 19:20:46 -05:00
Brandon Wright
c5038bc9fe GTK+/style: Remove explicit returns in void funcs. 2018-11-02 16:48:20 -05:00
Brandon Wright
a04ccfc02c GTK+: Style: Remove voids from parameter list. 2018-11-02 15:52:26 -05:00
Brandon Wright
d3115c87d6 GTK+: OpenGL+: Check context size on expose.
Also, fix splash drawing on Wayland/OpenGL.
2018-10-29 16:41:41 -05:00
Brandon Wright
a3ecddc0bc GTK+: Never let GTK+ paint the output window. 2018-10-29 16:14:40 -05:00
Brandon Wright
6d0eddf02a GTK+: Don't pass draw signal on OpenGL/Wayland.
Also, don't pass draw signal on to GTK+, period.
2018-10-29 16:02:45 -05:00
Brandon Wright
79b1ab0250 GTK+: Clean up speed throttling.
No more frameskip selection, only 4 options:

* Timer throttling to Settings.FrameRate
* Same, but skips frames when late
* Wait on sound buffer
* Don't throttle.

Dynamic rate control is automatically disabled for option 3.
2018-10-28 16:55:33 -05:00
Brandon Wright
a47e9773d6 Software Wayland mostly works. 2018-10-16 17:26:24 -05:00
Brandon Wright
34268314c4 Conditional set_bypass_compositor. 2018-10-15 14:31:42 -05:00
Rémi Calixte
5e4f12a12b wayland: fix fullscreen mode 2018-10-15 14:20:13 -05:00
Rémi Calixte
58f6099730 wayland: handle screensaver 2018-10-15 14:19:51 -05:00
Brandon Wright
62f3761aa6 Remove 'else', fix formatting. 2018-10-15 14:18:21 -05:00
Rémi Calixte
e7f4bd63fa wayland: implement Snes9xWindow::get_refresh_rate 2018-10-15 14:16:40 -05:00
Rémi Calixte
c6731024ca wayland: include X11 libraries only if it is an available GDK backend 2018-10-15 14:15:52 -05:00
Brandon Wright
602919d522 GTK+: Don't override command-line port choice. 2018-10-03 16:58:40 -05:00
Brandon Wright
ae814163dd Revert "Save oops unconditionally on loading state."
This reverts commit fc0b79ec2f.
2018-06-21 13:46:29 -05:00