Commit Graph

138 Commits

Author SHA1 Message Date
Miran Grča
52e23efb44 Merge branch 'master' into changeable_icon_set 2021-11-18 22:15:53 +01:00
Laci bá
9125169e5b Apply requested changes, along with more indentation fixes 2021-11-17 21:53:26 +01:00
Laci bá
03a7247630 Apply requested changes
- Remove icon functions from plat.h.
- Fix some indentation problems.
- Remove unused parameter from win_stbar.c
- Rename win_lang.c to win_progsett.c
- Remove stub functions from unix.c
- Move win_load_icon_set() to ui_init()
- Replace the translated texts to English, and let the translators translate them
- Fix the control IDs in dialogs.rc.
- Use the requested solution in win_icon.c for setting the array variables.
2021-11-17 19:02:19 +01:00
Laci bá
faa1750c92 Menu reloading fixes for Multilanguage UI 2021-11-17 18:28:00 +01:00
Laci bá
0aa6e9c8a6 Finish the changeable iconset 2021-11-16 19:38:31 +01:00
Laci bá
a16e39bb62 Initial commit for changeable icon set 2021-11-14 19:50:05 +01:00
Laci bá
b4f5ff7ad1 Separate language dialog, and minor language fixes 2021-11-12 22:41:01 +01:00
Laci bá
33de277900 Fixing the main window's icon in the title bar 2021-10-16 18:18:34 +02:00
OBattler
46807540ed Rewritten renderer blitting, fixes flickering when inversion or grayscale is used. 2021-10-06 02:26:30 +02:00
OBattler
a491b3a35c Reverted the meaning of video_fullscreen_first to what it used to be. 2021-09-18 21:33:13 +02:00
OBattler
0f69aa7ff7 Some fixes, fixes PCjr when the emulator is started in full screen, fixes #1702. 2021-09-18 15:24:00 +02:00
OBattler
065b8cc0c3 Using MoveWindow instead of SetWindowPos to move the window now, which actually works. 2021-09-18 00:01:39 +02:00
OBattler
df30b47aa7 And fixed the behavior of that. 2021-09-14 22:20:20 +02:00
OBattler
07eb764df6 Locking a window to a specified size now also makes it remember the position, closes #1683. 2021-09-14 22:17:47 +02:00
OBattler
64aee0481c Removed the non-working keyboard hook, and with it, the NOHOOK make parameter. 2021-08-29 13:59:05 +02:00
Alexander Babikov
709357f668 The sound gain dialog is now accessible from the menu bar in the "Tools" menu 2021-08-05 14:56:25 +05:00
OBattler
43aed39016 Fixed a compile-breaking typo in win/win_ui.c . 2021-07-30 19:37:50 +02:00
OBattler
79f83cc928 Fixed "Hide status bar" check mark, fixes #1569. 2021-07-30 19:17:46 +02:00
OBattler
03068f9ee3 Removed the last leftovers of IDM_CONFIG_LOAD and IDM_CONFIG_SAVE, should fix compile. 2021-07-30 04:45:05 +02:00
OBattler
d1991ac763 Added the ability to hide the status bar, closes #1530. 2021-07-30 04:01:46 +02:00
OBattler
ca6863540c Some fixes. 2021-07-28 03:29:14 +02:00
OBattler
706ad0e896 Changed the way the emulator is shut down, fixes #1555. 2021-07-21 04:05:40 +02:00
OBattler
9adf0fdcc4 Added the ability for keyboard to require capture, in order for 86Box keyboard input to operate like VMWare, closes #829. 2021-07-19 02:27:22 +02:00
OBattler
1e20655813 Fixes window resizing in DPI scaled mode, fixes #1524. 2021-07-18 17:52:22 +02:00
ts-korhonen
7941659ad0 Ignore key events in message pump if they aren't accelerators. Fixes alt-f4 closing sdl renderer window. 2021-06-15 15:26:04 +03:00
ts-korhonen
e4eef4a1b2 Move cpu_override warning dialog after main window is created so that manager gets the correct window handle. 2021-05-11 00:00:34 +03:00
David Hrdlička
0361709ada Add a warning for cpu_override 2021-05-09 02:48:24 +02:00
ts-korhonen
dd65a80b19 Add menu option for filter method to use when scaling video. 2021-05-01 20:49:23 +03:00
OBattler
0a8748bce7 Fixed an uninitialized variable in win/win_ui.c. 2021-04-29 19:33:36 +02:00
ts-korhonen
fcac2d7e78 win_openg: Added menu item to remove active shader. 2021-04-26 09:51:23 +03:00
Alexander Babikov
b4a16437d3 Add a separate build option for the OpenGL renderer 2021-04-26 02:45:20 +05:00
ts-korhonen
2bf6c7aa11 win_opengl: UI for options and add them to config. Reloading changed options at runtime. Improved framerate limitter. 2021-04-23 16:09:45 +03:00
ts-korhonen
3088c6c26f win_opengl: (WIP)UI for options. Add comments to help find conditionals that put opengl in dev_branch. 2021-04-21 23:08:32 +03:00
Miran Grča
027d93196e Merge pull request #1382 from ts-korhonen/opengl
OpenGL renderer a.k.a. shader support
2021-04-18 00:17:53 +02:00
OBattler
3497ed71c2 Some fixes to the UI code. 2021-04-17 22:43:31 +02:00
ts-korhonen
e6bac34b47 win_opengl: restrict to DEV_BRANCH as a separate renderer 2021-04-17 13:45:11 +03:00
OBattler
58a1939dbf Improved the main window size specifying, now has an option to lock the window to the specified size, making it unresizable. 2021-04-12 05:58:59 +02:00
OBattler
b6b5558aa3 Added the ability to size the window to a specific resolution, closes #1362;
Fixed unsolicited mouse captures after a double-click in an open file dialog, fixes #1367.
2021-04-12 03:42:03 +02:00
Teemu Korhonen
6ab499a64e Full screen resize fix (#1359)
* Fixed WM_WINDOWPOSCHANGED not handling window resize when leving full screen mode.

* Fix whitespaces.
2021-04-06 20:38:34 +02:00
OBattler
5dace5e657 Fixed warnings introduced by the UTF-8 conversion. 2021-04-01 00:04:59 +02:00
David Hrdlička
dfbbe08a07 rewrite the emulator to use UTF-8 internally 2021-03-30 09:46:49 +02:00
Sean Ramey
8d9a3f02ea Fix build due to renamed variable.
quited -> is_quit
2021-03-25 03:20:25 -05:00
David Hrdlička
533b7a5f30 win_ui: don't reset remembered window size
fixes #1291
2021-02-26 17:24:05 +01:00
David Hrdlička
014f16731e win_ui: remove redundant resizing code
the resize handler already takes care of resizing the render window and
status bar, so there is no need to do it after each
`ResizeWindowByClientArea` call
2021-02-24 21:04:42 +01:00
David Hrdlička
3bc409876e win_ui: fix status bar with resizable windows 2021-02-24 21:01:31 +01:00
David Hrdlička
220fffc4a2 win_ui: rewrite resizing using WM_WINDOWPOSCHANGED 2021-02-24 21:00:14 +01:00
luisjoseromero
c0e7ac3762 Integrated Chrome tracing
Added support for chrome tracing by integrating the
minitrace library (github.com/hrydgard/minitrace),
and modified it with a background flushing thread that allows
tracing to continue automatically after the predefined
1 million event limit.

Menu items and an accelerator (Ctr+T) have also been
added. Starting and stopping the trace simply replaces
trace.json with the new trace data.

The feature is disabled by default. Pass MINITRACE=y
to the build command to enable it. Some traces are
already added as an example, however they won't have
any effect if the feature is disabled.
2021-02-14 17:27:46 +00:00
OBattler
0c3eeeb591 Fixed window scaling. 2020-12-26 17:02:48 +01:00
luisjoseromero
4b42251b84 Fix blit thread related deadlocks
Removed unnecessary calls to video_wait_for_blit(), which in
addition to not doing much were also in a race with the
video_blit_memtoscreen() thread to wait for and reset the
blit_data.blit_complete event signalled by blit_thread(),
causing several deadlocks.
2020-12-22 00:19:45 +00:00
OBattler
dd125854f1 Fixed warnings when compiling without the keyboard hook. 2020-12-19 00:04:36 +01:00