New REM client: REM-Client b416359, 64-bit (widget store in the HUD editor - every HUD element switched on or off, an FPS display as the first new widget)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-11-07 00:52:41 +01:00
co-authored by Claude Opus 5.5
parent 3438cba959
commit 35e2b1f2bb
4 changed files with 77 additions and 1 deletions
+19
View File
@@ -0,0 +1,19 @@
<rml>
<head>
<title>FPS</title>
<link type="text/rcss" href="rem.rcss"/>
<style>
/* the FPS display (rem_ui_fps.cpp): a small plate under the REM bar; no click target but its grip in the editor */
body.fps { position: absolute; left: 16dp; top: 64dp; width: 160dp; height: 30dp; background-color: transparent; pointer-events: none; }
.plate { display: flex; flex-direction: row; align-items: center; height: 30dp; padding: 0 10dp; decorator: ninepatch(fw, fw-i); font-family: "IBM Plex Mono"; font-size: 14dp; color: #dbe6f0; }
.plate .v { color: #f2b13c; }
.plate .k { font-family: "Saira SemiCondensed"; font-weight: 600; font-size: 11dp; letter-spacing: 1.5dp; color: #8197ad; margin: 0 10dp 0 5dp; }
.edit-grip { display: none; position: absolute; left: 0; top: -26dp; padding: 2dp 8dp; background-color: #f2b13c; color: #05080d; font-family: "Saira SemiCondensed"; font-weight: 600; font-size: 13dp; border-radius: 3dp; white-space: nowrap; drag: drag; cursor: move; pointer-events: auto; z-index: 10; }
.hud-editing .edit-grip { display: block; }
</style>
</head>
<body class="fps movable" data-model="fps">
<div class="win-head edit-grip">FPS &#10021;</div>
<div class="plate"><span class="v">{{ fps }}</span><span class="k">FPS</span><span>{{ ms }} ms</span></div>
</body>
</rml>