Christoph Oelckers
5fa220219e
Reverted use of tchar.h which should be considered deprecated.
...
GZDoom is Unicode only - as should be the norm for any Windows application - and will not work when compiled as ANSI so there's no good reason to use this wrapper.
2024-08-16 12:41:29 +02:00
Ritchie Swann
0d5e35985d
Fix incorrect return type
2024-08-15 02:43:48 -04:00
Ritchie Swann
d17bde151f
Fix to use the correct definition of DwmDefWindowProc
2024-08-15 02:43:48 -04:00
Ritchie Swann
42c64e438f
fix faux pas
2024-08-15 02:43:48 -04:00
Ritchie Swann
699bef1316
Better solution for DwmDefWindowProc on mingw64
...
On mingw, create our own thunk for DwmDefWindowProc. It should exist in libdwmapi.a (and exists in MSVC), but doesn't.
2024-08-15 02:43:48 -04:00
Ritchie Swann
67d573cd41
Use TCHAR for Windows
2024-08-15 02:43:46 -04:00
Ritchie Swann
e3795c762a
Fix preprocessor symbol for Windows
2024-08-15 02:43:46 -04:00
Rachael Alexanderson
4625d4ac34
- mirror changes with ZWidget, remove SDL_Wait failure message
2024-04-28 04:07:21 -04:00
Rachael Alexanderson
d9f03863bf
- make gcc14 happy
2024-04-25 02:37:51 -04:00
Rachael Alexanderson
eba9036164
- shorten sdl_waitevent error message
2024-04-24 07:17:09 -04:00
Rachael Alexanderson
83d751af72
- demote SDL_Wait errors to console printouts
2024-04-24 06:56:49 -04:00
Christoph Oelckers
4aee4fd187
optimized last commit to not retrieve the function repeatedly if it has already failed.
2024-04-21 14:30:26 +02:00
Rachael Alexanderson
744e67e02b
- dynamically import GetDpiForWindow from USER32.dll, else return a default value
2024-04-21 14:25:48 +02:00
Christoph Oelckers
1fe6556e6e
ZWidgets: disabled SetClientFrame.
...
On Win32 this function is unused, but it contains two API calls that only exist in Windows 10 or later.
2024-04-21 12:13:03 +02:00
Magnus Norddahl
989123b5f8
Fix null pointer crash
2024-02-01 20:48:33 -05:00
Magnus Norddahl
63f1326e62
Add support for changing the tab labels
2024-01-11 16:52:12 +01:00
Christoph Oelckers
53c6002746
attempt to fix compilation on macOS
2024-01-11 16:41:21 +01:00
Magnus Norddahl
8cc531e283
Implement mouse event propagation
2024-01-10 23:23:13 +01:00
Magnus Norddahl
a0f52411d3
Add tabs to the launcher window
2024-01-10 17:09:50 +01:00
Magnus Norddahl
762ce6f14c
Add a tab widget
2024-01-10 17:08:50 +01:00
Christoph Oelckers
c7778b9332
implemented language selection on the IWAD picker.
2024-01-09 20:52:52 +01:00
Magnus Norddahl
48c18e1730
Remove schrift from zwidget
2024-01-09 16:50:03 +01:00
Christoph Oelckers
0838433d1f
make adjustments to the font substitution and load Japanese and Korean fonts from the Windows font folder.
2024-01-09 16:37:17 +01:00
Christoph Oelckers
a016bf1ef2
cleaner constructor interface.
2024-01-09 16:37:17 +01:00
Magnus Norddahl
10ce3abb77
Add support for getting TTC font names and sharing the font file data between multiple TrueTypeFont instances
2024-01-09 16:37:17 +01:00
Magnus Norddahl
96b812e880
Add support for opening TTC fonts
2024-01-09 16:37:17 +01:00
Christoph Oelckers
9dd6460fe6
removed libschrift.
2024-01-08 17:29:12 +01:00
Christoph Oelckers
216f477b90
make things compile again with the font substitution wrapper.
2024-01-08 17:26:43 +01:00
Magnus Norddahl
0f9d3b4a66
Fix mouse wheel scroll bug
2024-01-08 17:25:23 +01:00
dpjudas
ba274757be
Fix the LSB alignment and switch to the internal TTF implementation
2024-01-08 16:58:58 +01:00
Magnus Norddahl
ccdbc8450a
Fix contour decoding bug
2024-01-08 16:58:58 +01:00
Magnus Norddahl
edb1e3cb83
Add composite glyph support
2024-01-08 16:58:58 +01:00
Magnus Norddahl
e3d3ba2c86
Sync zwidget upstream changes
2024-01-08 16:58:58 +01:00
Magnus Norddahl
cbb89315e7
Add internal truetype font class
2024-01-08 16:58:58 +01:00
Christoph Oelckers
f13ae3b706
addressed a few things pointed out by static analysis
...
* marking move assignments noexcept
* using [[fallthrough]] consistently.
* getting rid of alloca.
2024-01-07 08:46:47 +01:00
Christoph Oelckers
83aa9388ca
backend update from Raze
...
* moving large allocations off the stack
* use proper printf formatters for size_t and ptrdiff_t.
* adding some missing 'noexcept'.
2024-01-06 15:24:10 +01:00
Christoph Oelckers
173407bf48
seems more headers were missing.
2024-01-05 17:30:13 +01:00
Christoph Oelckers
48a99c0ce7
add missing header
2024-01-05 17:22:37 +01:00
Magnus Norddahl
8ad15de138
Remember last selected item
2024-01-05 16:43:56 +01:00
Magnus Norddahl
ab07343985
Add path rasterizer
2024-01-05 16:43:55 +01:00
Christoph Oelckers
a2a7667442
added render backend selection to the new IWAD picker.
...
Unlike VkDoom we still need this.
2024-01-04 19:25:25 +01:00
Magnus Norddahl
99fc43932b
Add the additional parameters edit control from the mac version
2024-01-03 16:50:57 +01:00
Magnus Norddahl
9381813eb5
Implement mouse capture and cursor
2024-01-03 16:50:57 +01:00
Magnus Norddahl
9745942130
Add a scrollbar to the list view
2024-01-03 16:50:57 +01:00
Christoph Oelckers
fd8d62f006
increase size of the font and brightness of the unchecked checkbox on the new picker.
2024-01-02 21:30:00 +01:00
Magnus Norddahl
532bef8243
Fix double clicks
2024-01-02 20:10:36 +01:00
Christoph Oelckers
f5c4964902
use a more complete font did some primitive font substitution logic.
...
NotoSans was chosen because it contains all Latin, Cyrillic and Greek characters in one file.
To test the substitution the separate font files for Armenian and Georgian were also added, even though the languages have not been translated.
2024-01-02 18:58:39 +01:00
Magnus Norddahl
779382a9ff
Fix compile error on macOS
2024-01-02 16:56:19 +01:00
Magnus Norddahl
74b45b7cba
Fix compile error
2024-01-02 16:56:19 +01:00
Magnus Norddahl
2863c89af7
Hook up the zwidget launcher window on Linux
2024-01-02 16:56:19 +01:00