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:
@@ -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 ✥</div>
|
||||
<div class="plate"><span class="v">{{ fps }}</span><span class="k">FPS</span><span>{{ ms }} ms</span></div>
|
||||
</body>
|
||||
</rml>
|
||||
Reference in New Issue
Block a user