Simon van Bernem
a277453acb
Added saving of user ui scale in the global configuration. Moved userScale into s_config. Prevented "Get started" and "Loading trace..." windows from having their position saved between restarts, because if you change scale and then restart, they might get pushed to the edge of the window, which is confusing.
2025-04-27 21:33:08 +02:00
imkunet
0cac843ad7
Add scroll modifier options
2024-11-14 18:10:14 +01:00
Bartosz Taudul
3dc68bcb76
Update ImGui to 1.91.4-docking.
2024-10-18 22:58:04 +02:00
Bartosz Taudul
d0a7ee1692
Center elevated privileges warning message.
2024-10-16 00:32:11 +02:00
Bartosz Taudul
60f461d94d
Add debug build note to about window.
2024-10-16 00:28:24 +02:00
Bartosz Taudul
2435a76caa
Don't set dpiScale if not doing anything with it.
2024-09-28 14:01:18 +02:00
Bartosz Taudul
9f682c6015
Do not perform DPI setup when DPI might be not yet known.
...
Reloading fonts is a fairly lenghty operation (~30-50 ms), so avoid doing
it twice in a row.
2024-09-28 13:55:24 +02:00
Bartosz Taudul
04b921e200
Cosmetics.
2024-09-28 13:54:10 +02:00
Bartosz Taudul
00f7beee43
No connections allowed on emscripten.
2024-09-18 19:30:54 +02:00
Bartosz Taudul
20905406da
Don't use obsolete ImGui functionality.
2024-09-18 19:13:26 +02:00
Bartosz Taudul
d46eebf794
Trim address entry field.
...
Sometimes a stray whitespace may be inserted in the address field, for
example when copying and pasting from somewhere else.
2024-09-09 20:41:28 +02:00
Bartosz Taudul
f1bfbb9821
Allow easy retrieval of git ref from the about dialog.
2024-09-08 17:47:46 +02:00
Bartosz Taudul
1950040461
Print git ref in the about dialog.
2024-09-08 14:23:05 +02:00
Bartosz Taudul
64f2008cc1
Disable transparency on collapsed windows title bars.
2024-09-07 18:03:38 +02:00
Pavel Šmejkal
893754638c
Fix achievement mgr crashing on uninitialized data
...
Both the achievement manager and the achievement data were globals in
separate compilation units. Order of initialization is not defined in
that case which sometimes caused the mgr to load uninitialized data and
crash when an achievement should have been achieved but was not found.
2024-07-17 21:57:16 +02:00
Bartosz Taudul
9688152505
Add dynamic colors, force colors, shorten name to global options.
2024-06-30 20:13:11 +02:00
Bartosz Taudul
50f5345ea5
Add a help marker for the target FPS setting.
2024-06-16 12:52:17 +02:00
Bartosz Taudul
959ab53529
Add global settings achievement.
2024-06-16 12:45:11 +02:00
Bartosz Taudul
fc08f09b94
Switch the achievement category to show the selected achievement.
2024-06-08 13:44:23 +02:00
Bartosz Taudul
7dbb3c592f
Fine-tune achievements window size.
2024-06-08 13:20:09 +02:00
Bartosz Taudul
16bc01551e
Mark categories that need attention.
2024-06-08 12:45:19 +02:00
Bartosz Taudul
3f2d28407b
Animate achievements star button when attention is needed.
2024-06-07 23:53:27 +02:00
Bartosz Taudul
6aa9401b95
Add achievement wrapper function to TracyView.
2024-06-07 23:53:26 +02:00
Bartosz Taudul
aff60a6a36
Mark the initial achievement as achieved on startup.
2024-06-07 23:53:26 +02:00
Bartosz Taudul
cddab58b0d
Add achievements processing logic.
2024-06-07 23:53:26 +02:00
Bartosz Taudul
02ad97ff3f
Disable achievements UI on emscripten.
2024-06-07 23:53:25 +02:00
Bartosz Taudul
2e2e6257d7
Show/hide achievements list window.
2024-06-07 23:53:25 +02:00
Bartosz Taudul
bf0226fb64
Update screen only when achievements notification is animating.
...
The NeedsUpdate() method will be useful in future.
2024-06-07 23:53:25 +02:00
Bartosz Taudul
3886111e70
Add achievements notification.
2024-06-07 23:53:25 +02:00
Bartosz Taudul
2cea5706d5
Add initial achievements popup.
2024-06-07 23:53:25 +02:00
Bartosz Taudul
2663ce1a4a
Add warning about memory limit.
2024-05-05 20:33:35 +02:00
Bartosz Taudul
56c52b8d8f
Add memory limit global settings.
2024-05-04 16:53:40 +02:00
Bartosz Taudul
e85457815e
Conditional framerate limiting on Wayland.
2024-03-29 21:56:54 +01:00
Bartosz Taudul
c21170cc01
Add config option for reduced render rate.
2024-03-29 21:54:31 +01:00
Bartosz Taudul
5b2cce0a02
Push IsBusy() callback to Backend.
2024-03-24 17:39:55 +01:00
Bartosz Taudul
9f9cd04761
Add function to determine if the program is busy.
2024-03-24 17:38:45 +01:00
Bartosz Taudul
776b08f2e0
Split core server files from the UI.
2024-03-21 23:04:38 +01:00
Bartosz Taudul
578759384d
Make sure first DPI setup is run.
2024-03-16 01:16:25 +01:00
Bartosz Taudul
8ebe62ed85
Fix welcome window resizes.
2024-03-15 20:25:00 +01:00
Bartosz Taudul
55f9341aec
Scale ImGui windows when DPI changes.
...
Code is directly lifted from ImGui, with certain known caveats.
2024-03-15 20:19:32 +01:00
Bartosz Taudul
18f2631e6e
Remove AUTHORS file.
2024-03-13 19:14:59 +01:00
Bartosz Taudul
c0789c20cb
Add CppCon 2023 video.
2024-03-07 17:49:39 +01:00
Bartosz Taudul
9ccc754143
Fix macos,
2024-03-02 00:30:50 +01:00
Bartosz Taudul
746b6c6246
Don't ignore user scale when DPI scale changes.
2024-03-02 00:21:08 +01:00
Bartosz Taudul
b329eb1fcc
Change way of updating fonts in View.
...
This makes the whole process more easy to follow. It also fixes a crash
bug that was occuring when Wayland output scale changed.
2024-03-01 23:43:53 +01:00
Bartosz Taudul
b6562f1784
Merge pull request #715 from YaLTeR/fix-wayland-scale
...
Fix and update Wayland scale handling
2024-02-24 11:45:35 +01:00
Bartosz Taudul
5461427493
Print error message when opening a trace from command line fails.
2024-02-03 16:25:01 +01:00
Ivan Molodetskikh
16434f116c
Add a way for Backend to signal scale changes
...
On Wayland the scale now changes to the correct value as the Tracy
window is moved across monitors.
If the scale is overridden from environment, it does not change, just
like before.
2024-01-24 12:34:23 +04:00
Bartosz Taudul
b262cb2428
Handle load failure exceptions.
2023-12-31 14:16:06 +01:00
Bartosz Taudul
d64307be91
Move bad version popup out of file selector ifdef check.
2023-12-31 13:54:04 +01:00