Commit Graph

246 Commits

Author SHA1 Message Date
Matthew Budd 754e621735 Bug fixes for gtk hot key config window. 2020-05-11 00:47:31 -04:00
Matthew Budd dfd236c9d1 Fixed gtk window gui resizing logic. Can now resize by dragging the corners of the window with the mouse as well as through the vidio menu. 2020-05-10 23:38:36 -04:00
Matthew Budd d6a798962c Removed deprecated gtk_widget_modify_bg. 2020-05-10 17:29:14 -04:00
Matthew Budd bfaf429664 Removed deprecated GTK_STOCK usages. 2020-05-10 17:11:15 -04:00
Matthew Budd d87d5b2271 Fixed & character usage in authors string text in about window. 2020-05-10 16:42:45 -04:00
Matthew Budd 73a4efcad9 Finished reworking main menu. 2020-05-10 16:40:28 -04:00
Matthew Budd 81b9555ad0 Finished updating emulation menu to new non-deprecated widgets. 2020-05-10 16:24:44 -04:00
Matthew Budd ee35a5bab4 Updated options sub menu. 2020-05-10 15:32:32 -04:00
Matthew Budd 89895fdd18 Finished File menu of main menu bar. 2020-05-10 14:59:49 -04:00
Matthew Budd af36752585 Working on removing deprecated main menu and replacing with non-deprecated functions. 2020-05-10 11:17:59 -04:00
Matthew Budd 5a74646bb5 Removed use of deprecated gtk_alignment widgets 2020-05-10 10:18:57 -04:00
Matthew Budd 260b45273e Swapped out deprecated gtk table in favor of gtk grid on game pad configure window. 2020-05-10 09:54:25 -04:00
Matthew Budd b68aff598e Fixed a few more deprecated gtk function usages. 2020-05-09 21:00:51 -04:00
Matthew Budd 6ab46618fc Replaced a few more deprecated gtk function calls for their newer variants. 2020-05-09 20:47:47 -04:00
Matthew Budd 7610dea7fb Removed deprecated UI manager from the ram watch menu. Ram watch menu is now created by raw gtk functions. 2020-05-09 20:35:15 -04:00
Matthew Budd 3231589d25 Changed out depricated gtk_hbox_new and gtk_vbox_new in favor of gtk_box_new 2020-05-09 16:42:34 -04:00
Matthew Budd fcf8f57085 Changed memory tree views to use monospace and have vertical dividers for columns. 2020-05-09 10:36:55 -04:00
Matthew Budd 305e8b58e8 Added memory write functionality to RAM watch window. 2020-05-07 23:25:33 -04:00
Matthew Budd 27cbbdf534 Added logic to load/save RAM watch files. 2020-05-07 21:31:55 -04:00
Matthew Budd c901c7273d Added directly cheat list cell editing functionality to gtk GUI. 2020-05-07 09:49:03 -04:00
Matthew Budd b4f4f816d7 Added logic to allow for RAM watch display updates to be non-destructive. 2020-05-06 09:00:53 -04:00
Matthew Budd 4490f650f1 RAM watch entry window bug fixes. 2020-05-06 08:36:08 -04:00
Matthew Budd ab5d3f5f14 Successful view of memory in ram watch window. Still TODO, added rest of button functionality. 2020-05-06 00:17:59 -04:00
Matthew Budd 19deda1314 Added initial framework for RAM watch window. 2020-05-05 23:08:50 -04:00
Matthew Budd d1fd5a8e2d A few bug fixes while testing the cheat window. 2020-05-05 20:42:25 -04:00
Matthew Budd 45d88df6b0 Hooked up cheats pause while window active function. 2020-05-05 19:56:38 -04:00
Matthew Budd 30aec1e534 Added cheat modification via update button logic. 2020-05-05 08:18:41 -04:00
Matthew Budd 7bc778fd0e Added active toggle functionality to cheat list window. 2020-05-05 08:06:08 -04:00
Matthew Budd d081c68db3 Successful loading of cheat codes from file via cheat window. 2020-05-05 00:18:15 -04:00
Matthew Budd add91354de Successful test of Add, remove, and update functions to the active cheat list. 2020-05-04 23:50:33 -04:00
Matthew Budd 37bb110601 Added file chooser function for loading cheats from file. 2020-05-04 22:01:15 -04:00
Matthew Budd 52cc2629eb Successful initial test of cheat search functionality. 2020-05-04 21:42:56 -04:00
Matthew Budd 7416ad2fdb Added initial layout for gui cheat window. 2020-05-03 16:29:28 -04:00
Matthew Budd 9844caf69d Bug fix for command line game genie enable logic with linux based gtk GUI. GUI was forcing game genie to disabled at startup which was overriding command line selection. The GUI logic has been fixed to sync the state of menu game genie toggle box to the desired startup configuration of game genie. 2020-05-02 19:57:11 -04:00
retro-wertz 6432e18a79 gtk:fix audio going on/off when entering Sound Config option
Adds check if sound was already enabled and only then only call
InitSound() when it was not enabled. This seems to be a better option
than calling KillSound() which causes unnecessary audio pop when you
are just entering the menu and not adjusting stuff yet.
2018-12-10 05:04:07 +08:00
zeromus 0307e3b827 migration tidying (build master from trunk) 2018-04-08 17:35:15 -05:00
punkrockguy318 2be5084a7b create new subversion repo structure (trunk, tags, branches)
[[Split portion of a mixed commit.]]
2013-03-15 19:00:14 +00:00
punkrockguy318 37b0f97f1d sdl: additional preliminary sdl 2.0 support 2013-03-12 00:33:33 +00:00
punkrockguy318 ec8cbcfc00 sdl: prelimenary SDL2.0 support
sdl: fixed bug where fceux would take exclusive grab of input in windowed mode when resuming from pause
2013-03-10 23:54:01 +00:00
punkrockguy318 de9e21f12e gtk: change menu item string: "Auto-resume play" 2013-03-02 18:56:45 +00:00
punkrockguy318 c490369e67 sdl: AutoResume functionality implemented via SDL.AutoResume config option
gtk: added checkbox for AutoResume (Options->Auto-Resume)
2013-03-02 18:43:24 +00:00
punkrockguy318 ba8fb91eaa gtk: close game properly when window is closed 2013-03-01 22:06:41 +00:00
punkrockguy318 e87a8d11e4 gtk: display error message for io errors when loading fds bios
rename "FDS BIOS" file filter string to "disksys.rom" for clarity
	 use FCEUD_PrintMessage for succesful BIOS load
