Commit Graph
43 Commits
Author SHA1 Message Date
scemino 8afb2c1f62 BACKENDS: Add SDL3 backend + update imgui 2025-02-18 22:13:56 +01:00
Donovan Watteau 3d5cb9fa58 BACKENDS: IMGUI: Fix '#elif with no expression' error with GCC
Fixed in current upstream code.
2024-12-14 03:48:55 +01:00
Orgad Shaneh a83b489ef0 IMGUI: Fix some GCC const-related warnings
imgui_draw.cpp:3730: warning: cast from type 'const ImFontGlyph*' to type 'void*' casts away qualifiers [-Wcast-qual]
imgui_draw.cpp: In member function 'void ImFont::SetGlyphVisible(ImWchar, bool)':
imgui_draw.cpp:3730:44: warning: cast from type 'const ImFontGlyph*' to type 'void*' casts away qualifiers [-Wcast-qual]
 3730 |     if (ImFontGlyph* glyph = (ImFontGlyph*)(void*)FindGlyph((ImWchar)c))
      |                                            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
2024-11-17 00:18:02 +02:00
D G Turner 4a4431f488 IMGUI: Disable Obselete ImGui APIs and Migrate Engine Code To Newer
This is a fairly trivial change to use the newer API in DIRECTOR,
QDENGINE and TWP engines, so not likely to cause any regressions.

This has the side effect of removing some GCC compiler warnings.
2024-11-14 01:27:35 +00:00
D G Turner 3cbd38b96b BACKENDS: IMGUI: Fix Redundant Redeclaration GCC Compiler Warning 2024-10-12 22:40:23 +01:00
Martin Gerhardy a3adb2933c BACKENDS: moved imgui_logger code from directory engine into backends code 2024-10-11 09:06:43 +02:00
Martin Gerhardy 610384ed36 DIRECTORY: prepare to split the imgui logger from directory engine
other engines could use the same code, too and thus we will move this into the backend module
2024-10-11 09:01:11 +02:00
Martin Gerhardy 059f0ca1d2 BACKENDS: added imgui window for showing a Graphics::Palette instance 2024-10-10 11:31:39 +02:00
Eugene Sandulenko c27405ddf2 BACKENDS: IMGUI: Disable non-portable shell funcitons 2024-10-08 19:40:31 +02:00
Martin Gerhardy c50a0d7694 BACKENDS: added imgui header with helper functions 2024-10-07 20:01:37 +02:00
Eugene Sandulenko cff87d8c2e BACKENDS: IMGUI: Bumped to v1.91.3 docking branch
Commit b4c96355c9b51b54c4deb52e7d7cdfc7bf79bc2f from
https://github.com/ocornut/imgui/tree/docking

This adds global shortcuts and better table handling.

Update process:

1. In ScummVM backends/imgui directory:

  for i in `find .`;do cp -v ../../../../imgui/$i $i;done
  patch <scummvm.patch

2. Compile, test with launching engines using ImGui

3. Regenerate patch, in imgui directory:

  diff -rbu . ../scummvm/scummvm/backends/imgui/|grep -v ^Only >../scummvm/scummvm/backends/imgui/scummvm.patch

4. Commit
2024-10-07 18:36:00 +02:00
Eugene Sandulenko b360465df6 BACKENDS: IMGUI: Updated patch with sdl2 renderer 2024-10-07 18:11:00 +02:00
Le Philousophe 2eebb5db02 BACKENDS: SDL: Add SDL2 Renderer support for ImGui
Some adaptations will be needed for the the engines.
2024-09-29 17:04:03 +02:00
Martin Gerhardy b146a9a9c6 BACKENDS: Added IconsMaterialSymbols.h
This is a header from https://github.com/juliettef/IconFontCppHeaders with all the font code points
and their defines