2013-02-14 00:30:24 +00:00
punkrockguy318 3f05056fed gtk: display more relevant error messages
sdl: use FCEUD_PrintError for palette loading
gtk: remove redundant error dialogs now that FCEUD_PrintError is implemented in GTK
gtk: prevent GTK FCEUD_PrintError calls from spawning GTK dialogs before GTK is initialized
2013-02-13 00:19:00 +00:00
punkrockguy318 7922866f96 gtk: don't allow movie recording to begin when rom isn't running 2012-11-24 21:03:10 +00:00
punkrockguy318 4415f95227 sdl: fix a potential security issue with loading the game genie rom (thank you Joe Mahmias for your patch!) 2012-11-02 13:48:38 +00:00
punkrockguy318 b63ad04f84 gtk: added more preliminary gtk resize handling code 2012-08-11 15:49:09 +00:00
punkrockguy318 6994e1ad10 gtk: added framework for gtk window resize handling 2012-08-11 14:56:22 +00:00
punkrockguy318 b54b1bee43 gtk: reset video on video dialog close
gtk: add gui option for showfps
2012-08-11 03:49:27 +00:00
punkrockguy318 6188e68811 gtk: hide horizontal scrollbar in hotkey gui 2012-08-07 23:26:44 +00:00
punkrockguy318 11d7905868 gtk: add scrollbar to hotkey config 2012-08-07 14:20:24 +00:00
punkrockguy318 2c70120d62 gtk: allow configuration of first element in hotkey dialog 2012-08-07 14:05:09 +00:00
punkrockguy318 76617ae6e0 gtk: display hotkey keyname instead of keycode in hotkey gui 2012-08-07 13:58:31 +00:00
punkrockguy318 05d1b19f1e gtk: added gui hotkey config dialog 2012-08-07 00:40:52 +00:00
punkrockguy318 d2c378a434 gtk: preliminary hotkey configuration dialog (currently read-only and menu items commented) 2012-08-06 23:28:03 +00:00
punkrockguy318 e82addfedf gtk: added gui option for opposite directionals 2012-08-04 21:28:20 +00:00
punkrockguy318 fd64417ef2 gtk: no longer segfault on gamepad config when gtk < 2.24 (ubuntu 10.04) -- hide gamepad config option 2012-06-24 16:04:56 +00:00
zeromus 181278b136 apply changes made during brief timespan in new (abandoned) svn repository:
* support mapper 176. mapper 176 no longer maps to BMCFK23C. BMCFK23C is still accessible through crc or unif? test case would be welcome. it is unclear to me why mapper 176 control was removed from 176.cpp and given to BMCFK23C
* fix malformed ines.cpp file format
* gtk: bump about date to 2012
* Taseditor: fixed silly bug with JumpToFrame
* Taseditor: autosave works only when project has a filename
* Taseditor: small fixes
2012-06-06 17:15:06 +00:00
punkrockguy318 936b5af85f sdl: update todo; changelog; added some comments 2012-03-06 22:16:57 +00:00
punkrockguy318 2900ce17cb gtk: adjust 2.24 warning message 2012-03-06 22:12:11 +00:00
punkrockguy318 1e66b91359 sdl: fix last commit 2012-03-06 22:08:35 +00:00
punkrockguy318 44c419d7e3 gtk: added check for gtk 2.24 for the gamepad dialog 2012-03-06 22:05:21 +00:00
punkrockguy318 68aa80a5df gtk: added a check for GTK version; this is so we can detect old GTK versions and bail on dialogs instead of segfaulting
updated TODO for 2.1.6
2012-03-06 21:25:49 +00:00
punkrockguy318 b0c2758324 sdl: code cleanup; pre-release code review (in progress) 2012-03-06 11:12:28 +00:00
punkrockguy318 118b82544c gtk: use basedir instead of hardcoded default basedir path in gamegenie dialog for improved accuracy 2012-03-06 09:13:58 +00:00
punkrockguy318 646847ddc8 sdl: fixed formatting issues; overall code cleanup 2012-03-06 08:43:42 +00:00
ansstuff 703ab3d752 * changed ".tas" extension to ".fm3"
* Tasedit: Markers notes (strings)
* Tasedit: editing Marker notes, 2 text fields
* Tasedit: View->Follow Marker Note context
* Tasedit: View->Display Branch Tooltips
* Tasedit: new accelerators: Ctrl-PgUp/Ctrl-PgDn/Shift-PgUp/Shift-PgDn
* Tasedit: Config->Allow keyboard controls in Listview
2011-12-16 19:05:58 +00:00
ansstuff 840528d52a Replaying .tas files in SDL version 2011-12-09 15:51:36 +00:00
punkrockguy318 724616f718 sdl: make the coding style of gui.cpp consistent (hardtabs like pretty much src/*) 2011-11-12 07:52:59 +00:00
punkrockguy318 8fafc755df gtk: added ifdefs for newly added frameskip gui 2011-11-04 06:53:28 +00:00
punkrockguy318 4bbd74c740 gtk: added frameskip option; made label case consistent 2011-11-04 06:28:46 +00:00
punkrockguy318 3b33abf4c0 gtk: no longer compile in openGL gui code when openGL is not being compiled into fceux 2011-10-28 23:24:04 +00:00
punkrockguy318 1d664128d4 gtk: fix potentially build error on gtk < 2.24 (ubuntu 10.04 lts) 2011-10-21 02:31:34 +00:00
punkrockguy318 73f9e705fd gtk: remove unecessary/redundant config file saving 2011-10-20 02:15:54 +00:00
punkrockguy318 ca8fb4ab08 gtk: now remembers last loaded lua script for loadLua dialog 2011-10-19 07:12:10 +00:00
punkrockguy318 4b9c345266 gtk: improve load state dialog to filter for fcs sav files (default save format of fceux) 2011-10-19 05:00:23 +00:00
punkrockguy318 119d7cccc4 gtk: added option in video config for SDL.ClipSides 2011-10-19 02:29:35 +00:00
punkrockguy318 ffe7741ab7 gtk: added video option for double buffering 2011-10-19 01:58:00 +00:00
punkrockguy318 86124102b7 sdl: improve upon last commit by actually opening cwd instead of selecting it in the parent folder. also do this for open palette dialog 2011-10-18 23:03:23 +00:00
punkrockguy318 2b3ddd9f59 sdl: start file dialogs in cwd instead of the odd gtk "recently used" entry 2011-10-18 22:56:07 +00:00
punkrockguy318 8638c95d60 sdl: GTK3! removed more depreciated code and made adjustments so that fceux now compiles with GTK3 (although not by default). Compile by setting GTK3 to 1 in the SConstruct 2011-10-18 21:47:41 +00:00
punkrockguy318 654207e860 sdl: no longer use depreciated gtk2 objects and functions 2011-10-18 21:35:37 +00:00
punkrockguy318 2f992d1d0e sdl: fix last commit correctly 2011-10-17 22:11:51 +00:00
punkrockguy318 0aef8cea7d sdl: move the networkIP clensing out of CloseGame() because CloseGame is called in LoadGame() 2011-10-17 22:07:36 +00:00
punkrockguy318 68d9d0b33b sdl: SFid3424049 fix segfault do to nameclash 2011-10-17 15:07:10 +00:00
punkrockguy318 0fa5caf1e6 sdl: fix segfault on "record as" 2011-10-10 19:52:09 +00:00
punkrockguy318 72d063e247 gtk: support mouseclicks (ie: zapper) 2011-10-08 19:00:56 +00:00
punkrockguy318 b5c95f8a82 gtk: string change; there were two "q" menu shortcuts in the File menu 2011-03-30 03:16:12 +00:00
plombo 3dbcd76aa9 gtk: don't show state slot changes on the game screen if they are done using the menu (as opposed to using a hotkey) 2011-03-29 23:52:06 +00:00
plombo eb0c8e6175 gtk: make the 'Change State' menu items (0-9) look normal, and update its selection when the state slot is changed with a hotkey 2011-03-29 23:42:43 +00:00
punkrockguy318 14869a046a gtk: add some padding to network config
gtk: adjustment to last commit
2011-03-29 00:27:19 +00:00
punkrockguy318 0809f5261a gtk: don't have redundant labels on savestate menu 2011-03-29 00:18:47 +00:00
plombo 935946d83d gtk: add accelerators for recording and saving movies (same as hotkeys) 2011-03-28 21:40:46 +00:00
plombo cd3e32450c gtk: make save state slots (0-9) accessible through GUI 2011-03-28 21:29:41 +00:00
plombo 4b5c2b2167 gtk: make all config dialogs be GtkDialogs rather than toplevel windows 2011-03-28 02:58:57 +00:00
plombo 2c9fac5f2f gtk: disable Screenshot hotkey when the GUI is active
Like pause/resume, GTK+ handles screenshots using an accelerator.  The hotkey was also being triggered, so 2 screenshots were taken every time F12 was pressed.
2011-03-23 00:02:58 +00:00
plombo de992b79a0 gtk: don't forget to save the updated config after enabling/disabling the Game Genie 2011-03-22 23:41:12 +00:00
plombo c76d4bf20d gtk: fix some minor issues
Only allow the emulator to handle key events when the main window has the input focus

Don't write anything to stdout when configuring a button using the GTK+ control config dialog.
2011-03-22 23:36:16 +00:00
plombo f3eb06bde3 gtk: make control configuration dialog non-modal
It was the only modal dialog in the entire application.
This also fixes an issue where the emulator would unpause when closing the control config dialog, even if it had been paused manually by the user.
2011-03-22 23:02:45 +00:00
plombo 994ffdead9 gtk: bind About dialog to main window instead of making it a toplevel window, and fix window icon for Credits and License subwindows 2011-03-22 00:43:16 +00:00