revision 778a12759ba9100f24a02efce5f2f95da89ea8a1 was taken
2024-09-13 17:34:59 +03:00
Scott Percival 2f6dac578d IMGUI: Fix memory allocator mismatch 2024-07-07 22:11:03 +02:00
scemino 4a1209da9f IMGUI: Use docking branch
This is is imgui commit fee0210592b9cb5b1a778f005ffb1fe76b19ced0
2024-05-24 16:35:55 +02:00
Eugene Sandulenko f5fa7aeb0c IMGUI: Switched to FreeType2 rendering 2024-05-21 21:02:48 +02:00
Eugene Sandulenko d3cd29d0c1 DIRECTOR: DEBUGGER: Render Score window with smaller font 2024-05-21 11:06:49 +02:00
Hubert Maier d394221d8d JANITORIAL: Revert typo recived fix in imstb_truetype.h 2024-05-18 13:52:31 +02:00
Hubert Maier 842664571c JANITORIAL: Revert typo supress fix in imstb_textedit.h 2024-05-18 13:52:31 +02:00
Hubert Maier efc30cac11 JANITORIAL: Revert adding an apostrophe to seeked in imgui_widgets.cpp 2024-05-18 13:52:31 +02:00
Hubert Maier db4a348146 JANITORIAL: Revert typo preceeded fix in imgui_tables.cpp 2024-05-18 13:52:31 +02:00
Hubert Maier 71fc24b2f4 JANITORIAL: Revert typo everytime fix in imgui_internal.h 2024-05-18 13:52:31 +02:00
Hubert Maier 3946bb493e JANITORIAL: Revert typo unecessary, immediatly and fullfill fixes in imgui.cpp 2024-05-18 13:52:31 +02:00
Hubert Maier 777b420dc3 JANITORIAL: Revert typo unecessary fix in imgui.cpp 2024-05-18 13:52:31 +02:00
Hubert Maier 31c40623d1 JANITORIAL: Revert typo incude fix in imgui_impl_opengl3_loader.h 2024-05-18 13:52:31 +02:00
Hubert Maier 8b1b4e16e3 JANITORIAL: Fix incuding typo in imgui_impl_opengl3_loader.h 2024-05-18 13:52:31 +02:00
Hubert Maier 8c9969e7f2 JANITORIAL: Fix recived typo in imstb_truetype.h 2024-05-18 13:52:31 +02:00
Hubert Maier 12a6a77c7b JANITORIAL: Fix supress typo in imstb_textedit.h 2024-05-18 13:52:31 +02:00
Hubert Maier db7c014c02 JANITORIAL: Add apostrophe to seek'ed to distinguish between command and typo in imgui_widgets.cpp 2024-05-18 13:52:31 +02:00
Hubert Maier 85549b2837 JANITORIAL: Fix preceeding typo in imgui_tables.cpp 2024-05-18 13:52:31 +02:00
Hubert Maier 7019bb0987 JANITORIAL: Fix everytime typo in imgui_internal.h 2024-05-18 13:52:31 +02:00
Hubert Maier f6bd0b1214 JANITORIAL: Fix preceeding and prefered typos in imgui.h 2024-05-18 13:52:31 +02:00
Hubert Maier c8a0b71a2d JANITORIAL: Fix unecessary, immediatly and fullfill typos in imgui.cpp 2024-05-18 13:52:31 +02:00
Eugene Sandulenko ee3b7f9c24 BACKENDS: IMGUI: Added patch againstn the upstream for convenience
This will let to sync with usptream with ease.
2024-05-17 22:20:02 +02:00
Eugene Sandulenko 34be774f4b BACKENDS: IMGUI: Bump ImGui to v1.90.6 2024-05-17 22:19:46 +02:00
Eugene Sandulenko 81305fc36e BACKENDS: IMGUI: Fix Amiga build 2024-05-17 12:40:21 +02:00
Eugene Sandulenko 4cd62e3398 BACKENDS: IMGUI: Renamed modified files to minimize diff with upstream 2024-05-17 01:46:45 +02:00
Eugene Sandulenko 9a494e7795 BACKENDS: IMGUI: Undo code formatting changes to minimize diff with the upstream 2024-05-17 01:31:08 +02:00
scemino c3745698e2 BACKENDS: Add the ability to load ScummVM fonts in ImGui 2024-05-03 21:24:08 +02:00
Le Philousophe 1ddc4cb955 BACKENDS: IMGUI: Use ScummVM facilities to get function pointers (#5715) 2024-03-17 22:32:28 +01:00
Le Philousophe c952c63b69 AMIGAOS4: Don't use GLES2 system header
It is not freely available. Rely on loader instead.
2024-03-17 16:05:34 +01:00
scemino 0cba66b204 TWP: Move ImGui to backends 2024-03-07 20:08:26 +01:00